item_healthcharger is an existing point entity available in (HL2) Half-Life 2 with all versions of Mapbase.

Health Charger



KeyValues

- Model (model) <studio>
None
- Juice (Charge) <integer>
Overrides the amount of suit power this charger contains. Use 0 for the default charge, which is usually the maximum juice. Use -1 if you want the charger to start empty.
- Max Juice (MaxCharge) <integer>
Overrides the maximum suit power this charger contains. Use 0 for the default charge, 75.
- Increment Health (SetIncrementValue) <integer>
How much charge should be given each 'increment', or each tenth-of-a-second interval in which the player is given health while using this charger. Juice is also decreased accordingly. Use 0 for the default increment, 1.

Inputs

- Recharge <void>
Recharge to full
- SetCharge <integer>
Sets the *maximum* charge, refilling the charger in the process.
- SetChargeNoMax <float>
Sets the charger's current juice without doing anything with the maximum.
- SetIncrementValue <integer>
Sets the charger's increment value.

Outputs

- OnHalfEmpty <void>
Half-Empty
- OnEmpty <void>
Empty
- OnFull <void>
Recharged to full.