tf_logic_domination

From Valve Developer Community
Jump to: navigation, search

tf_logic_domination is a point entity available in Team Fortress 2 Classic Team Fortress 2 Classic.

This entity enables the Domination game mode and its HUD.

Keyvalues

Name (targetname) <string>
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

Point Limit (point_limit) ([todo internal name (i)]) <integer>
Amount of points required to win a Domination round.
Win on Point Limit? (win_on_limit) ([todo internal name (i)]) <boolean>
First team to reach point limit wins immediately.
Kills award points? (kills_give_points) ([todo internal name (i)]) <boolean>
Kills award points to the killers team.

Inputs

AddRedPoints
Add to RED team Domination points (can be a negative number).
AddBluePoints
Add to BLU team Domination points (can be a negative number).
AddGreenPoints
Add to GRN team Domination points (can be a negative number).
AddYellowPoints
Add to YLW team Domination points (can be a negative number).
SetRedPoints
Set the RED team Domination points.
Icon-Bug.pngBug*:As of 2.0.3, this currently behaves identically to AddRedPoints.
SetBluePoints
Set BLU team Domination points.
Icon-Bug.pngBug*:As of 2.0.3, this currently behaves identically to AddBluePoints.
SetGreenPoints
Set GRN team Domination points.
SetYellowPoints
Set YLW team Domination points.

Outputs

OnPointLimitAny
Sent when a team hits the point limit.
OnPointLimitRed
Sent when a team hits the point limit.
OnPointLimitBlue
Sent when a team hits the point limit.
OnPointLimitGreen
Sent when a team hits the point limit.
OnPointLimitYellow
Sent when a team hits the point limit.