Fix grenades not playing sounds when detonating (#39815)

fix grenade sounds
This commit is contained in:
Dinner
2025-08-22 06:04:29 -04:00
committed by GitHub
parent 027ec912f2
commit d61ebf2c87
4 changed files with 12 additions and 0 deletions

View File

@@ -925,6 +925,7 @@
Quantity: 30
- type: EmitSoundOnTrigger
sound: /Audio/Items/smoke_grenade_smoke.ogg
positional: true
- type: ExplodeOnTrigger
- type: Explosive
explosionType: Default

View File

@@ -91,6 +91,7 @@
- timer
sound:
path: "/Audio/Effects/flash_bang.ogg"
positional: true
- type: DeleteOnTrigger
keysIn:
- timer
@@ -260,6 +261,7 @@
path: /Audio/Effects/Grenades/Supermatter/supermatter_end.ogg
params:
volume: 5
positional: true
keysIn:
- stageTwo
- type: DeleteOnTrigger
@@ -478,6 +480,7 @@
keysIn:
- timer
sound: /Audio/Items/smoke_grenade_smoke.ogg
positional: true
- type: DeleteOnTrigger
keysIn:
- timer

View File

@@ -61,6 +61,7 @@
- timer
sound:
path: "/Audio/Effects/flash_bang.ogg"
positional: true
- type: SpawnOnTrigger
keysIn:
- timer
@@ -103,6 +104,7 @@
- timer
sound:
path: "/Audio/Weapons/Guns/Gunshots/batrifle.ogg"
positional: true
- type: StaticPrice
price: 1500
@@ -134,5 +136,6 @@
- timer
sound:
path: "/Audio/Weapons/Guns/Gunshots/batrifle.ogg"
positional: true
- type: StaticPrice
price: 1500

View File

@@ -87,6 +87,7 @@
- timer
sound:
path: "/Audio/Machines/door_lock_off.ogg"
positional: true
- type: entity
parent: [ScatteringGrenadeBase, BaseSyndicateContraband]
@@ -114,6 +115,7 @@
- timer
sound:
path: "/Audio/Machines/door_lock_off.ogg"
positional: true
- type: StaticPrice
price: 2500
@@ -140,6 +142,7 @@
- timer
sound:
path: "/Audio/Items/bikehorn.ogg"
positional: true
- type: entity
parent: [SoapSyndie, ScatteringGrenadeBase, BaseSyndicateContraband]
@@ -167,6 +170,7 @@
- timer
sound:
path: "/Audio/Effects/flash_bang.ogg"
positional: true
- type: StaticPrice
price: 1000
@@ -199,3 +203,4 @@
- timer
sound:
path: "/Audio/Weapons/Guns/Gunshots/batrifle.ogg"
positional: true