Item ammo crate: Difference between revisions
Jump to navigation
Jump to search

Placement Tip:This entity should not be placed in areas with many opponents, since this crate provides the player with a big advantage against any opponents in the area.
Note:It can be used if it received damage and if player holds weapon_crowbar. This means that a player can open it with the crowbar or with grenades if holding crowbar, distance doesn't matter.
Warning:The fgd defaults to pistol, which are only available in
Half-Life 2: Episode Two.
MyGamepedia (talk | contribs) |
MyGamepedia (talk | contribs) |
||
Line 66: | Line 66: | ||
{{note|Not using one of these will result entity disappear.}} | {{note|Not using one of these will result entity disappear.}} | ||
{{bug|You will not get a new weapon if didn't pick up before (tripmines, satchels, frags). Interaction with this entity adds the ammo amount, but not giving anything.}} | {{bug|hidetested=1|You will not get a new weapon if didn't pick up before (tripmines, satchels, frags). Interaction with this entity adds the ammo amount, but not giving anything.}} | ||
}} | }} | ||
Revision as of 04:10, 18 May 2025


![]() |
---|
CItem_AmmoCrate |
![]() |
item_ammo_crate
is a point entity available in Half-Life 2 series and
Black Mesa. 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. Most inputs, outputs and properties are same as CBaseAnimating.


Keyvalues
- Model (model) <model path> (only in
)
- Model to use for this entity.
- Ammo Type (AmmoType) <choices>
- Decides which ammo will be inside the crate.


|
![]() ![]() |
- CanMove (isdynamicmoving) <boolean> (only in
)
- Doesn't work. Mentioned only once in bm_c4a4a. It was probably planned to provide movement to the crate for one of the rooms.
- Ammo Count (ammocount) <integer> (only in
)
- Amount of specified ammo to give.
Outputs
- OnUsed
- Fires when used by the player.
See also
- Crates - For basic crates