Team train watcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Linking to tutorial on setting up TF2's payload mode)
Line 44: Line 44:


*{{O Targetname}}
*{{O Targetname}}
==See Also==
[[TF2/Creating_a_Payload_Map|Creating a payload map for Team Fortress 2]]


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

Revision as of 07:01, 21 January 2011

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

Stub

This article or section is a stub. You can help by expanding it.

Entity description

This entity is what shows the HUD for Payload maps.

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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
  • goal_node
<target_destination> Name of the last path_track on the train's path.
  • hud_min_speed_level_1
<integer>
  • hud_min_speed_level_2
<integer>
  • hud_min_speed_level_3
<integer>
  • linked_cp_1
<target> Name of the first team_control_point. This will put the circle on the HUD representing which team controls the point.
  • linked_cp_2
<target> Name of the second team_control_point.
  • linked_cp_3
<target> Name of the third team_control_point.
  • linked_pathtrack_1
<target> Name of the path_track located at the first control point. This will tell the HUD where to put said circle onto the "track"
  • linked_pathtrack_2
<target> Name of the path_track located at the second control point.
  • linked_pathtrack_3
<target> Name of the path_track located at the third control point.
  • start_node
<target> Name of the path_track the train starts at.
  • train
<target> Name of the func_tracktrain entity.

Inputs

  • SetNumTrainCappers
<integer> Basically sets how many people are standing next to the train.
  • EnableDisable:
Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

Outputs

  • OnTrainStartRecede

See Also

Creating a payload map for Team Fortress 2