Skip to content

Commit

Permalink
riot kit and something (#508)
Browse files Browse the repository at this point in the history
* summery

* fix dominator

* Update guns64.yml
  • Loading branch information
nomad0260 authored Mar 9, 2024
1 parent 587b93e commit 2606a69
Show file tree
Hide file tree
Showing 22 changed files with 289 additions and 20 deletions.
10 changes: 0 additions & 10 deletions Resources/Prototypes/Backmen/Adminbuse/centcomm_officers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,6 @@
- type: Stunbaton
energyPerUse: 10

- type: entity
name: станнер спецсил
parent: WeaponDisabler
id: WeaponDisablerSuper
description: Оружие для самозащиты, которое изнуряет органические цели, пока они не свалятся с ног.
components:
- type: ProjectileBatteryAmmoProvider
proto: BulletDisabler
fireCost: 10

- type: entity
name: пояс охраны спецсил
description: Может вмещать различное снаряжение службы безопасности, такое как наручники и вспышки.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,61 @@
damage:
types:
Heat: 22

- type: entity
name: 45MW.TRG
parent: BaseWeaponBatterySmall
id: WeaponDominatorNT
description: Nanotrasen's first attempt to remake the Antique Laser Gun. Has more firing modes on offer but lacks the ability to self-recharge.
components:
- type: Sprite
sprite: Backmen/Objects/Weapons/Gunsx64/Battery/Dominator.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-unshaded-0
map: ["enum.GunVisualLayers.MagUnshaded"]
shader: unshaded
- type: Clothing
sprite: Backmen/Objects/Weapons/Gunsx64/Battery/Dominator.rsi
- type: Gun
fireRate: 2
projectileSpeed: 75
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/laser.ogg
- type: Item
size: SmallNormal
- type: ProjectileBatteryAmmoProvider
proto: X01Attack
fireCost: 200
- type: BatteryWeaponFireModes
fireModes:
- proto: X01Attack
fireCost: 200
- proto: BulletDisabler
fireCost: 100
- type: Battery
maxCharge: 2400
startingCharge: 2400
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance
- type: StaticPrice
price: 60000

- type: entity
name: 45MW.TRG Super
parent: WeaponDominatorNT
id: WeaponDisablerSuper
components:
- type: BatteryWeaponFireModes
fireModes:
- proto: X01Attack
fireCost: 10
- proto: BulletDisabler
fireCost: 10
153 changes: 152 additions & 1 deletion Resources/Prototypes/Backmen/Entities/Weapons/Guns/guns64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,22 @@
- type: UseDelay
delay: 1.5

- type: entity
parent: WeaponRifleM28
id: WeaponRifleM28Rubber
components:
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: MagazineRifleRubber
insertSound: /Audio/Weapons/Guns64/Rifles/m28_reload.ogg
ejectSound: /Audio/Weapons/Guns64/Rifles/m28_unload.ogg
priority: 2
whitelist:
tags:
- MagazineRifle

- type: entity
name: STG 44
parent: BaseWeaponRifle
Expand Down Expand Up @@ -2381,6 +2397,138 @@
delay: 1.3
- type: GunRequiresWield

- type: entity
name: M-81
parent: BaseWeaponPistol
id: WeaponLauncherM81
suffix: Гранатомёт
description: A lightweight single-shot grenade launcher used by the UEG for area blockades and large explosions or riot police units.
components:
- type: Sprite
sprite: Backmen/Objects/Weapons/Gunsx64/Launchers/m81.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- type: Gun
fireRate: 1
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
- type: ChamberMagazineAmmoProvider
autoCycle: false
- type: ItemSlots
slots:
gun_chamber:
name: Chamber
priority: 1
whitelist:
tags:
- Grenade
- type: ContainerContainer
containers:
gun_chamber: !type:ContainerSlot

- type: entity
name: grenade box
parent: BoxCardboard
id: BoxGrenadeNonLetal
components:
- type: StorageFill
contents:
- id: GrenadeNonletal
amount: 4

- type: entity
name: grenade box
parent: BoxCardboard
id: BoxGrenadeTearGas
components:
- type: StorageFill
contents:
- id: GrenadeTearGas
amount: 4

- type: entity
id: GrenadeTearGas
name: tear gas grenade
parent: BaseGrenade
components:
- type: CartridgeAmmo
proto: BulletGrenadeTearGas
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
layers:
- state: baton
map: ["enum.AmmoVisualLayers.Base"]
- type: Appearance
- type: SpentAmmoVisuals
state: baton
suffix: false

- type: entity
id: BulletGrenadeTearGas
name: tear gas grenade
parent: BaseBulletTrigger
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: grenade
- type: Projectile
deleteOnCollide: false
damage:
types:
Blunt: 1
soundHit:
path: /Audio/Effects/gen_hit.ogg
- type: SmokeOnTrigger
duration: 10
spreadAmount: 30
solution:
reagents:
- ReagentId: TearGas
Quantity: 50

- type: entity
id: GrenadeNonletal
name: non letal grenade
parent: BaseGrenade
components:
- type: CartridgeAmmo
proto: BulletGrenadeNonletal
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
layers:
- state: flash
map: ["enum.AmmoVisualLayers.Base"]
- type: Appearance
- type: SpentAmmoVisuals
state: flash
suffix: false

- type: entity
id: BulletGrenadeNonletal
name: non letal grenade
parent: BaseBulletTrigger
noSpawn: true
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: grenade
- type: FlashOnTrigger
range: 7
- type: SpawnOnTrigger
proto: GrenadeFlashEffect
- type: ActiveTimerTrigger
timeRemaining: 0.3
- type: DeleteOnTrigger
- type: StaminaDamageOnCollide
damage: 80

- type: entity
name: RL-5
parent: BaseWeaponLauncher
Expand Down Expand Up @@ -2414,7 +2562,7 @@
- type: MagazineVisuals
magState: mag
steps: 2
zeroVisible: true
zeroVisible: false
- type: Appearance
- type: Wieldable
- type: UseDelay
Expand Down Expand Up @@ -2728,6 +2876,9 @@
- type: GunRequiresWield
- type: Gun
fireRate: 1
- type: Tag
tags:
- WeaponShotgunKammerer

- type: entity
name: Dragunov
Expand Down
2 changes: 1 addition & 1 deletion Resources/Prototypes/Catalog/Cargo/cargo_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
sprite: Objects/Weapons/Guns/Battery/disabler.rsi
state: base
product: CrateSecurityNonlethal
cost: 4000
cost: 5500 #Backmen
category: Security
group: market

Expand Down
10 changes: 8 additions & 2 deletions Resources/Prototypes/Catalog/Fills/Crates/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
- id: BoxFlashbang
- id: Flash
amount: 3
- id: WeaponShotgun39NonLethal #Backmen Rebalance Start
amount: 2
- id: BoxBeanbag
amount: 2 #Backmen Rebalance End
# - Pepperspray
# - GrenadeTeargas

Expand All @@ -50,10 +54,12 @@
amount: 2
- id: ClothingHeadHelmetRiot
amount: 2
- id: WeaponShotgun39NonLethal
- id: WeaponLauncherM81 #Backmen Rebalance Start
amount: 2
- id: BoxBeanbag
- id: BoxGrenadeTearGas
amount: 2
- id: BoxGrenadeNonLetal
amount: 2 #Backmen Rebalance End
- id: RiotShield
amount: 2
# - SecGasmask
Expand Down
6 changes: 3 additions & 3 deletions Resources/Prototypes/Entities/Objects/Shields/shields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 80
damage: 200
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
- trigger:
!type:DamageTrigger
damage: 40 #This is probably enough damage before it breaks
damage: 180 #This is probably enough damage before it breaks
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
Expand Down Expand Up @@ -206,7 +206,7 @@
thresholds:
- trigger:
!type:DamageTrigger
damage: 40
damage: 100
behaviors:
- !type:DoActsBehavior
acts: [ "Destruction" ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
- type: SpentAmmoVisuals
state: frag
suffix: false

- type: entity
id: GrenadeEMP
name: EMP grenade
Expand Down Expand Up @@ -154,7 +154,7 @@
- type: Item
size: Small
- type: Sprite

- type: entity
id: CannonBall
name: cannonball
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
components:
- type: ItemCabinet
cabinetSlot:
startingItem: WeaponShotgunKammerer
startingItem: WeaponShotguntrenchgun4034
ejectOnInteract: true
whitelist:
tags:
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.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by discord: sosiska_v_smekte",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "icon2"
},
{
"name": "base"
},
{
"name": "mag-unshaded-0"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2606a69

Please sign in to comment.