Bot roster: Difference between revisions
Jump to navigation
Jump to search
Important:This is a preserved entity in
.
If the game has round restart mechanics this entity may not behave as expected:
(add missing internal names, removed SetTeam since thats in bot_proxy not bot_roster) |
m (→Inputs: Substituted IO templates) |
||
Line 24: | Line 24: | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{ | {{I|SetAllowScout|param=bool|Sets if this roster should allow bots to change class to Scout}} | ||
{{ | {{I|SetAllowSniper|param=bool|Sets if this roster should allow bots to change class to Sniper}} | ||
{{ | {{I|SetAllowSoldier|param=bool|Sets if this roster should allow bots to change class to Soldier}} | ||
{{ | {{I|SetAllowDemoman|param=bool|Sets if this roster should allow bots to change class to Demoman}} | ||
{{ | {{I|SetAllowMedic|param=bool|Sets if this roster should allow bots to change class to Medic}} | ||
{{ | {{I|SetAllowHeavy|param=bool|Sets if this roster should allow bots to change class to Heavy}} | ||
{{ | {{I|SetAllowPyro|param=bool|Sets if this roster should allow bots to change class to Pyro}} | ||
{{ | {{I|SetAllowSpy|param=bool|Sets if this roster should allow bots to change class to Spy}} | ||
{{ | {{I|SetAllowEngineer|param=bool|Sets if this roster should allow bots to change class to Engineer}} | ||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 23:06, 20 April 2025
bot_roster
is a point entity available in Team Fortress 2.


If the game has round restart mechanics this entity may not behave as expected:
|
Entity description
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
ortarget
).
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 <boolean >
- Sets if this roster should allow bots to change class to Scout
- SetAllowSniper <boolean >
- Sets if this roster should allow bots to change class to Sniper
- SetAllowSoldier <boolean >
- Sets if this roster should allow bots to change class to Soldier
- SetAllowDemoman <boolean >
- Sets if this roster should allow bots to change class to Demoman
- SetAllowMedic <boolean >
- Sets if this roster should allow bots to change class to Medic
- SetAllowHeavy <boolean >
- Sets if this roster should allow bots to change class to Heavy
- SetAllowPyro <boolean >
- Sets if this roster should allow bots to change class to Pyro
- SetAllowSpy <boolean >
- Sets if this roster should allow bots to change class to Spy
- SetAllowEngineer <boolean >
- Sets if this roster should allow bots to change class to Engineer