bot_roster

From Valve Developer Community
Jump to navigation Jump to search
Recycle-warning.png
This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected.

bot_roster is a point entity available in Team Fortress 2 Team Fortress 2. Allows the mapper to control TFbot class selection.

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

Team (team) <choices>
Which team this roster is for.
  • auto : Any
  • red : Red Team
  • blue : Blue Team
Allow Class Changes (allowclasschanges) <boolean>
Determines if bots are allowed to change class
Allow Scout (allowscout) <boolean>
Determines if bots are allowed to change class to Scout
Allow Soldier (allowsoldier) <boolean>
Determines if bots are allowed to change class to Soldier
Allow Pyro (allowpyro) <boolean>
Determines if bots are allowed to change class to Pyro
Allow Demoman (allowdemoman) <boolean>
Determines if bots are allowed to change class to Demoman
Allow Heavy (allowheavy) <boolean>
Determines if bots are allowed to change class to Heavy
Allow Engineer (allowengineer) <boolean>
Determines if bots are allowed to change class to Engineer
Allow Medic (allowmedic) <boolean>
Determines if bots are allowed to change class to Medic
Allow Sniper (allowsniper) <boolean>
Determines if bots are allowed to change class to Sniper
Allow Spy (allowspy) <boolean>
Determines if bots are allowed to change class to Spy

Inputs

SetAllowScout <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Scout
SetAllowSniper <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Sniper
SetAllowSoldier <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Soldier
SetAllowDemoman <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Demoman
SetAllowMedic <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Medic
SetAllowHeavy <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Heavy
SetAllowPyro <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Pyro
SetAllowSpy <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Spy
SetAllowEngineer <booleanRedirectInput/boolean>
Sets if this roster should allow bots to change class to Engineer