Item ammo smg1: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added "Displaytitle Template" + Cleanup)
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template)
Line 1: Line 1:
{{DISPLAYTITLE:item_ammo_smg1}}
[[Image:Item_ammo_smg1.jpg|thumb|right|250px|An item_ammo_smg1 entity.]]
[[Image:Item_ammo_smg1.jpg|thumb|right|250px|An item_ammo_smg1 entity.]]
{{hl2 point|item_ammo_smg1}}
{{hl2 point|item_ammo_smg1}}

Revision as of 02:28, 1 August 2018

An item_ammo_smg1 entity.

Template:Hl2 point

Entity description

A 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 54 rounds.
  • At the "Normal" (skill 2) setting the box will provide 45 rounds.
  • At the "Hard" (skill 3) setting the box will provide 27 rounds.}}

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