item_grenadepack

From Valve Developer Community
Jump to navigation Jump to search
edit

item_grenadepack is a point entity available in Pre-Fortress 2 Pre-Fortress 2.

An item that restores grenades. Unlike Team Fortress 2 Team Fortress 2, will always restore all primary and secondary grenades even over 4.

Icon-Important.pngImportant:Placing at least one in a map will disable receiving any grenades from all large ammo packs, so make sure place more to account for this.

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.
Team (TeamNum) <choices>
What team is allowed to pick this up.
  • Any
  • Red
  • Blue
Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Model (powerup_model) <choices>
Changes the in-game model to something other than the default model. Not shown in Hammer.