prop_weapon_refill_heavyarmor

From Valve Developer Community
Jump to: navigation, search

prop_weapon_refill_heavyarmor is a point entity available in Counter-Strike: Global Offensive Counter-Strike: Global Offensive.

Entity description

Players using this entity for 4 seconds (similar to defusing C4) are given an item_heavyassaultsuit entity. This process consumes this entity.

The body keyvalue determines the appearance. The Terrorist variant uses even values, the Counter-Terrorist variant uses odd values.

Warning.pngWarning: Negative odd values (-1, -3, ...) make the entity invisible in Hammer (and in-game), making it impossible to target it with the selection tool, but it remains selectable in the entity report.

This entity has physics properties. For it to be static, parent this entity to any static entity, such as an info_target.

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

Parent (parentname) ([todo internal name (i)]) <targetname>
The name of this entity's parent in the movement hierarchy. Entities with parents move with their parent.
Skin (skin) ([todo internal name (i)]) <integer>
Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.
Body (body) ([todo internal name (i)]) <integer>
Some models have multiple bodygroups. Set this to a number other than 0 to use that bodygroup instead of the default.

Inputs

SetParent <string>
Changes the entity's parent in the movement hierarchy.
SetParentAttachment <string>
Change this entity to attach to a specific attachment point on its parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment.
SetParentAttachmentMaintainOffset <string>
Change this entity to attach to a specific attachment point on it's parent. Entities must be parented before being sent this input. The parameter passed in should be the name of the attachment. The entity will maintain it's position relative to the parent at the time it is attached.
ClearParent
Removes this entity from the the movement hierarchy, leaving it free to move independently.