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

Gestio burst-fire 20 rifle #1277

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a057022
Added Gestio burst fire .20 rifle YAML
Qulibly Apr 17, 2024
17931e9
Gestio burst-fire rifle sprite fixup and balance tweaks
Qulibly Apr 25, 2024
79cf198
Gestio burst-fire rifle added to expeditions as potential reward
Qulibly Apr 26, 2024
4f3ba62
Merge branch 'new-frontiers-14:master' into gestio-burst-fire-20-rifle
Qulibly Apr 26, 2024
0d1473c
Gestio burst-fire rifle sound tweaks
Qulibly Apr 26, 2024
f112085
Gestio burst-fire rifle magazine sprite tweaks
Qulibly Apr 26, 2024
c7d4906
Gestio burst-fire rifle sprite tweaks
Qulibly Apr 26, 2024
4c6d4c0
Gestio burst-fire rifle file fixup
Qulibly Apr 26, 2024
c57ea82
Merge branch 'master' into gestio-burst-fire-20-rifle
Qulibly Apr 30, 2024
d7844a9
Added gestio to long case for expeditions yaml
Qulibly Apr 30, 2024
5a01a7f
Added Gestio to expedition reward pool yaml
Qulibly Apr 30, 2024
7e2b110
Added Gestio unregistered counterpart for future unregistered system
Qulibly Apr 30, 2024
14c2d5d
Merge branch 'new-frontiers-14:master' into gestio-burst-fire-20-rifle
Qulibly Jun 7, 2024
7a2411e
Gestio Burst Fire wielding fix
Jun 9, 2024
8696456
resolving conflicts, edits to expedition related aspects
ErhardSteinhauer Jun 15, 2024
eb79067
more conflicts fixing
ErhardSteinhauer Jun 15, 2024
9b33866
Merge branch 'master' into gestio-burst-fire-20-rifle
ErhardSteinhauer Jun 15, 2024
bf7a362
folder structure clean up
ErhardSteinhauer Jun 15, 2024
d078966
Merge branch 'master' into gestio-burst-fire-20-rifle
ErhardSteinhauer Jun 19, 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
7 changes: 6 additions & 1 deletion Resources/Audio/Weapons/Guns/Gunshots/attributions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@
- files: ["ship_duster.ogg", "ship_friendship.ogg", "ship_svalinn.ogg", "ship_perforator.ogg"]
license: "CC0-1.0"
copyright: "Created by MIXnikita for Space Station 14"
source: "https://github.com/MIXnikita"
source: "https://github.com/MIXnikita"

- files: ["rifle3.ogg"]
license: "CC-BY-3.0"
copyright: "Created by Michel Baradari apollo-music.de"
source: "https://opengameart.org/content/chaingun-pistol-rifle-shotgun-shots"
Binary file added Resources/Audio/Weapons/Guns/Gunshots/rifle3.ogg
Binary file not shown.
33 changes: 33 additions & 0 deletions Resources/Prototypes/_NF/Catalog/Fills/Crates/armory.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
# Registered (legal) weapon crates
- type: entity
id: CrateArmoryRifleGestio
parent: CrateWeaponSecure
name: gestio rifle crate
description: Contains two old prototype, burst-fire rifles with six low capacity mags. Requires Armory access to open.
components:
- type: StorageFill
contents:
- id: WeaponRifleGestio
amount: 2
- id: MagazineRifleLowCapacity
amount: 6

# Contraband (unregistered) weaponry crates for expeditions
- type: entity
id: CrateArmorySMGExpedition
parent: [ CrateWeaponSecure, UnregisteredFirearmBase ]
name: SMG crate
description: Contains two high-powered, SMGs with four mags. Requires Armory access to open. Unregistered.
noSpawn: true
components:
- type: StorageFill
contents:
Expand All @@ -17,6 +32,7 @@
parent: [ CrateWeaponSecure, UnregisteredFirearmBase ]
name: shotgun crate
description: For when the enemy absolutely needs to be replaced with lead. Contains two Enforcer Combat Shotguns, and some standard shotgun shells. Requires Armory access to open. Unregistered.
noSpawn: true
components:
- type: StorageFill
contents:
Expand All @@ -30,6 +46,7 @@
parent: [ CrateWeaponSecure, UnregisteredFirearmBase ]
name: lasers crate
description: Contains three standard-issue laser carbines. Requires Armory access to open. Unregistered.
noSpawn: true
components:
- type: StorageFill
contents:
Expand All @@ -41,6 +58,7 @@
parent: [ CrateWeaponSecure, UnregisteredFirearmBase ]
name: energy guns crate
description: Contains three energy guns. Requires Armory access to open. Unregistered.
noSpawn: true
components:
- type: StorageFill
contents:
Expand All @@ -52,10 +70,25 @@
parent: [ CrateWeaponSecure, UnregisteredFirearmBase ]
name: pistols crate
description: Contains two standard NT pistols with four mags. Requires Armory access to open. Unregistered.
noSpawn: true
components:
- type: StorageFill
contents:
- id: WeaponPistolMk58Expedition
amount: 2
- id: MagazinePistol
amount: 4

- type: entity
id: CrateArmoryRifleGestioExpedition
parent: [ CrateWeaponSecure, UnregisteredFirearmBase ]
name: gestio rifle crate
description: Contains two old prototype, burst-fire rifles with six low capacity mags. Requires Armory access to open. Unregistered.
noSpawn: true
components:
- type: StorageFill
contents:
- id: WeaponRifleGestioExpedition
amount: 2
- id: MagazineRifleLowCapacity
amount: 6
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,19 @@
amount: 2

# Rifles
- type: entity
parent: WeaponCaseLong
id: WeaponCaseLongGestioExpedition
suffix: Dungeon, Gestio
noSpawn: true
components:
- type: StorageFill
contents:
- id: WeaponRifleGestio
amount: 1
- id: MagazineRifleLowCapacity
amount: 3

- type: entity
parent: WeaponCaseLong
id: WeaponCaseLongLecterExpedition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@
prototypes:
- CrateArmoryShotgunExpedition
- CrateArmoryPistolsExpedition
- CrateArmoryRifleGestioExpedition
chance: 0.55
offset: 0.0
rarePrototypes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@
- WeaponCaseShortCobra
- WeaponCaseShortDeckardExpedition
- WeaponCaseShortPython
- WeaponCaseLongGestioExpedition
- WeaponCaseLongKammererExpedition
- WeaponCaseLongEnergyGunExpedition
- WeaponCaseLongRepeaterExpedition
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
- type: entity
id: MagazineRifleLowCapacity
name: "magazine Low-Cap (.20 rifle)"
parent: BaseMagazineRifle
components:
- type: BallisticAmmoProvider
proto: CartridgeRifle
capacity: 15
- type: Item
size: Tiny
- type: Sprite
sprite: _NF/Objects/Weapons/Low-Cap-Rifle-Magazine.rsi
layers:
- state: red
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

- type: entity
id: MagazineRifleLowCapacityPractice
name: "magazine Low-Cap (.20 rifle practice)"
parent: MagazineRifleLowCapacity
components:
- type: BallisticAmmoProvider
proto: CartridgeRiflePractice
capacity: 15
- type: Item
size: Tiny
- type: Sprite
layers:
- state: practice
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

- type: entity
id: MagazineRifleLowCapacityRubber
name: "magazine Low-Cap (.20 rifle rubber)"
parent: MagazineRifleLowCapacity
components:
- type: BallisticAmmoProvider
proto: CartridgeRifleRubber
capacity: 15
- type: Item
size: Tiny
- type: Sprite
layers:
- state: rubber
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]

- type: entity
id: MagazineRifleLowCapacityUranium
name: "magazine Low-Cap (.20 rifle uranium)"
parent: MagazineRifleLowCapacity
components:
- type: BallisticAmmoProvider
proto: CartridgeRifleUranium
capacity: 15
- type: Item
size: Tiny
- type: Sprite
layers:
- state: uranium
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
- type: entity
name: Gestio
parent: BaseWeaponRifle
id: WeaponRifleGestio
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
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: _NF/Objects/Weapons/Gestio-Rifle.rsi
- type: Gun
fireRate: 3.75
projectileSpeed: 30
angleDecay: 4 #in testing 3 was more balanced
angleIncrease: 6
minAngle: 2 #generally meant to be 0 when used properly
maxAngle: 30 #generally meant to be 20 when used properly
selectedMode: Burst
availableModes:
- Burst
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/rifle3.ogg
- type: Wieldable
- type: GunWieldBonus
minAngle: -2
maxAngle: -10
angleDecay: 4 #in testing 3 was more balanced
angleIncrease: -3
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineRifleLowCapacity
insertSound: /Audio/Weapons/Guns/MagIn/ltrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/ltrifle_magout.ogg
priority: 2
whitelist:
tags:
- MagazineRifle
gun_chamber:
name: Chamber
startingItem: CartridgeRifle
priority: 1
whitelist:
tags:
- CartridgeRifle
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance

- type: entity
name: Gestio
parent: WeaponRifleGestio
id: WeaponRifleGestioRubber
suffix: Non-lethal
components:
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineRifleLowCapacityRubber
insertSound: /Audio/Weapons/Guns/MagIn/ltrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/ltrifle_magout.ogg
priority: 2
whitelist:
tags:
- MagazineRifle
gun_chamber:
name: Chamber
startingItem: CartridgeRifleRubber
priority: 1
whitelist:
tags:
- CartridgeRifle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@
noSpawn: true
id: WeaponShotgunKammererExpedition

# Rifles
- type: entity
parent: [ WeaponRifleGestio, UnregisteredFirearmBase ]
noSpawn: true
id: WeaponRifleGestioExpedition

# SMGs
- type: entity
parent: [ WeaponSubMachineGunWt550, UnregisteredFirearmBase ]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions Resources/Textures/_NF/Objects/Weapons/Gestio-Rifle.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Data_Redacted)",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "mag-0"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "wielded-inhand-left",
"directions": 4
},
{
"name": "wielded-inhand-right",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
},
{
"name": "equipped-SUITSTORAGE",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Data_Redacted",
"states": [
{
"name": "base"
},
{
"name": "practice"
},
{
"name": "red"
},
{
"name": "rubber"
},
{
"name": "uranium"
},
{
"name": "mag-1"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading