Hot Fix of Gravity Grenades (#19414)

* Supermatter grenade fix

* taking out the trash

* Removing debug Console.Log() in twostage

* More fixes

* Better to put LoadComponents on Update, else it will modify list of other untriggered components
This commit is contained in:
AlexMorgan3817
2023-09-04 19:23:48 +07:00
committed by GitHub
parent 91cfabd6f6
commit 61b0e6abcd
4 changed files with 21 additions and 17 deletions

View File

@@ -148,7 +148,7 @@
- type: AnchorOnTrigger
removeOnTrigger: true
- type: TwoStageTrigger
triggerDelay: 10
triggerDelay: 10.45
components:
- type: AmbientSound
enabled: true
@@ -194,15 +194,15 @@
sound:
path: /Audio/Effects/Grenades/Supermatter/whitehole_start.ogg
volume: 5
- type: AmbientSound
enabled: false
volume: -5
range: 14
sound:
path: /Audio/Effects/Grenades/Supermatter/whitehole_loop.ogg
- type: TwoStageTrigger
triggerDelay: 10
triggerDelay: 11.14
components:
- type: AmbientSound
enabled: true
volume: -5
range: 14
sound:
path: /Audio/Effects/Grenades/Supermatter/whitehole_loop.ogg
- type: GravityWell
maxRange: 10
baseRadialAcceleration: -180
@@ -222,10 +222,9 @@
sound:
path: /Audio/Effects/Grenades/Supermatter/supermatter_end.ogg
params:
volume: 5
volume: 15
- type: DeleteOnTrigger
- type: entity
name: the nuclear option
description: Please don't throw it, think of the children.