Trigger gargantua shake: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{this is a|brush entity|name=trigger_gargantua_shake|game=Black Mesa}} It's a trigger volume that creates shakes from gargantua and randomly push away playe...")
 
No edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{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.
{{CDA|CTriggerGargantuaShake|CBaseTrigger|CBaseToggle|CBaseEntity|}}
{{bug|Pushing doesn't work with physics objects or [[NPC|NPCs]].}}
{{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 used ''st_shake_tower'' value for ''Hint Activity'' property (this feature is used in ''bm_c2a5i''). Also works if '''Push''' input is fired.
 
{{bug|hidetested=1|Pushing doesn't work with [[Prop physics|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==
{{IO|SetgarGantua|nofgd=1|Sets gargantua to make this trigger working. Seems 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}}
{{IO|Push|nofgd=1|Pushes player and shake camera for a specified number 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}}
{{I BaseEntity}}
==Outputs==
{{O BaseTrigger}}
{{O BaseEntity}}

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.