Item ammo crate
Jump to navigation
Jump to search


Template:Hl2 point This entity places a large crate containing an unlimited supply of a certain type of ammo (specified by Ammo Type). The player can open it as many times as desired, by pressing the +use key (E by default), and get a complete refill of the specified ammo type.


Kill
input, it will not tell an owner (if any) that it was Kill
ed.[Why?] Normal Kill
behavior can still be reached through KillHierarchy
.Keyvalues
- Ammo Type (AmmoType) ([todo internal name (i)]) <choices>
- Decides which ammo will be inside the crate.
Literal Value Ammunition Functions 0 item_ammo_pistol No [Yes (Episode 2)] 1 item_ammo_smg1 Yes 2 item_ammo_ar2 Yes 3 item_rpg_round Yes 4 item_box_buckshot No [Yes (Episode 2)] 5 weapon_frag Yes 6 item_ammo_357 No 7 item_ammo_crossbow No 8 item_ammo_ar2_altfire Yes 9 item_ammo_smg1_grenade No [Yes (Episode 2)]
Warning:Some crate models are missing, so only about half of these settings will work. If the game can't find the model, the crate will not work.

Inputs

Outputs
- OnUsed
- Fires when
+use
d by the player.

See also
- Crates - For basic crates