Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Novalite Rifle by @mrscratch (new-frontiers-14#1618)
Browse files Browse the repository at this point in the history
* Novalite Part 1, YML and Sprites

* novalite part 2, yml warrior recommended tag placement

* forgot featureless grip aka sharkfin

* Removed files from base SS14 and relocated into NewFrontier folder

* Updated player equipped weapon sprites

* tags appears to be missing hoverbikekeys, hopefully this fixes

* Renamed Magazine to more accurate match what it is

* updates, clean up and exped loot integration

* magazine-clip

* fire rate

* actually 4 is fine

* replaced mosin merc with novalite merc

* fix

* very fixed now

* End me

* Update battery_guns.yml

* Update security_uplink_catalog.yml

---------

Co-authored-by: Scratchie <[email protected]>
Co-authored-by: Dvir <[email protected]>
Co-authored-by: Dvir <[email protected]>
  • Loading branch information
4 people authored Jul 13, 2024
1 parent 827e7fa commit ebb8e9d
Show file tree
Hide file tree
Showing 84 changed files with 319 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
startingInventory:
SurvivalKnife: 10
WeaponLaserPistolNF: 10 # Frontier
WeaponSniperMosin: 10
WeaponSniperRepeater: 10
# WeaponSniperMosin: 10
WeaponRifleGestio: 10
# WeaponSniperRepeater: 10
WeaponRifleNovaliteC1: 5
MagazineBoxLightRifle: 10
MagazineBoxLightRiflePractice: 10
MagazineBoxLightRifleRubber: 15
Expand All @@ -13,11 +15,11 @@
BoxShotgunSlug: 10
BoxLethalshot: 10
BoxBeanbag: 10
BoxShotgunPractice: 10
MagazineBoxRifle: 10
MagazineBoxRifleRubber: 15
MagazineBoxMagnum: 10
SpeedLoaderRifleHeavy: 10
SpeedLoaderRifleHeavyRubber: 10
SpeedLoaderRifleHeavyEmpty: 10
MagazineNovaliteC1Empty: 10
MagazineRifleLowCapacityEmpty: 10
emaggedInventory:
WeaponPistolViper: 1
2 changes: 1 addition & 1 deletion Resources/Prototypes/Procedural/salvage_factions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
amount: 1
prob: 0.1
- entries:
- id: MobMercenarySoldierMosin
- id: MobMercenarySoldierNovalite
amount: 2
maxAmount: 4
prob: 0.05
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

- type: entity
parent: MercenaryDuffelGiftBox
id: ClothingBackpackDuffelMecranaryTier1Mosin
id: ClothingBackpackDuffelMecranaryTier1Novalite
noSpawn: true
components:
- type: SpawnItemsOnUse
Expand All @@ -110,7 +110,7 @@
- id: SpaceCash500
prob: 0.45
# Weapons
- id: WeaponSniperMosin
- id: WeaponRifleNovaliteC1
prob: 0.9
# Armor
- id: ClothingOuterVestWebMercenary
Expand All @@ -137,14 +137,20 @@

- type: entity
parent: MercenaryWebbingBox
id: ClothingBeltWebbingMecranaryTier1Mosin
id: ClothingBeltWebbingMecranaryTier1Novalite
noSpawn: true
components:
- type: SpawnItemsOnUse
items:
- id: MagazineBoxLightRifle
- id: MagazineBoxRifle
prob: 0.9
- id: MagazineNovaliteC1Empty
prob: 0.9
- id: MagazineNovaliteC1Empty
prob: 0.9
- id: MagazineBoxLightRifleBig
- id: MagazineNovaliteC1
prob: 0.2
- id: MagazineBoxRifleBig
prob: 0.2
sound:
path: /Audio/Items/jumpsuit_equip.ogg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,19 @@
- id: MagazineRifleLowCapacity
amount: 3

- type: entity
parent: WeaponCaseLong
id: WeaponCaseLongWeaponRifleNovaliteC1Expedition
suffix: Dungeon, NovaliteC1
noSpawn: true
components:
- type: StorageFill
contents:
- id: WeaponRifleNovaliteC1Expedition
amount: 1
- id: MagazineNovaliteC1
amount: 2

- type: entity
parent: WeaponCaseLong
id: WeaponCaseLongLecterExpedition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
id: LessLethalVendInventory
startingInventory:
WeaponDisabler: 10
Kardashev-MosinNonlethal: 10
# Kardashev-MosinNonlethal: 10
WeaponRevolverArgentiNonlethal: 10
WeaponShotgunDoubleBarreledRubber: 10
WeaponFlareGun: 20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
name: uplink-security-emitter-name
description: uplink-security-emitter-desc
productEntity: WeaponEmpEmitter
icon: { sprite: _NF/Objects/Weapons/EMP-Gun.rsi, state: icon }
icon: { sprite: _NF/Objects/Weapons/Guns/Projectiles/emp.rsi, state: icon }
cost:
FrontierUplinkCoin: 1
categories:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,21 @@
- sprite: _NF/Objects/Weapons/Gestio-Rifle.rsi
state: wielded-inhand-right

- type: entity
parent: ClothingHandsGlovesColorBlackSMG
id: ClothingHandsGlovesColorMercNovalite
name: combat gloves
suffix: novalite
noSpawn: true
components:
- type: Clothing
clothingVisuals:
gloves:
- sprite: Clothing/Hands/Gloves/mercbattle.rsi
state: equipped-HAND
- sprite: _NF/Objects/Weapons/Guns/Rifles/novalitec1.rsi
state: wielded-inhand-right

- type: entity
parent: ClothingHandsGlovesColorBlackSMG
id: ClothingHandsGlovesColorMercHatchet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
- WeaponCaseShortDeckardExpedition
- WeaponCaseShortPython
- WeaponCaseLongGestioExpedition
- WeaponCaseLongWeaponRifleNovaliteC1Expedition
- WeaponCaseLongKammererExpedition
- WeaponCaseLongEnergyGunExpedition
- WeaponCaseLongRepeaterExpedition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
prototypes:
- MobMercenarySoldierKnife
- MobMercenarySoldierPistol
- MobMercenarySoldierMosin
- MobMercenarySoldierNovalite
chance: 1
offset: 0.0
rarePrototypes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
- type: entity
name: mercenary soldier
parent: MobMercenaryBase
id: MobMercenarySoldierMosin
id: MobMercenarySoldierNovalite # No mosin: novalite rifle now
description: Low-ranking soldiers armed with a variety of surplus weapons.
noSpawn: true
components:
Expand Down Expand Up @@ -179,18 +179,18 @@
color: "#a9b6bd"
shader: unshaded
- type: BasicEntityAmmoProvider
proto: CartridgeLightRifle
proto: CartridgeRifle
capacity: 10
count: 10
- type: Gun
showExamineText: false
fireRate: 0.65
fireRate: 0.85
minAngle: 1
maxAngle: 10
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot: /Audio/Weapons/Guns/Gunshots/sniper.ogg
soundGunshot: /Audio/Weapons/Guns/Gunshots/ltrifle.ogg

## Tier 2
- type: entity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
proto: CartridgeLightRifle
capacity: 10
- type: Sprite
sprite: _NF/Objects/Weapons/Ammunition/svt40.rsi
sprite: _NF/Objects/Weapons/Guns/Ammunition/Magazine/Rifle/svt40.rsi

- type: entity
id: 10roundmagazineempty
Expand All @@ -49,19 +49,19 @@
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

# type: entity to be added back when Rubber rounds are added.
# id: 10roundmagazineRubber
#name: "10 round magazine(.30 rifle rubber)"
#parent: 10roundmagazine
#components:
# type: BallisticAmmoProvider
# proto: CartridgeLightRifleRubber
#type: Sprite
#layers:
# state: rubber
#map: ["enum.GunVisualLayers.Base"]
#state: mag-1
#map: ["enum.GunVisualLayers.Mag"]
- type: entity
id: 10roundmagazineRubber
name: "10 round magazine(.30 rifle rubber)"
parent: 10roundmagazine
components:
- type: BallisticAmmoProvider
proto: CartridgeLightRifleRubber
- type: Sprite
layers:
- state: rubber
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

- type: entity
id: 10roundmagazinePractice
Expand All @@ -85,4 +85,4 @@
- type: BallisticAmmoProvider
proto: CartridgeLightRifleIncendiary
- type: Sprite
sprite: _NF/Objects/Weapons/Ammunition/svt40.rsi
sprite: _NF/Objects/Weapons/Guns/Ammunition/Magazine/Rifle/svt40.rsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Empty mags
- type: entity
parent: BaseMagazineRifle
id: MagazineNovaliteC1Empty
name: "clip (.20 rifle any)"
suffix: empty
components:
- type: Tag
tags:
- MagazineNovaliteC1
- type: Item
size: Small
- type: BallisticAmmoProvider
mayTransfer: true
whitelist:
tags:
- CartridgeRifle
capacity: 15
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Ammunition/Magazine/Rifle/novalite_clip.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: MagazineVisuals
magState: mag
steps: 16
zeroVisible: false
- type: Appearance

- type: entity
parent: MagazineNovaliteC1Empty
id: MagazineNovaliteC1
name: "clip (.20 rifle)"
suffix: full
components:
- type: BallisticAmmoProvider
proto: CartridgeRifle
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
- type: entity
id: MagazineRifleLowCapacityEmpty
name: "low cap magazine (.20 rifle any)"
suffix: empty
parent: MagazineRifle
components:
- type: BallisticAmmoProvider
proto: null
capacity: 15
- type: Item
size: Tiny
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Ammunition/Magazine/Rifle/rifle_cap_mag.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]

- type: entity
id: MagazineRifleLowCapacity
name: "magazine Low-Cap (.20 rifle)"
name: "low cap magazine (.20 rifle)"
parent: BaseMagazineRifle
components:
- type: BallisticAmmoProvider
Expand All @@ -9,7 +26,7 @@
- type: Item
size: Tiny
- type: Sprite
sprite: _NF/Objects/Weapons/Low-Cap-Rifle-Magazine.rsi
sprite: _NF/Objects/Weapons/Guns/Ammunition/Magazine/Rifle/rifle_cap_mag.rsi
layers:
- state: red
map: ["enum.GunVisualLayers.Base"]
Expand All @@ -18,7 +35,7 @@

- type: entity
id: MagazineRifleLowCapacityPractice
name: "magazine Low-Cap (.20 rifle practice)"
name: "low cap magazine (.20 rifle practice)"
parent: MagazineRifleLowCapacity
components:
- type: BallisticAmmoProvider
Expand All @@ -35,7 +52,7 @@

- type: entity
id: MagazineRifleLowCapacityRubber
name: "magazine Low-Cap (.20 rifle rubber)"
name: "low cap magazine (.20 rifle rubber)"
parent: MagazineRifleLowCapacity
components:
- type: BallisticAmmoProvider
Expand All @@ -52,7 +69,7 @@

- type: entity
id: MagazineRifleLowCapacityUranium
name: "magazine Low-Cap (.20 rifle uranium)"
name: "low cap magazine (.20 rifle uranium)"
parent: MagazineRifleLowCapacity
components:
- type: BallisticAmmoProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
components:
- type: BallisticAmmoProvider
proto: null
- type: Icon
sprite: _NF/Objects/Weapons/Guns/Ammunition/SpeedLoaders/HeavyRifle/argenti_speed_loader.rsi
state: base
- type: Sprite
sprite: _NF/Objects/Weapons/Guns/Ammunition/SpeedLoaders/HeavyRifle/argenti_speed_loader.rsi
layers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
description: Releases electromagnetic pulses that disrupt or damage many electronic devices or drain power cells, has a slow self charging nuclear powered battery.
components:
- type: Sprite
sprite: _NF/Objects/Weapons/EMP-Gun.rsi
sprite: _NF/Objects/Weapons/Guns/Projectiles/emp.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-0
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: _NF/Objects/Weapons/EMP-Gun.rsi
sprite: _NF/Objects/Weapons/Guns/Projectiles/emp.rsi
- type: Gun
fireRate: 1
selectedMode: SemiAuto
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
description: An old prototype burst-fire NanoTrasen marksman rifle. Manufactured by Silver Industries. It hasn't ever left the trials. Given it's antiquity it is considered a civilian grade weapon. Uses .20 rifle ammo.
components:
- type: Sprite
sprite: _NF/Objects/Weapons/Gestio-Rifle.rsi
sprite: _NF/Objects/Weapons/Guns/Rifles/gestio.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: _NF/Objects/Weapons/Gestio-Rifle.rsi
sprite: _NF/Objects/Weapons/Guns/Rifles/gestio.rsi
- type: Gun
fireRate: 3.75
projectileSpeed: 30
Expand All @@ -25,6 +25,8 @@
- Burst
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/rifle3.ogg
params:
volume: -5
- type: Wieldable
- type: GunWieldBonus
minAngle: -2
Expand Down
Loading

0 comments on commit ebb8e9d

Please sign in to comment.