item_battery
Jump to navigation
Jump to search
![]() |
---|
CItemBattery |
![]() |
item_battery
is a model entity available in Half-Life: Source.
This item charges up the HEV suit by amount specified in cvar
sk_battery [int]
. (15 on easy and normal difficulty, 10 on hard)
This battery is based on the original battery but instead in the Source engine.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- World Model (model) <model path>[ Edit ]
- This entity's model is set to:
models/w_battery.mdl
on spawn so specifying this keyvalue will have no effect.
Outputs
- OnPlayerTouch
- !activator = the player
!caller = this entity
Fires when the player touches this object