Item battery: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Added "Displaytitle Template")
Line 1: Line 1:
{{DISPLAYTITLE:item_battery}}
{{DISPLAYTITLE:item_battery}}
[[Image:item_battery.jpg|thumb|250px|right|The Battery item.]]
{{hl2 point|item_battery}}
{{hl2 point|item_battery}}


==Entity Description==
==Entity description==
[[Image:item_battery.jpg|frame|right|Battery]]
 
This item charges up the [[item_suit|HEV suit]] 15 energy points (regardless of the difficulty setting).
This item charges up the [[item_suit|HEV suit]] 15 energy points (regardless of the difficulty setting).


Line 10: Line 11:
==Keyvalues==
==Keyvalues==
* {{KV Item}}
* {{KV Item}}
==Inputs==
==Inputs==
* {{I Item}}
* {{I Item}}
==Outputs==
==Outputs==
* {{O Item}}
* {{O Item}}
[[Category:Entities]] [[Category:Items]]
 
[[Category:Items]]

Revision as of 13:51, 15 January 2012

The Battery item.

Template:Hl2 point

Entity description

This item charges up the HEV suit 15 energy points (regardless of the difficulty setting).

PlacementTip.gifPlacement Tip:Place this entity at least one unit above its resting surface to prevent its position from being disturbed in-game.

Keyvalues

  • Item:

Inputs

  • Item:

Outputs

  • Item:
OnPlayerTouch
Fires when the player touches this item. !activator is the player.
OnCacheInteraction
This output fires when the player proves they have "found" this item.
Fires on:
  • Player Touch (whether or not player actually acquires the item).
  • Picked up by +use.
  • Picked up by gravity gun.
  • Punted by gravity gun.