Tf base minigame: Difference between revisions
Jump to navigation
Jump to search
Warning:
mNo edit summary |
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
||
Line 1: | Line 1: | ||
{{tf2 | {{this is a|e0|game=tf2|name=tf_base_minigame}} | ||
==Entity Description== | ==Entity Description== |
Revision as of 09:16, 7 January 2024
tf_base_minigame
is an e0 available in Team Fortress 2.

- The {{{game}}} parameter is inconsistent with the name defined by the {{tf2}} template. This can most likely be fixed by setting the value of the {{{game}}} parameter to Team Fortress 2.
If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.
Entity Description
Base minigame
Keyvalues
- Name (targetname) <string>[ Edit ]
- 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
- 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.