Prop ammo box generic: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in fgd}} '''prop_ammo_box_generic''' is a point entity available in {{csgo}} '''Counter-Strike:Global Offensive''' since '''Danger Zone''' update. {{note|Placin...")
 
No edit summary
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{ent not in fgd}}
{{lang|prop_ammo_box_generic}}
'''prop_ammo_box_generic''' is a [[point entity]] available in {{csgo}} '''Counter-Strike:Global Offensive''' since '''Danger Zone''' update.
[[File:Prop ammo box generic.jpg|thumb|300px|right|Sharable ammo box]]
{{csgo point|prop_ammo_box_generic}}
{{DZupdate}}


{{note|Placing this entity manually in level will work, however it won't have outline glow.}}
== Entity description ==
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 Angles}}
 
[[Category:Prop entities|ammo box generic]]

Latest revision as of 08:37, 1 September 2024

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.