item_ammo_smg1_large

From Valve Developer Community
Revision as of 20:50, 15 January 2012 by Dmx6 (talk | contribs)

Jump to: navigation, search
The item_ammo_smg1_large entity looks exact like the item_ammo_smg1 entity.

<Half-Life 2> item_ammo_smg1_large is a point entity available in the Half-Life 2 series.

Entity description

A large box of 4.6x30mm FMJ ammunition for the submachine gun.

Despite the writing on it, the amount of ammo the box will contain depends on the current difficulty setting:

  • At the "Easy" (skill 1) setting the box will provide 225 rounds.
  • At the "Normal" (skill 2) setting the box will provide 225 rounds.
  • At the "Hard" (skill 3) setting the box will provide 135 rounds.
Bug: Note that when placing the entity the Hammer model preview cannot currently find its model, instead displaying the large red "ERROR" model. Ignore this, as the entity will still work fine 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.

See also