Func recharge: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Inputs: ep1 add)
(Inserted the dedicated console variables.)
Line 7: Line 7:
{{in game|brush}} {{game|HL2}}
{{in game|brush}} {{game|HL2}}
{{in code|class=class_c_recharge.html CRecharge|file=func__recharge_8cpp-source.html hl2_dll\func_recharge.cpp}}
{{in code|class=class_c_recharge.html CRecharge|file=func__recharge_8cpp-source.html hl2_dll\func_recharge.cpp}}
==Dedicated Console Variables==
* '''sk_suitcharger''' (Default: 75)
: <?> ???
* '''sk_suitcharger_citadel''' (Default: 500)
: <?> ???
* '''sk_suitcharger_citadel_maxarmor''' (Default: 200)
: <?> ???


==Keyvalues==
==Keyvalues==

Revision as of 03:27, 2 October 2006

Template:Wrongtitle

Entity Description

Battery recharger.

Availability

Template:In game Template:Game Template:In code

Dedicated Console Variables

  • sk_suitcharger (Default: 75)
<?> ???
  • sk_suitcharger_citadel (Default: 500)
<?> ???
  • sk_suitcharger_citadel_maxarmor (Default: 200)
<?> ???

Keyvalues

<integer> Minimum light level.

Flags

  • 8192 : Citadel recharger

Inputs

This sets the remaining charge in the charger to whatever value you specify

Outputs

Remaining Charge
  • OnHalfEmpty
Half-Empty
  • OnEmpty
Empty
  • OnFull
Recharged to full.
  • OnPlayerUse
Fired when the player +USEs the charger. Template:Plact

See Also