Trigger gargantua shake: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{CDA|CTriggerGargantuaShake|CBaseTrigger|CBaseToggle|CBaseEntity|}}  
{{CDA|CTriggerGargantuaShake|CBaseTrigger|CBaseToggle|CBaseEntity|}}  
{{this is a|brush entity|name=trigger_gargantua_shake|game=Black Mesa}} It's a trigger volume that creates shakes from [[npc_gargantua|gargantua]] and randomly push away player in its volume. Works with {{ent|info_node_hint}}, if <code>Hint Activity</code> uses <code>st_shake_tower</code> value (used in [[bm_c2a5i]]), or if <code>Push</code> input fires.
{{this is a|brush entity|name=trigger_gargantua_shake|game=Black Mesa}} It's a trigger volume that creates shakes from [[npc_gargantua|gargantua]] and randomly push away player in its volume. Works with {{ent|info_node_hint}}, if ''Hint Activity'' uses ''st_shake_tower'' value (used in bm_c2a5i), or if <code>Push</code> input fires.


{{bug|hidetested=1|Pushing doesn't work with physics objects or [[NPC|NPCs]].}}
{{bug|hidetested=1|Pushing doesn't work with physics objects or [[NPC|NPCs]].}}

Revision as of 06:49, 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 Hint Activity uses st_shake_tower value (used in bm_c2a5i), or if Push input fires.

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. Seems broken because you don't need to have any gargantua for this trigger to work.
Push <floatRedirectInput/float> !FGD
Pushes player and shake camera for a specified amount of seconds.
Note.pngNote:This input doesn't work until SetgarGantua input fired.