Item bonuspack: Difference between revisions
Jump to navigation
Jump to search

Thunder4ik (talk | contribs) m (→top: Unicodifying, replaced: [[Image: → [[File:) |
(-added class hierarchy, cleanup) |
||
| Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{CD|CBonusPack|base=CCurrencyPack|file1=entity_bonuspack.cpp}} | |||
[[File:RED Power Core.png|thumb|right|200px|A RED power core.]] | |||
{{tf2 point|item_bonuspack}} It is the power core that the players collect in Robot Destruction. It adds one point to the team that picks it up and restores 5 HP (into overheal) and 5 ammo (flat amount). | {{tf2 point|item_bonuspack}} It is the power core that the players collect in Robot Destruction. It adds one point to the team that picks it up and restores 5 HP (into overheal) and 5 ammo (flat amount). | ||
{{tfitem}} | {{tfitem}} | ||
Revision as of 06:08, 27 July 2024
| CBonusPack |
item_bonuspack is a point entity available in
Team Fortress 2. It is the power core that the players collect in Robot Destruction. It adds one point to the team that picks it up and restores 5 HP (into overheal) and 5 ammo (flat amount).
Keywords
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Auto-Materialize (automaterialize) <boolean>
- Whether the pickup will automatically re-materialize after 10 seconds.
- Model (powerup_model) <string>
- Changes the model to something other than the default.
TeamNum:
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enableinput).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- Toggle
- Toggles the enabled/disabled status of the entity.
Outputs
- OnPlayerTouch !FGD
- Sent when the entity is picked up by a player.