tf_base_minigame
Jump to navigation
Jump to search
tf_base_minigame
is a point entity available in Team Fortress 2.
Entity Description
Base minigame
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Red Spawn Name ([todo internal name (i)]) <string>
- The name of the spawnpoints for RED for this minigame
- Blue Spawn Name ([todo internal name (i)]) <string>
- The name of the spawnpoints for BLUE for this minigame
- Put in Random Pool ([todo internal name (i)]) <choices>
- If yes, allowed to be chosen when told to go to a random minigame
- 0 : No
- 1 : Yes
- Max Score ([todo internal name (i)]) <integer>
- When a team hits this score, the On<Team>HitMaxScore output will be fired
- Hud RES File ([todo internal name (i)]) <string>
- Res file to use for this minigame
- Your Team Score Sound ([todo internal name (i)]) <string>
- Sound file to play when your team scores a point
- Enemy Team Score Sound ([todo internal name (i)]) <string>
- Sound file to play when the enemy team scores a point
- Scoring Type ([todo internal name (i)]) <choices>
- What to use for scoring
- 0 : Points
- 1 : Players Alive
- Sudden Death Time ([todo internal name (i)]) <float>
- Time until sudden death starts (-1 for sudden death)
Inputs
- ScoreTeamRed <integer>
- Give points to RED
- ScoreTeamBlue <integer>
- Give points to BLUE
- ReturnFromMinigame
- Force players to return from the current minigame.
- ChangeHudResFile <integer>
- Change the HUD resource file.
Outputs
- OnReturnFromMinigame
- Sent when players return from this minigame.
- OnTeleportToMinigame
- Sent when players arrive to this minigame.
- OnRedHitMaxScore
- Sent when RED hits the max score for this minigame.
- OnBlueHitMaxScore
- Sent when BLUE hits the max score for this minigame.
- OnAllRedDead
- Sent when the entire RED team is dead.
- OnAllBlueDead
- Sent when the entire BLUE team is dead.
- OnSuddenDeathStart
- Sent when sudden death starts.