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:
m (add PreservedEnt) |
(add missing internal names, removed SetTeam since thats in bot_proxy not bot_roster) |
||
Line 3: | Line 3: | ||
==Entity description== | ==Entity description== | ||
Allows the mapper to control | Allows the mapper to control TFbot class selection. | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Team|choices|Which team this roster is for.}} | {{KV|Team|intn=team|choices|Which team this roster is for.}} | ||
{{KV|Allow Class Changes|boolean|Determines if bots are allowed to change class}} | :* auto : Any | ||
{{KV|Allow Scout|boolean|Determines if bots are allowed to change class to Scout}} | :* red : Red Team | ||
{{KV|Allow Soldier|boolean|Determines if bots are allowed to change class to Soldier}} | :* blue : Blue Team | ||
{{KV|Allow Pyro|boolean|Determines if bots are allowed to change class to Pyro}} | {{KV|Allow Class Changes|intn=allowclasschanges|boolean|Determines if bots are allowed to change class}} | ||
{{KV|Allow Demoman|boolean|Determines if bots are allowed to change class to Demoman}} | {{KV|Allow Scout|intn=allowscout|boolean|Determines if bots are allowed to change class to Scout}} | ||
{{KV|Allow Heavy|boolean|Determines if bots are allowed to change class to Heavy}} | {{KV|Allow Soldier|intn=allowsoldier|boolean|Determines if bots are allowed to change class to Soldier}} | ||
{{KV|Allow Engineer|boolean|Determines if bots are allowed to change class to Engineer}} | {{KV|Allow Pyro|intn=allowpyro|boolean|Determines if bots are allowed to change class to Pyro}} | ||
{{KV|Allow Medic|boolean|Determines if bots are allowed to change class to Medic}} | {{KV|Allow Demoman|intn=allowdemoman|boolean|Determines if bots are allowed to change class to Demoman}} | ||
{{KV|Allow Sniper|boolean|Determines if bots are allowed to change class to Sniper}} | {{KV|Allow Heavy|intn=allowheavy|boolean|Determines if bots are allowed to change class to Heavy}} | ||
{{KV|Allow Spy|boolean|Determines if bots are allowed to change class to Spy}} | {{KV|Allow Engineer|intn=allowengineer|boolean|Determines if bots are allowed to change class to Engineer}} | ||
{{KV|Allow Medic|intn=allowmedic|boolean|Determines if bots are allowed to change class to Medic}} | |||
{{KV|Allow Sniper|intn=allowsniper|boolean|Determines if bots are allowed to change class to Sniper}} | |||
{{KV|Allow Spy|intn=allowspy|boolean|Determines if bots are allowed to change class to Spy}} | |||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{IO|SetAllowScout|param=bool|Sets if this roster should allow bots to change class to Scout}} | |||
{{IO|SetAllowScout|param= | {{IO|SetAllowSniper|param=bool|Sets if this roster should allow bots to change class to Sniper}} | ||
{{IO|SetAllowSniper|param= | {{IO|SetAllowSoldier|param=bool|Sets if this roster should allow bots to change class to Soldier}} | ||
{{IO|SetAllowSoldier|param= | {{IO|SetAllowDemoman|param=bool|Sets if this roster should allow bots to change class to Demoman}} | ||
{{IO|SetAllowDemoman|param= | {{IO|SetAllowMedic|param=bool|Sets if this roster should allow bots to change class to Medic}} | ||
{{IO|SetAllowMedic|param= | {{IO|SetAllowHeavy|param=bool|Sets if this roster should allow bots to change class to Heavy}} | ||
{{IO|SetAllowHeavy|param= | {{IO|SetAllowPyro|param=bool|Sets if this roster should allow bots to change class to Pyro}} | ||
{{IO|SetAllowPyro|param= | {{IO|SetAllowSpy|param=bool|Sets if this roster should allow bots to change class to Spy}} | ||
{{IO|SetAllowSpy|param= | {{IO|SetAllowEngineer|param=bool|Sets if this roster should allow bots to change class to Engineer}} | ||
{{IO|SetAllowEngineer|param= | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 08:17, 18 December 2024
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