prop_ammo_box_generic

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png
Sharable ammo box

prop_ammo_box_generic is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive. It's one of many new entities added with the CS:GO Danger Zone Danger Zone update.

Entity description

This is a sharable ammo box with four +uses. Each use increases the reserve ammo of the activator's active weapon. In CS:GO Co-op Strike Co-op Strike, the number of bullets given per use is a clip size, while in CS:GO Danger Zone Danger Zone it depends on the weapon and is read from csgo/cfg/survival/survival_config.kv3.

Note.pngNote:This entity can be placed into a map with no problems, but players can only extract ammo if the game mode is set to either CS:GO Co-op Strike Co-op Strike or CS:GO Danger Zone Danger Zone.

KeyValues


Targetname:
Name (targetname) <string>
The targetname that other entities refer to this entity by.

Angles:
Pitch Yaw Roll (Y Z X) (angles) <angle>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.