Trigger super armor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(documentation, i guess)
m (Changed obsolete template)
Line 1: Line 1:
{{ent not in fgd}}
{{ent not in fgd}}
{{obsolete}}
{{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. {{todo|Why? The code seems fine.}}  
{{code class|CTriggerSuperArmor|trigger_super_armor.cpp}}
{{code class|CTriggerSuperArmor|trigger_super_armor.cpp}}

Revision as of 11:23, 9 June 2019

Icon-NotInFGD.png
This entity is not in the FGD by default.
See below for instructions on making it available.
Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.

Template:Hl2 brush 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.

Todo: Why? The code seems fine.
C++ In code, it is represented by theCTriggerSuperArmorclass, defined in thetrigger_super_armor.cppfile.