tf_logic_vip

From Valve Developer Community
Jump to: navigation, search

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

Entity description

This entity enables the VIP game mode.

The selected teams will be forced to have exactly one VIP playing the Civilian class. The teams will also not be able to capture any control points except for their VIP.

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

Is RED escorting? (red_escort) <boolean>
Is RED team escorting VIP in this map?
Is BLU escorting? (blue_escort) <boolean>
Is BLU team escorting VIP in this map?
Is GRN escorting? (green_escort) <boolean>
Is GRN team escorting VIP in this map?
Is YLW escorting? (yellow_escort) <boolean>
Is YLW team escorting VIP in this map?
Force map reset (force_map_reset) <boolean>
Force the map to reset during the force respawn after the round is over.
Switch teams on map win? (switch_teams) <boolean>
Switch the teams when the game is going to be reset.
Show escort progress? (show_escort_progress) <boolean>
Show the progress of the VIP?
Disable VIP death announcer lines (disable_vip_death_announcer) <boolean>
Disable the voice lines that play when the VIP dies?
Bonus crit time (vip_bonus_time) <integer>
Amount of time the vip's killer gets bonus crits.

Inputs

SetRedProgressPath
Sets the path_track to use for progress calculation.
SetBlueProgressPath
Sets the path_track to use for progress calculation.
SetGreenProgressPath
Sets the path_track to use for progress calculation.
SetYellowProgressPath
Sets the path_track to use for progress calculation.

Outputs

OnRedVIPEscape
Sent when Red VIP reaches escape zone and his team wins.
OnBlueVIPEscape
Sent when Blue VIP reaches escape zone and his team wins.
OnGreenVIPEscape
Sent when Green VIP reaches escape zone and his team wins.
OnYellowVIPEscape
Sent when Yellow VIP reaches escape zone and his team wins.
OnRedVIPDeath
Sent when Red VIP dies.
OnBlueVIPDeath
Sent when Blue VIP dies.
OnGreenVIPDeath
Sent when Green VIP dies.
OnYellowVIPDeath
Sent when Yellow VIP dies.