item_box_buckshot

From Valve Developer Community
Revision as of 00:56, 30 November 2011 by Mattshu (talk | contribs)
Jump to navigation Jump to search

Template:Hl2 point

Entity Description

Shotgun ammo.

A box of 12 gauge buckshot shotgun shells that will provide ammunition for the shotgun.

Despite the appearance of its model, the amount of ammo the box will provide depends on the current difficulty setting:

  • At the "Easy" (skill 1) setting the box will provide 24 shells.
  • At the "Normal" (skill 2) setting the box will provide 20 shells.
  • At the "Hard" (skill 3) setting the box will provide 12 shells.

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.