Prop ammo box generic: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Came across a problem with extracting ammo when you are on certain game modes/types, thought it would be best to update the page in order to reflect this. Couldn't find a cvar which changes this, so I'm assuming it's intrinsically tied to those modes.)
(Added Template:Lang. Used Template:Csgo mode. Ammo amount per use.)
Line 1: Line 1:
{{lang|prop_ammo_box_generic}}
[[Image:Prop ammo box generic.jpg|thumb|300px|right|Sharable ammo box]]
[[Image:Prop ammo box generic.jpg|thumb|300px|right|Sharable ammo box]]
{{csgo point|prop_ammo_box_generic}} {{DZupdate}}
{{csgo point|prop_ammo_box_generic}}
{{note|Although this entity can be placed into a map without any problems, players are only allowed to extract ammo if the [[CSGO_Game_Mode_Commands|game mode]] is set to either [[Creating a Co-op Strike Map|Co-op Strike]] or [[Creating a Danger Zone Map|Danger Zone]].}}
{{DZupdate}}


== Entity description==
== Entity description ==
Sharable ammo box.
This is a sharable ammo box with four [[+use]]s. Each use increases the reserve ammo of the activator's active weapon. In {{csgo mode|Coop}}, the number of bullets given per use is a clip size, while in {{csgo mode|Dz}} it depends on the weapon and is read from <code>csgo/cfg/survival/survival_config.[[kv3]]</code>.
{{note|This entity can be placed into a map with no problems, but [[player]]s can only extract ammo if the [[game mode]] is set to either {{csgo mode|Coop}} or {{csgo mode|Dz}}.}}
 
== KeyValues ==
{{KV Targetname}}
{{KV Targetname}}
{{KV Angles}}
{{KV Angles}}

Revision as of 23:48, 19 November 2021

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>[ Edit ]
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) <QAngle>
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.