Prop ammo box generic: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added Template:Lang. Used Template:Csgo mode. Ammo amount per use.)
Line 5: Line 5:


== Entity description ==
== 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>.
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}}.}}
{{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}}.}}



Revision as of 01:28, 3 July 2023

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.