team_train_watcher
Jump to navigation
Jump to search
team_train_watcher is an e0 available in
Team Fortress 2.
- The
{{{game}}}parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the{{{game}}}parameter toTeam Fortress 2.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
This entity consumes 1 edict slots at runtime.
Entity description
Entity that tracks the train progress through train escort maps. Adding this entity to a map makes Team Fortress 2 classify the map as a train escort (Payload) map.
For a Payload Race map, you also need a tf_logic_multiple_escort entity.
Keyvalues
- Name (targetname) <string>[ Edit ]
- 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
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enableinput).
TeamNum:
- Handle Train Movement ([todo internal name (i)]) <boolean> !FGD
- If Yes, the watcher will handle three-speed forward movement, receding, and roll forward/back zones. Slow areas (such as for uphill) will need to be done manually by sending the watcher a SetSpeedForwardModifier input.
- env_spark_name ([todo internal name (i)]) <targetname> !FGD
- The name of the env_spark for the train.
- Default Speed Modifier ([todo internal name (i)]) <float>
- 0 to 1 scaling of the train's max speed. Can be adjusted with the SetSpeedForwardModifier input. Only functions with Handle Train Movement enabled.
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- SetNumTrainCappers <integer>
- Set Number of players capping the train.
- SetSpeedForwardModifier <float>
- OnStartOvertime
- Sets the cart to 5 seconds until recede.
Outputs
- OnTrainStartRecede
- Sent when the train should start receding.