tf_logic_minigames

From Valve Developer Community
Revision as of 10:57, 16 June 2021 by Amicdict (talk | contribs) (Created entity page. [Information from the Jungle Inferno leak of TF2. Fact check the page.])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

C++ In code, it is represented by theCTFMinigameLogicclass, defined in thetf_logic_halloween_2014.cppfile.

Entity Description

This entity handles minigame logic of three minigames:

Generic Minigame = 0
Halloween 2014 Minigame Collection = 1
Halloween 2014 Minigame Platforms = 2
Halloween 2014 Soccer Minigame = 3

This entity has an advantaged team mechanic for the kart minigame, where if a team loses, then all players on that time will get 66 damage added onto their kart in the next round.

Keyvalues

Inputs

TeleportToMinigame <integerRedirectInput/integer>
Teleports all players to specified minigame.
SetAdvantageTeam <stringRedirectInput/string>
Sets which team has an advantage.
TeleportToRandomMinigame
Teleports players to a random minigame.
ReturnFromMinigame
Forces all players to respawn and ends the minigame.


Outputs