item_ammo_smg1_large

From Valve Developer Community
Revision as of 20:59, 18 March 2013 by Breakin' Benny (talk | contribs) (HL2 beta model prevents the ERROR and replacement model)

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.
  • If the original model is ported, the "ERROR" won't not be present as the entity will use the old Beta model.

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