Item healthkit full: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{wrongtitle|title=item_healthkit_full}}
{{this is a|model entity|game=Team Fortress 2|name=item_healthkit_full}}
{{Tf2 point}}
{{TOC|left}}
{{TOC|left}}
[[Image:Item healthkit full tf.JPG|thumb|right|200px|A Full Healthkit.]]{{clr}}
[[File:Largehealth.png|thumb|right|200px|A Full Healthkit.]]{{clr}}


==Entity Description==
==Entity description==
Health kit entity - full healing.
Health kit entity - full healing.


==Keyvalues==
==Keyvalues==
* '''Model''' (powerup_model)
{{KV Targetname}}
:Changes the in-game model to something other than the default model. Not shown in Hammer.
{{KV Angles}}
:* Default (models/items/medkit_large.mdl)
{{KV TFTeam}}
:* Halloween Soup Cauldron (models/props_halloween/halloween_medkit_large.mdl)
{{KV StartDisabled}}
:{{note|Others can be used by disabling Smart Edit, such as:}}
{{KV|Model|choices|Changes the in-game model to something other than the default model. Not shown in Hammer.}}
:* Birthday Cake (models/items/medkit_large_bday.mdl) {{Not in FGD}}
:{| class=standard-table
:* Sandvich on a plate (models/items/plate.mdl) {{Not in FGD}}
!| Value || Description
:* Buffalo Steak Sandvich on a plate (models/items/plate_steak.mdl) {{Not in FGD}}
|-
* {{KV Targetname}}
| Default || models/items/medkit_large.mdl
* {{KV Angles}}
|-
* {{KV TFTeam}}
| Halloween Soup Cauldron || models/props_halloween/halloween_medkit_large.mdl
* {{KV EnableDisable}}
|-
| 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|Auto-Materialize|intn=AutoMaterialize|bool|Automatically respawns the health kit after it has been picked up (this is the standard behaviour). Additionally, disabling this option allows respawning the kit with the Enable input.}}


==Inputs==
==Inputs==
* {{I Targetname}}
{{I Targetname}}
* {{I EnableDisable}}
{{I EnableDisable}}
* '''Toggle'''
* '''Toggle'''
: Toggles the enabled/disabled status of the entity.
: Toggles the enabled/disabled status of the entity.


==Outputs==
==Outputs==
* {{O Targetname}}
{{O Targetname}}
* '''OnPlayerTouch'''
* '''OnPlayerTouch'''
: Sent when the entity is picked up by a player.
: Sent when the entity is picked up by a player.


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

Latest revision as of 07:46, 4 June 2025

item_healthkit_full is a model entity available in Team Fortress 2 Team Fortress 2.

A Full Healthkit.

Entity description

Health kit entity - full healing.

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.
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).
Model ([todo internal name (i)]) <choices>
Changes the in-game model to something other than the default model. Not shown in Hammer.
Value Description
Default models/items/medkit_large.mdl
Halloween Soup Cauldron models/props_halloween/halloween_medkit_large.mdl
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
Auto-Materialize (AutoMaterialize) <boolean>
Automatically respawns the health kit after it has been picked up (this is the standard behaviour). Additionally, disabling this option allows respawning the kit with the Enable input.

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.