prop_ammo_box_generic

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)
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

Name (targetname) <string>
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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.