Skip to content

Commit

Permalink
gun prototype changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vanx committed Aug 28, 2024
1 parent 4121e60 commit 68276b9
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 2 deletions.
11 changes: 11 additions & 0 deletions Resources/Prototypes/Entities/Objects/Weapons/Guns/Basic/pka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,16 @@
- state: animation-icon
visible: false
map: [ "empty-icon" ]
- type: MeleeWeapon
attackRate: 0.7
damage:
types:
Blunt: 7
soundHit:
collection: GenericHit
- type: IncreaseDamageOnWield
damage:
types:
Blunt: 3
# todo: add itemcomponent with inhandVisuals states using unused texture and animation assets in kinetic_accelerator.rsi
# todo: add clothingcomponent with clothingVisuals states using unused texture and animations assets in kinetic_accelerator.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
- type: Appearance
- type: StaticPrice
price: 500
- type: MeleeWeapon
attackRate: 0.7
damage:
types:
Blunt: 10
soundHit:
collection: GenericHit

- type: entity
id: BaseWeaponPowerCell
Expand Down Expand Up @@ -68,6 +75,13 @@
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
- type: MeleeWeapon
attackRate: 0.7
damage:
types:
Blunt: 10
soundHit:
collection: GenericHit

- type: entity
id: BaseWeaponBatterySmall
Expand All @@ -88,6 +102,11 @@
slots:
- Belt
- suitStorage
- type: MeleeWeapon
attackRate: 1
damage:
types:
Blunt: 7

- type: entity
id: BaseWeaponPowerCellSmall
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@
price: 500
- type: UseDelay
delay: 1
- type: MeleeWeapon
attackRate: 0.5
damage:
types:
Blunt: 8
soundHit:
collection: GenericHit

- type: entity
name: L6 SAW
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@
- type: Appearance
- type: StaticPrice
price: 500
- type: MeleeWeapon
damage:
types:
Blunt: 7
soundHit:
collection: GenericHit

- type: entity
name: viper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@
path: /Audio/Weapons/Guns/MagIn/revolver_magin.ogg
- type: StaticPrice
price: 500
- type: MeleeWeapon
damage:
types:
Blunt: 7
soundHit:
collection: GenericHit

- type: entity
name: Deckard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
gun_chamber: !type:ContainerSlot
- type: StaticPrice
price: 500
- type: MeleeWeapon
attackRate: 0.7
damage:
types:
Blunt: 10
soundHit:
collection: GenericHit

- type: entity
name: AKMS
Expand Down Expand Up @@ -98,6 +105,10 @@
steps: 1
zeroVisible: true
- type: Appearance
- type: MeleeWeapon
damage:
types:
Blunt: 10

- type: entity
name: M-90gl
Expand Down
11 changes: 9 additions & 2 deletions Resources/Prototypes/Entities/Objects/Weapons/Guns/SMGs/smgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
maxAngle: 16
fireRate: 8
angleIncrease: 3
angleDecay: 16
angleDecay: 16
selectedMode: FullAuto
availableModes:
- SemiAuto
Expand Down Expand Up @@ -54,6 +54,13 @@
gun_chamber: !type:ContainerSlot
- type: StaticPrice
price: 500
- type: MeleeWeapon
attackRate: 0.8
damage:
types:
Blunt: 8
soundHit:
collection: GenericHit

- type: entity
name: Atreides
Expand Down Expand Up @@ -234,7 +241,7 @@
minAngle: 1
maxAngle: 6
angleIncrease: 1.5
angleDecay: 6
angleDecay: 6
selectedMode: FullAuto
shotsPerBurst: 5
availableModes:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
ents: []
- type: StaticPrice
price: 500
- type: MeleeWeapon
attackRate: 0.7
damage:
types:
Blunt: 10
soundHit:
collection: GenericHit

- type: entity
name: Bulldog
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
ents: []
- type: StaticPrice
price: 500
- type: MeleeWeapon
attackRate: 0.5
damage:
types:
Blunt: 8
soundHit:
collection: GenericHit

- type: entity
name: Kardashev-Mosin
Expand All @@ -54,6 +61,14 @@
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/sniper.ogg
fireOnDropChance: 1
- type: MeleeWeapon
range: 1.4 # AFFIX BAYONETS!
damage:
types:
Piercing: 10
Slash: 5
soundHit:
path: /Audio/Weapons/bladeslice.ogg

- type: entity
name: Hristov
Expand Down

0 comments on commit 68276b9

Please sign in to comment.