Item ammo crossbow: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(description, picture update)
Line 1: Line 1:
{{DISPLAYTITLE:item_ammo_crossbow}}
[[Image:item_ammo_crossbow.PNG|thumb|280px|right]]
[[Image:item_ammo_crossbow.jpg|thumb|200px|right|A bundle of quarrels.]]
{{hl2 point|item_ammo_crossbow}}
{{hl2 point|item_ammo_crossbow}}


==Entity description==
==Entity description==
A taped bundle of [[Wikipedia:Rebar|rebar]] [[wikipedia:Quarrel|quarrels]], used as ammunition for the [[weapon_crossbow|crossbow]].
A bundle of bolts that will provide ammunition for the [[weapon_crossbow|weapon_crossbow]].


Despite its model, the amount of quarrels the bundle will contain depends on the current difficulty setting:
Despite the appearance of its model, the amount of ammo the bundle will provide depends on the current difficulty setting:
* At the "Easy" (<code>skill 1</code>) setting the bundle will provide 7 quarrels.
 
* At the "Normal" (<code>skill 2</code>) setting the bundle will provide 6 quarrels.
* At the "Easy" (<code>skill 1</code>) setting the bundle will provide 7 bolts.
* At the "Hard" (<code>skill 3</code>) setting the bundle will provide 3 quarrels.
* At the "Normal" (<code>skill 2</code>) setting the bundle will provide 6 bolts.
* At the "Hard" (<code>skill 3</code>) setting the bundle will provide 3 bolts.


==Keyvalues==
==Keyvalues==
* {{KV Item}}
{{KV Item}}


==Inputs==
==Inputs==
* {{I Item}}
{{I Item}}


==Outputs==
==Outputs==
* {{O Item}}
{{O Item}}


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

Revision as of 10:21, 1 January 2014

Item ammo crossbow.PNG

Template:Hl2 point

Entity description

A bundle of bolts that will provide ammunition for the weapon_crossbow.

Despite the appearance of its model, the amount of ammo the bundle will provide depends on the current difficulty setting:

  • At the "Easy" (skill 1) setting the bundle will provide 7 bolts.
  • At the "Normal" (skill 2) setting the bundle will provide 6 bolts.
  • At the "Hard" (skill 3) setting the bundle will provide 3 bolts.

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.