Tf logic robot destruction: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 11: Line 11:
{{KV|max_points|int|The number of cores to collect to win a round}}
{{KV|max_points|int|The number of cores to collect to win a round}}
{{KV|max_robots|int|The maximum number of robots active at the same time}}
{{KV|max_robots|int|The maximum number of robots active at the same time}}
{{KV|score_interval|int|How often a robot should score a point while hacking}}
{{KV|score_interval|float|How often a robot should score a point while hacking}}


==Inputs==
==Inputs==

Revision as of 13:28, 22 January 2015

Team Fortress 2 tf_logic_robot_destruction is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

The master control entity for the robot destruction game mode.

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

blue_respawn_time ([todo internal name (i)]) <float>
The base respawn time for BLU team
red_respawn_time ([todo internal name (i)]) <float>
The base respawn time for RED team
loser_respawn_bonus_per_bot ([todo internal name (i)]) <float>
max_points ([todo internal name (i)]) <integer>
The number of cores to collect to win a round
max_robots ([todo internal name (i)]) <integer>
The maximum number of robots active at the same time
score_interval ([todo internal name (i)]) <float>
How often a robot should score a point while hacking

Inputs

Outputs

OnBlueFirstFlagStolen
OnBlueFlagStolen
OnBlueHasPoints
OnBlueHitMaxPoints
OnBlueLastFlagReturned
OnRedFirstFlagStolen
OnRedFlagStolen
OnRedHasPoints
OnRedHitMaxPoints
OnRedLastFlagReturned