Item ammo smg1: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added "Displaytitle Template" + Cleanup)
Line 1: Line 1:
{{DISPLAYTITLE:item_ammo_smg1}}
[[Image:Item_ammo_smg1.jpg|thumb|right|250px|An item_ammo_smg1 entity.]]
{{hl2 point|item_ammo_smg1}}
{{hl2 point|item_ammo_smg1}}
{{BasicItem|entity=item_ammo_smg1|descriptive=An item_ammo_smg1 entity.|desc=A box of 4.6x30mm FMJ ammunition for the [[weapon_smg1|submachine gun]].
 
==Entity description==
A box of 4.6x30mm FMJ ammunition for the [[weapon_smg1|submachine gun]].


Despite the writing on it, the amount of ammo the box will contain depends on the current difficulty setting:
Despite the writing on it, the amount of ammo the box will contain depends on the current difficulty setting:
Line 8: Line 12:
* At the "Hard" (<code>skill 3</code>) setting the box will provide 27 rounds.}}
* At the "Hard" (<code>skill 3</code>) setting the box will provide 27 rounds.}}


==See Also==
==Keyvalues==
* {{KV Item}}
 
==Inputs==
* {{I Item}}
 
==Outputs==
* {{O Item}}
 
==See also==
* [[item_ammo_smg1_large]]
* [[item_ammo_smg1_large]]


[[Category:Entities]] [[Category:Items]]
[[Category:Items]]

Revision as of 13:41, 15 January 2012

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