Tf logic arena: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
No edit summary
Line 14: Line 14:
* Requires exact team balance
* Requires exact team balance


==Keyvalues==
== Keyvalues ==
{{KV Targetname}}
{{KV|Control Point Delay (CapEnableDelay)|integer|Time (in seconds) before the control point unlocks.}}
{{KV|Control Point Delay (CapEnableDelay)|integer|Time (in seconds) before the control point unlocks.}}
{{KV BaseEntity}}


==Inputs==
== Outputs ==
{{I BaseEntity}}
{{O|OnArenaRoundStart|Sent when round begins.}}
 
{{O|OnCapEnabled|Sent when control point unlocks.}}
==Outputs==
{{IO|OnArenaRoundStart|Sent when round begins.}}
{{IO|OnCapEnabled|Sent when control point unlocks.}}
{{O BaseEntity}}

Revision as of 14:41, 25 September 2024

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

Entity description

This entity is how arena mode is activated. Among the things it causes:

  • No respawn or class changing during round
  • Instant spawn before round
  • First blood crit buff
  • Announcement of first blood ("First blood! That was fast!") and control point voiceover ("5. 4. 3. 2. 1. Control point unlocked. Get going!")
  • Thing on HUD that counts down from 5 in the place on top of the place control point sign usually is.
  • Thing on HUD that shows the number of people left on each side instead of timer
  • Letting dead players spectate either side.
  • Instead of choosing "Red" or "Blu", players simply have "Fight!"
  • Requires exact team balance

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

Control Point Delay (CapEnableDelay) ([todo internal name (i)]) <integer>
Time (in seconds) before the control point unlocks.

Outputs

OnArenaRoundStart
Sent when round begins.
OnCapEnabled
Sent when control point unlocks.