Template:Tfitem: Difference between revisions
Jump to navigation
Jump to search
Kestrelguy (talk | contribs) m (updated template usage.) |
SirYodaJedi (talk | contribs) No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:FGD Templates]] | |||
<onlyinclude>==Keywords== | <onlyinclude>==Keywords== | ||
{{KV | {{KV Targetname}} | ||
{{KV|Auto-Materialize|intn=automaterialize|bool|Whether the pickup will automatically re-materialize after 10 seconds.}} | |||
{{KV|Model|intn=powerup_model|string|Changes the model to something other than the default.}} | |||
{{KV TeamNum|tf2=1}} | {{KV TeamNum|tf2=1}} | ||
{{KV | {{KV StartDisabled}} | ||
==Inputs== | ==Inputs== | ||
{{I EnableDisable}} | {{I EnableDisable}} | ||
{{ | {{I|Toggle|Toggles the enabled/disabled status of the entity.}} | ||
==Outputs== | ==Outputs== | ||
{{O | {{O|OnPlayerTouch|Sent when the entity is picked up by a player.|nofgd=1}}</onlyinclude> | ||
Latest revision as of 06:53, 4 June 2025
Keywords
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
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:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (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 !FGD
- Sent when the entity is picked up by a player.