This article relates to the game "Team Fortress 2". Click here for more information.

Item healthkit small: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (template mistype)
m (Classifying as model entity)
 
(17 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{wrongtitle|title=item_healthkit_small}}
{{TF2 topicon}}
==Entity Description==
{{this is a|model entity|game=Team Fortress 2|name=item_healthkit_small}}
Health kit entity - small size.


==Availability==
[[File:Smallhealth.png|thumb|right|200px|A tiny healthkit.]]
This point [[entity]] is exclusive to Team Fortress 2.


==Keywords==
==Entity Description==
* {{kv targetname}}
Health kit entity - small size. Restores 20.5% health.
* {{kv angles}}
* {{kv tfteam}}
* '''StartDisabled'''
: <[[boolean]]>


==Flags==
==Keyvalues==
This entity doesn't have any flags.
{{KV Targetname}}
{{KV Angles}}
{{KV TFTeam}}
{{KV EnableDisable}}
{{KV|Model|choices|Changes the in-game model to something other than the default model. Not shown in Hammer.}}
:{| class=standard-table
!| Value || Description
|-
| Default || models/items/medkit_small.mdl
|-
| Halloween Candy Bar || models/props_halloween/halloween_medkit_small.mdl
|-
| Birthday Cake small || models/items/medkit_small_bday.mdl {{Not in FGD}}
|-
| Dalokohs Bar on a plate || models/workshop/weapons/c_models/c_chocolate/plate_chocolate.mdl {{Not in FGD}}
|-
| Fishcake Bar on a plate || models/workshop/weapons/c_models/c_fishcake/plate_fishcake.mdl {{Not in FGD}}
|-
| Second Banana on a plate || models/items/banana/plate_banana.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}}
* '''Enable'''
{{I EnableDisable}}
: Enable this entity.
* '''Disable'''
: Disable this entity.
* '''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 05:57, 19 May 2025

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

A tiny healthkit.

Entity Description

Health kit entity - small size. Restores 20.5% health.

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_small.mdl
Halloween Candy Bar models/props_halloween/halloween_medkit_small.mdl
Birthday Cake small models/items/medkit_small_bday.mdl !FGD
Dalokohs Bar on a plate models/workshop/weapons/c_models/c_chocolate/plate_chocolate.mdl !FGD
Fishcake Bar on a plate models/workshop/weapons/c_models/c_fishcake/plate_fishcake.mdl !FGD
Second Banana on a plate models/items/banana/plate_banana.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.