Bot roster: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{tf2 point|bot_roster}} ==Entity description== Determines the classes bots are allowed to use. ==Keyvalues== {{KV Targetname}} {{KV|Team|choices|Which team this roster is for.…') |
(Added information on keyvalues and inputs) |
||
Line 7: | Line 7: | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Team|choices|Which team this roster is for.}} | {{KV|Team|choices|Which team this roster is for.}} | ||
{{KV|Allow Class Changes|boolean}} | {{KV|Allow Class Changes|boolean|Determines if bots are allowed to change class}} | ||
{{KV|Allow Scout|boolean}} | {{KV|Allow Scout|boolean|Determines if bots are allowed to change class to Scout}} | ||
{{KV|Allow Soldier|boolean}} | {{KV|Allow Soldier|boolean|Determines if bots are allowed to change class to Soldier}} | ||
{{KV|Allow Pyro|boolean}} | {{KV|Allow Pyro|boolean|Determines if bots are allowed to change class to Pyro}} | ||
{{KV|Allow Demoman|boolean}} | {{KV|Allow Demoman|boolean|Determines if bots are allowed to change class to Demoman}} | ||
{{KV|Allow Heavy|boolean}} | {{KV|Allow Heavy|boolean|Determines if bots are allowed to change class to Heavy}} | ||
{{KV|Allow Engineer|boolean}} | {{KV|Allow Engineer|boolean|Determines if bots are allowed to change class to Engineer}} | ||
{{KV|Allow Medic|boolean}} | {{KV|Allow Medic|boolean|Determines if bots are allowed to change class to Medic}} | ||
{{KV|Allow Sniper|boolean}} | {{KV|Allow Sniper|boolean|Determines if bots are allowed to change class to Sniper}} | ||
{{KV|Allow Spy|boolean}} | {{KV|Allow Spy|boolean|Determines if bots are allowed to change class to Spy}} | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{IO|SetTeam|param=string}} | {{IO|SetTeam|param=string|Sets the team this roster should affect}} | ||
{{IO|SetAllowScout|param=integer}} | {{IO|SetAllowScout|param=integer|Sets if this roster should allow bots to change class to Scout}} | ||
{{IO|SetAllowSniper|param=integer}} | {{IO|SetAllowSniper|param=integer|Sets if this roster should allow bots to change class to Sniper}} | ||
{{IO|SetAllowSoldier|param=integer}} | {{IO|SetAllowSoldier|param=integer|Sets if this roster should allow bots to change class to Soldier}} | ||
{{IO|SetAllowDemoman|param=integer}} | {{IO|SetAllowDemoman|param=integer|Sets if this roster should allow bots to change class to Demoman}} | ||
{{IO|SetAllowMedic|param=integer}} | {{IO|SetAllowMedic|param=integer|Sets if this roster should allow bots to change class to Medic}} | ||
{{IO|SetAllowHeavy|param=integer}} | {{IO|SetAllowHeavy|param=integer|Sets if this roster should allow bots to change class to Heavy}} | ||
{{IO|SetAllowPyro|param=integer}} | {{IO|SetAllowPyro|param=integer|Sets if this roster should allow bots to change class to Pyro}} | ||
{{IO|SetAllowSpy|param=integer}} | {{IO|SetAllowSpy|param=integer|Sets if this roster should allow bots to change class to Spy}} | ||
{{IO|SetAllowEngineer|param=integer}} | {{IO|SetAllowEngineer|param=integer|Sets if this roster should allow bots to change class to Engineer}} | ||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 15:30, 9 January 2019
bot_roster
is a point entity available in Team Fortress 2.
Entity description
Determines the classes bots are allowed to use.
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 ([todo internal name (i)]) <choices>
- Which team this roster is for.
- Allow Class Changes ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class
- Allow Scout ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Scout
- Allow Soldier ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Soldier
- Allow Pyro ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Pyro
- Allow Demoman ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Demoman
- Allow Heavy ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Heavy
- Allow Engineer ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Engineer
- Allow Medic ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Medic
- Allow Sniper ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Sniper
- Allow Spy ([todo internal name (i)]) <boolean>
- Determines if bots are allowed to change class to Spy
Inputs
- SetTeam <string >
- Sets the team this roster should affect
- SetAllowScout <integer >
- Sets if this roster should allow bots to change class to Scout
- SetAllowSniper <integer >
- Sets if this roster should allow bots to change class to Sniper
- SetAllowSoldier <integer >
- Sets if this roster should allow bots to change class to Soldier
- SetAllowDemoman <integer >
- Sets if this roster should allow bots to change class to Demoman
- SetAllowMedic <integer >
- Sets if this roster should allow bots to change class to Medic
- SetAllowHeavy <integer >
- Sets if this roster should allow bots to change class to Heavy
- SetAllowPyro <integer >
- Sets if this roster should allow bots to change class to Pyro
- SetAllowSpy <integer >
- Sets if this roster should allow bots to change class to Spy
- SetAllowEngineer <integer >
- Sets if this roster should allow bots to change class to Engineer