Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Novalite Rifle by @mrscratch #1618

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
25420fe
Novalite Part 1, YML and Sprites
mrscratch Apr 23, 2024
0ce984b
novalite part 2, yml warrior recommended tag placement
mrscratch Apr 23, 2024
119eaa6
forgot featureless grip aka sharkfin
mrscratch Apr 23, 2024
1161276
Removed files from base SS14 and relocated into NewFrontier folder
mrscratch Apr 23, 2024
11aa69d
Updated player equipped weapon sprites
mrscratch Apr 25, 2024
0511029
tags appears to be missing hoverbikekeys, hopefully this fixes
mrscratch Apr 26, 2024
14df63a
Merge branch 'master' into Novalite_v2_fixed
mrscratch Apr 26, 2024
ba86aa0
Renamed Magazine to more accurate match what it is
mrscratch Apr 28, 2024
2ccb160
Merge branch 'Novalite_v2_fixed' of https://github.com/mrscratch/fron…
mrscratch Apr 28, 2024
8c84613
Merge branch 'master' into Novalite_v2_fixed
mrscratch Apr 30, 2024
0dfc32d
Merge branch 'master' into Novalite_v2_fixed
ErhardSteinhauer Jun 15, 2024
abf0350
initial commit
ErhardSteinhauer Jul 6, 2024
58395e5
updates, clean up and exped loot integration
ErhardSteinhauer Jul 6, 2024
4c0ab58
magazine-clip
ErhardSteinhauer Jul 6, 2024
0375894
fire rate
ErhardSteinhauer Jul 6, 2024
365960f
actually 4 is fine
ErhardSteinhauer Jul 6, 2024
555b692
Merge branch 'new-frontiers-14:master' into mrscratch-Novalite_v2_fixed
ErhardSteinhauer Jul 7, 2024
3f24f52
Merge branch 'master' into mrscratch-Novalite_v2_fixed
ErhardSteinhauer Jul 11, 2024
d44dd39
replaced mosin merc with novalite merc
ErhardSteinhauer Jul 11, 2024
25ae9a6
fix
ErhardSteinhauer Jul 11, 2024
fbb3de7
very fixed now
ErhardSteinhauer Jul 11, 2024
2e20f23
Merge branch 'master' into mrscratch-Novalite_v2_fixed
dvir001 Jul 13, 2024
a277f59
End me
dvir001 Jul 13, 2024
79a4b73
Update battery_guns.yml
dvir001 Jul 13, 2024
1d69241
Update security_uplink_catalog.yml
dvir001 Jul 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading