Tf logic koth: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with '{{wrongtitle|title=tf_logic_koth}} ==Entity Description== This entity displays a red timer and a blue timer in the HUD. It creates two entities named '''zz_red_koth_timer''' and…')
 
(Updated with data from tf-abs.fgd)
Line 1: Line 1:
{{wrongtitle|title=tf_logic_koth}}
{{tf2 point|tf_logic_koth}}
==Entity Description==
 
==Entity description==
Activates King of the Hill mode.
 
This entity displays a red timer and a blue timer in the HUD.
This entity displays a red timer and a blue timer in the HUD.


Line 6: Line 9:


Another way to activate the timers is using the input '''setredkothclockactive''' or '''setbluekothclockactive''' from [[tf_gamerules]].
Another way to activate the timers is using the input '''setredkothclockactive''' or '''setbluekothclockactive''' from [[tf_gamerules]].
==Keyvalues==
{{KV Targetname}}
{{KV|Timer Length|integer|Total duration (in seconds) either team must hold the point to win.}}
{{KV|Control Point Delay|integer|Time (in seconds) before the control point unlocks.}}
==Inputs==
{{I Targetname}}
==Outputs==
{{O Targetname}}

Revision as of 01:15, 10 May 2011

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

Entity description

Activates King of the Hill mode.

This entity displays a red timer and a blue timer in the HUD.

It creates two entities named zz_red_koth_timer and zz_blue_koth_timer which have inputs like pause,resume,etc.

Another way to activate the timers is using the input setredkothclockactive or setbluekothclockactive from tf_gamerules.

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

Timer Length ([todo internal name (i)]) <integer>
Total duration (in seconds) either team must hold the point to win.
Control Point Delay ([todo internal name (i)]) <integer>
Time (in seconds) before the control point unlocks.

Inputs

Outputs