ERT Janitor Weapon - Hydra (#34416)

* checkpointing work

* Got this fully working and all sprites done

* Exchanged my sprites with the ones made by AugustSun

* Changed the name to Hydra Launcher, and adjusted it to function like a revolver instead.

* Modified the hydra to be a revolver

* fixed container issue

* Swapped in even newer sprites

* review

---------

Co-authored-by: Milon <milonpl.git@proton.me>
This commit is contained in:
Southbridge
2025-04-19 10:03:05 -04:00
committed by GitHub
parent 6138fcdce9
commit aa5d344a57
16 changed files with 145 additions and 5 deletions

View File

@@ -123,6 +123,23 @@
state: frag
suffix: false
- type: entity
parent: BaseGrenade
id: GrenadeCleanade
name: cleanade grenade round
components:
- type: CartridgeAmmo
proto: BulletGrenadeCleanade
- type: Sprite
sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
layers:
- state: cleanade
map: [ "enum.AmmoVisualLayers.Base" ]
- type: Appearance
- type: SpentAmmoVisuals
state: frag
suffix: false
- type: entity
id: GrenadeEMP
name: EMP grenade

View File

@@ -53,6 +53,46 @@
soundInsert:
path: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
- type: entity
parent: [ BaseWeaponLauncher, BaseGunWieldable, BaseMajorContraband ]
id: WeaponLauncherHydra
name: hydra
description: PLOOP... FSSSSSS
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Launchers/hydra_launcher.rsi
layers:
- state: icon
map: [ "enum.GunVisualLayers.Base" ]
- type: Clothing
sprite: Objects/Weapons/Guns/Launchers/hydra_launcher.rsi
slots:
- Back
- suitStorage
- type: AmmoCounter
- type: Gun
fireRate: 1
selectedMode: SemiAuto
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
- type: ContainerContainer
containers:
revolver-ammo: !type:Container
- type: RevolverAmmoProvider
whitelist:
tags:
- Grenade
proto: GrenadeCleanade
capacity: 6
chambers: [ True, True, True, True, True, True ]
ammoSlots: [ null, null, null, null, null, null ]
soundEject:
path: /Audio/Weapons/Guns/MagOut/sfrifle_magout.ogg
soundInsert:
path: /Audio/Weapons/Guns/MagIn/sfrifle_magin.ogg
- type: entity
name: RPG-7
parent: [ BaseWeaponLauncher, BaseMajorContraband ]

View File

@@ -813,6 +813,36 @@
intensitySlope: 1
maxIntensity: 10
- type: entity
parent: BaseBulletTrigger
id: BulletGrenadeCleanade
name: cleanade grenade round
categories: [ HideSpawnMenu ]
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
layers:
- state: cleanade
- type: ActiveTimerTrigger
timeRemaining: 0.3
- type: SmokeOnTrigger
duration: 3.5
spreadAmount: 30
smokePrototype: Foam
solution:
reagents:
- ReagentId: SpaceCleaner
Quantity: 30
- type: SoundOnTrigger
sound: /Audio/Items/smoke_grenade_smoke.ogg
- type: ExplodeOnTrigger
- type: Explosive
explosionType: Default
totalIntensity: 0.01 # a little pop
intensitySlope: 1
maxIntensity: 0.01
tileBreakScale: 0.01
- type: entity
id: BulletGrenadeEMP
name: EMP rocket