Item ammo pistol: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
No edit summary
Line 1: Line 1:
{{BasicItem|entity=item_ammo_pistol|descriptive=An item_ammo_pistol entity|desc=A box of 9mm rounds for the [[weapon_pistol|semi-automatic pistol]].
{{DISPLAYTITLE:item_ammo_pistol}}
[[Image:Item_ammo_pistol.jpg|thumb|right|250px|An item_ammo_pistol entity.]]
{{hl2 point|item_ammo_pistol}}
 
==Entity description==
A box of 9mm rounds for the [[weapon_pistol|semi-automatic pistol]].


Despite what is written on it, the amount of ammo the box will contain depends on the current difficulty setting:
Despite what is written on it, the amount of ammo the box will contain depends on the current difficulty setting:
Line 5: Line 10:
* At the "Normal" (<code>skill 2</code>) setting the clip will provide 20 rounds.
* At the "Normal" (<code>skill 2</code>) setting the clip will provide 20 rounds.
* At the "Hard" (<code>skill 3</code>) setting the clip will provide 12 rounds.}}
* At the "Hard" (<code>skill 3</code>) setting the clip will provide 12 rounds.}}
[[Image:Item_ammo_pistol.jpg|thumb|right|400px|An item_ammo_pistol entity.]]
 
==See Also==
==Keyvalues==
* {{KV Item}}
 
==Inputs==
* {{I Item}}
 
==Outputs==
* {{O Item}}
 
==See also==
* [[item_ammo_pistol_large]]
* [[item_ammo_pistol_large]]
[[Category:Entities]] [[Category:Items]]
 
[[Category:Items]]

Revision as of 13:45, 15 January 2012

An item_ammo_pistol entity.

Template:Hl2 point

Entity description

A box of 9mm rounds for the semi-automatic pistol.

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

  • At the "Easy" (skill 1) setting the clip will provide 24 rounds.
  • At the "Normal" (skill 2) setting the clip will provide 20 rounds.
  • At the "Hard" (skill 3) setting the clip will provide 12 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