Trigger gargantua shake: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:
{{I|SetGargantua|nofgd=1|Sets gargantua to make this trigger working. It seems to be broken because you don't need to have any gargantua for this trigger to work.|param=string}}
{{I|SetGargantua|nofgd=1|Sets gargantua to make this trigger working. It seems to be broken because you don't need to have any gargantua for this trigger to work.|param=string}}
{{I|Push|nofgd=1|Pushes player and shakes the camera for specified amount of seconds.
{{I|Push|nofgd=1|Pushes player and shakes the camera for specified amount of seconds.
{{note|This input doesn't work until <code>SetGargantua</code> input fired.}}
{{note|This input doesn't work until <code>SetGargantua</code> input is fired.}}
|param=float}}
|param=float}}

Latest revision as of 06:52, 27 May 2025

C++ Class hierarchy
CTriggerGargantuaShake
CBaseTrigger
CBaseToggle
CBaseEntity

trigger_gargantua_shake is a brush entity available in Black Mesa Black Mesa. It's a trigger volume that creates shakes from gargantua and randomly push away player in its volume. Works with info_node_hint if used st_shake_tower value for Hint Activity property (this feature is used in bm_c2a5i). Also works if Push input is fired.

Icon-Bug.pngBug:Pushing doesn't work with physics objects or NPCs.
Note.pngNote:Camera shake will work even if this entity is disabled.

Inputs

SetGargantua <stringRedirectInput/string> !FGD
Sets gargantua to make this trigger working. It seems to be broken because you don't need to have any gargantua for this trigger to work.
Push <floatRedirectInput/float> !FGD
Pushes player and shakes the camera for specified amount of seconds.
Note.pngNote:This input doesn't work until SetGargantua input is fired.