Trigger gargantua shake: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
No edit summary
Line 1: Line 1:
{{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 <code>Hint Activity</code> uses <code>st_shake_tower</code> value (used in [[bm_c2a5i]]), or if <code>Push</code> input fires.


Represented by class <code>CTriggerGargantuaShake</code>.
{{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]].}}
{{note|Camera shake will work even if this entity is disabled.}}
{{note|Camera shake will work even if this entity is disabled.}}
{{back |Black Mesa Level Creation}}
==Keyvalues==
{{KV Targetname}}
{{KV|intn=parentname|Parent|target_destination|The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.}}
{{KV BaseTrigger}}
==Flags==
{{Fl BaseTrigger}}


==Inputs==
==Inputs==
Line 19: Line 10:
{{note|This input doesn't work until <code>SetgarGantua</code> input fired.}}
{{note|This input doesn't work until <code>SetgarGantua</code> input fired.}}
|param=float}}
|param=float}}
==Outputs==
{{O BaseTrigger}}

Revision as of 06:48, 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.