Difference between revisions of "Trigger super armor"

From Valve Developer Community
Jump to: navigation, search
m (Changed obsolete template)
(Answered a simple question)
Line 1: Line 1:
 
{{ent not in fgd}}
 
{{ent not in fgd}}
 
{{obsolete|entity=1}}
 
{{obsolete|entity=1}}
{{hl2 brush|trigger_super_armor}} This entity may have been an early version of the suit chargers used inside the Citadel, which recharge health and suit power faster than regular. Instead of recharging the suit to 200 however, this entity would recharge it to the value of the <code>sk_max_super_armor</code> [[ConVar]] (default 500). The engine does not recognize this entity. {{todo|Why? The code seems fine.}}
+
{{hl2 brush|trigger_super_armor}} This entity may have been an early version of the suit chargers used inside the Citadel, which recharge health and suit power faster than regular. Instead of recharging the suit to 200 however, this entity would recharge it to the value of the <code>sk_max_super_armor</code> [[ConVar]] (default 500). The engine does not recognize this entity because the CPP file is not in the solution.<br />{{code class|CTriggerSuperArmor|trigger_super_armor.cpp}}
{{code class|CTriggerSuperArmor|trigger_super_armor.cpp}}
 

Revision as of 14:22, 26 April 2020

<Half-Life 2> trigger_super_armor is a brush entity available in the Half-Life 2 series. This entity may have been an early version of the suit chargers used inside the Citadel, which recharge health and suit power faster than regular. Instead of recharging the suit to 200 however, this entity would recharge it to the value of the sk_max_super_armor ConVar (default 500). The engine does not recognize this entity because the CPP file is not in the solution.
In code, it is represented by theCTriggerSuperArmorclass, defined in thetrigger_super_armor.cppfile.