Item healthkit full: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Transcluded the tfitem template and edited to include keyvalues unique to this item.)
Line 7: Line 7:
Health kit entity - full healing.
Health kit entity - full healing.


{{tfitem}}
==Keywords==
* '''Model''' (powerup_model)
:Changes the in-game model to something other than the default model. Not shown in Hammer.
:* Default (models/items/medkit_large.mdl)
:* Halloween Soup Cauldron (models/props_halloween/halloween_medkit_large.mdl)
:{{note|Others can be used by disabling Smart Edit, such as:}}
:* Birthday Cake (models/items/medkit_large_bday.mdl) {{Not in FGD}}
:* Sandvich on a plate (models/items/plate.mdl) {{Not in FGD}}
:* Buffalo Steak Sandvich on a plate (models/items/plate_steak.mdl) {{Not in FGD}}
* {{KV Targetname}}
* {{KV Angles}}
* {{KV TFTeam}}
* {{KV EnableDisable}}
 
==Inputs==
* {{I Targetname}}
* {{I EnableDisable}}
* '''Toggle'''
: Toggles the enabled/disabled status of the entity.
 
==Outputs==
* {{O Targetname}}
* '''OnPlayerTouch'''
: Sent when the entity is picked up by a player.


[[Category:Team Fortress 2 Entities]]
[[Category:Team Fortress 2 Entities]]

Revision as of 22:45, 10 October 2011

Template:Wrongtitle Team Fortress 2 {{{1}}} is a point entity available in Team Fortress 2 Team Fortress 2.

A Full Healthkit.

Entity Description

Health kit entity - full healing.

Keywords

  • Model (powerup_model)
Changes the in-game model to something other than the default model. Not shown in Hammer.
  • Default (models/items/medkit_large.mdl)
  • Halloween Soup Cauldron (models/props_halloween/halloween_medkit_large.mdl)
Note.pngNote:Others can be used by disabling Smart Edit, such as:
  • Birthday Cake (models/items/medkit_large_bday.mdl) !FGD
  • Sandvich on a plate (models/items/plate.mdl) !FGD
  • Buffalo Steak Sandvich on a plate (models/items/plate_steak.mdl) !FGD
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.
  • TeamNum:
Initial Team (TeamNum) <choices>
Which Team the entity belongs / is assigned to on spawn
  • 0: None
  • 1: Spectator/Halloween Souls Team Fortress 2
  • 2: RED Team Fortress 2
  • 3: BLU/Robots Team Fortress 2
  • 5: Halloween Bosses (only in Team Fortress 2) !FGD


Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).

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
Sent when the entity is picked up by a player.