Item ammo crate: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 28: Line 28:
| 8 || [[item_ammo_ar2_altfire]]
| 8 || [[item_ammo_ar2_altfire]]
|}
|}
:Note that only some ammo types will work. The crates which appear in-game will work fine, but if a crate is set to "Pistol" for example, the crate will neither function nor appear. Instead a glowing red model saying "ERROR" will replace the crate.


==Inputs==
==Inputs==

Revision as of 15:31, 13 December 2005

Template:Wrongtitle

Entity Description

This crate breaks and spawns the specified ammunition entity

Keyvalues

<choices>
Literal Value Ammunition
0 item_ammo_pistol
1 item_ammo_smg1
2 item_ammo_ar2
3 item_rpg_round
4 item_box_buckshot
5 weapon_frag
6 item_ammo_357
7 item_ammo_crossbow
8 item_ammo_ar2_altfire
Note that only some ammo types will work. The crates which appear in-game will work fine, but if a crate is set to "Pistol" for example, the crate will neither function nor appear. Instead a glowing red model saying "ERROR" will replace the crate.

Inputs

Outputs

Fires when +used by the player.