Difference between revisions of "User:K-Mac/Bots (Classic)"
(→Foxbot Commands) |
(→Foxbot Commands) |
||
Line 52: | Line 52: | ||
:<code><''skill''></code> | :<code><''skill''></code> | ||
− | ::Sets the skill level for the bot. Skill can be | + | ::Sets the skill level for the bot. Skill can be 1 being best to 5 being worst. |
;Example: <code>botadd 1 3 TFC_bot 1</code> will spawn a soldier named ''TFC_bot'' with a high skill level. | ;Example: <code>botadd 1 3 TFC_bot 1</code> will spawn a soldier named ''TFC_bot'' with a high skill level. | ||
Line 63: | Line 63: | ||
;Parameters: | ;Parameters: | ||
:<code><''level''></code> | :<code><''level''></code> | ||
− | ::Ranges from | + | ::Ranges from 1 being best to 5 being worst. Default is 1 (highest). |
;Example: <code>botskill_upper 2</code> will set all bots that join the game to no higher than a skill level of 2. | ;Example: <code>botskill_upper 2</code> will set all bots that join the game to no higher than a skill level of 2. | ||
Line 74: | Line 74: | ||
;Parameters: | ;Parameters: | ||
:<code><''level''></code> | :<code><''level''></code> | ||
− | ::Ranges from | + | ::Ranges from 1 being best to 5 being worst. Default is 3 (medium). |
;Example: <code>botskill_lower 4</code> will set all bots that join the game to no lower than a skill level of 4. | ;Example: <code>botskill_lower 4</code> will set all bots that join the game to no lower than a skill level of 4. | ||
Line 85: | Line 85: | ||
;Parameters: | ;Parameters: | ||
:<code><''level''></code> | :<code><''level''></code> | ||
− | :: The level can range from | + | :: The level can range from 0, bots of skill ''1'' will have the best accuracy possible, to 200 bots of skill ''1'' will have the worst accuracy possible. Default is 30. |
;Example: <code>bot_skill__aim 10</code> will set all bots with a skill level of 1 to have moderately accurate aiming. | ;Example: <code>bot_skill__aim 10</code> will set all bots with a skill level of 1 to have moderately accurate aiming. | ||
|- | |- | ||
|{{nw|<big>'''bot_aim_per_skill'''</big>}} | |{{nw|<big>'''bot_aim_per_skill'''</big>}} | ||
− | |This command will affect the accuracy of all bots that have a skill between | + | |This command will affect the accuracy of all bots that have a skill between 2 and 5 in the game or that join the game. It sets the difference in inaccuracy between one bot skill level and the next. |
;Syntax: <code>bot_aim_per_skill <''level''></code> | ;Syntax: <code>bot_aim_per_skill <''level''></code> | ||
Line 96: | Line 96: | ||
;Parameters: | ;Parameters: | ||
:<code><''level''></code> | :<code><''level''></code> | ||
− | :: Ranges from | + | :: Ranges from 5 to 50. For example, if you set it to 20 and bots of skill level 1 have an inaccuracy of 30 then a bot of skill 2 will have an inaccuracy of 50, and a bot of skill level 3 will have an inaccuracy of 70. Default is 10. |
;Example: <code>bot_aim_per_skill 20</code> will set the skill of bots of skill between ''2'' and ''5'' to be incrementally 20 higher than what skill level of bot_skill_1_aim is set at. | ;Example: <code>bot_aim_per_skill 20</code> will set the skill of bots of skill between ''2'' and ''5'' to be incrementally 20 higher than what skill level of bot_skill_1_aim is set at. | ||
|- | |- | ||
|{{nw|<big>'''bot_chat'''</big>}} | |{{nw|<big>'''bot_chat'''</big>}} | ||
− | |This command lets you influence how often the bots ''trash talk''. | + | |This command lets you influence how often the bots ''"trash talk"''. |
;Syntax: <code>bot_chat <''number''></code> | ;Syntax: <code>bot_chat <''number''></code> | ||
Line 107: | Line 107: | ||
;Parameters: | ;Parameters: | ||
:<code><''number''></code> | :<code><''number''></code> | ||
− | ::Ranges from | + | ::Ranges from 0, meaning none at all, to 1000, being very frequently. |
− | ;Example: <code>bot_chat 950</code> will make all bots ''trash talk'' quiet often. | + | ;Example: <code>bot_chat 950</code> will make all bots ''"trash talk"'' quiet often. |
|- | |- | ||
|{{nw|<big>'''min_bots'''</big>}} | |{{nw|<big>'''min_bots'''</big>}} | ||
Line 118: | Line 118: | ||
;Parameters: | ;Parameters: | ||
:<code><''number''></code> | :<code><''number''></code> | ||
− | ::Ranges from 0 to 32. Sets the minimum number of bots on the server. -1 disables this command | + | ::Ranges from 0 to 32. Sets the minimum number of bots on the server. -1 disables this command. Default is 12. |
;Example: <code>min_bots 10</code> will ensure there are at least 10 bots on the server. | ;Example: <code>min_bots 10</code> will ensure there are at least 10 bots on the server. | ||
Line 129: | Line 129: | ||
;Parameters: | ;Parameters: | ||
:<code><''number''></code> | :<code><''number''></code> | ||
− | ::Ranges from 0 to 32. Sets the maximum number of bots on the server. -1 disables this command | + | ::Ranges from 0 to 32. Sets the maximum number of bots on the server. -1 disables this command. Default is 20. |
;Example: <code>max_bots 15</code> will ensure there are no more than 15 bots on the server. | ;Example: <code>max_bots 15</code> will ensure there are no more than 15 bots on the server. | ||
|- | |- | ||
|{{nw|<big>'''bot_total_varies'''</big>}} | |{{nw|<big>'''bot_total_varies'''</big>}} | ||
− | |If zero, command is disabled. | + | |Sets the number of bots on the server to fluctuate from min_bots to max_bots randomly. This simulates players on an Internet public server. If zero, command is disabled. |
+ | ;Syntax: <code>bot_total_varies <''number''></code> | ||
− | + | ;Parameters: | |
+ | :<code><''number''></code> | ||
+ | ::Ranges from 0 to 3. The higher you set it the more often the numbers of bots playing will change. 0 disables this command. Default is 2. | ||
− | + | ;Example: <code>bot_total_varies 3</code> cause the number of bots to fluctuate between the min_bots and max_bots number somewhat frequently. | |
− | + | |- | |
+ | |{{nw|<big>'''bot_team_balance'''</big>}} | ||
+ | |This command will allow bots to automatically switch when teams become uneven. If disabled, bots will attempt to decide for themselves if and when they balance the teams out. | ||
+ | ;Syntax: <code>bot_team_balance <''number''></code> | ||
− | ;Syntax: <code> | + | ;Parameters: |
+ | :<code><''number''></code> | ||
+ | ::Either 1 or 0. Default is 0 (disabled). | ||
+ | |||
+ | ;Example: <code>bot_team_balance 1</code> allow bots to automatically switch teams if they become uneven. | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_bot_balance'''</big>}} | ||
+ | |This command will attempt to maintain an even bot to human ratio between the teams. There may be bugs associated with this command. If disabled, bots will attempt to decide for themselves if and when they balance the teams out. | ||
+ | |||
+ | ;Syntax: <code>bot_bot_balance <''number''></code> | ||
;Parameters: | ;Parameters: | ||
Line 149: | Line 164: | ||
::Either 1 or 0. Default is 0 (disabled). | ::Either 1 or 0. Default is 0 (disabled). | ||
− | ;Example: <code> | + | ;Example: <code>bot_bot_balance 1</code> allow bots to automatically switch teams to maintain an even human to bot ratio. |
|- | |- | ||
− | |{{nw|<big>''' | + | |{{nw|<big>'''pause'''</big>}} |
− | | | + | |The delay in seconds before bots join a game. |
− | |||
− | ;Syntax: <code> | + | ;Syntax: <code>pause <''number''></code> |
;Parameters: | ;Parameters: | ||
− | :<code><'' | + | :<code><''number''></code> |
− | :: | + | ::Ranges from 0 to 100. Default is 2. |
+ | |||
+ | ;Example: <code>pause 25</code> will cause added bots after waiting 25 seconds. | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_create_interval'''</big>}} | ||
+ | |Time(measured in seconds) between auto-creating one bot and the next. Note: On slower machines and/or old versions of TFC setting this to 1 or 2 might(or might not) cause your server to crash(caused by a Half-Life bug).Setting this to 3 will be safe if settings 1 or 2 cause any instability. | ||
+ | |||
+ | ;Syntax: <code>bot_create_interval <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Ranges between 1 and 8. Default is 2. | ||
− | ;Example: <code> | + | ;Example: <code>bot_create_interval 3</code> will force a 3 second wait between the creation of each bot. |
|- | |- | ||
− | |{{nw|<big>''' | + | |{{nw|<big>'''bot_xmas'''</big>}} |
− | | | + | |Determines whether the bots will celebrate Christmas/birthday mode. |
− | ;Syntax: <code> | + | ;Syntax: <code>bot_xmas <''on/off''></code> |
;Parameters: | ;Parameters: | ||
− | :<code><'' | + | :<code><''on/off''></code> |
− | ::Either 1 or 0. Default is 0 ( | + | ::Either on or off. Default is off. |
+ | |||
+ | ;Example: <code>bot_xmas on</code> will allow bots to celebrate Christmas/birthday mode | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_allow_moods'''</big>}} | ||
+ | |If enabled, any bots created will be given random personality traits and/or moods. If disabled, all the bots to have the same personality profile. | ||
+ | |||
+ | ;Syntax: <code>bot_allow_moods <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Either 1 or 0. Default is 1 (enabled). | ||
+ | |||
+ | ;Example: <code>bot_allow_moods 1</code> will allow bots to have random personality traits. | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_allow_humor'''</big>}} | ||
+ | |If enabled, bots are allowed to go crazy occasionally and do daft stuff such as using melee weapons only, or go looking for walls to graffiti. | ||
+ | |||
+ | ;Syntax: <code>bot_allow_humor <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Either 1 or 0. Default is 1 (enabled). | ||
+ | |||
+ | ;Example: <code>bot_allow_humor 1</code> will allow bots to act randomly. | ||
+ | |- | ||
+ | |{{nw|<big>'''defensive_chatter'''</big>}} | ||
+ | |If enabled, bots will announce defense related messages. | ||
+ | |||
+ | ;Syntax: <code>defensive_chatter <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Either 1 or 0. Default is 1 (enabled). | ||
+ | |||
+ | ;Example: <code>defensive_chatter 1</code> will allow bots to utilize defensive related chatter. | ||
+ | |- | ||
+ | |{{nw|<big>'''offensive_chatter'''</big>}} | ||
+ | |If enabled, bots will announce offense related messages. | ||
+ | |||
+ | ;Syntax: <code>offensive_chatter <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Either 1 or 0. Default is 1 (enabled). | ||
+ | |||
+ | ;Example: <code>offensive_chatter 1</code> will allow bots to utilize defensive related chatter. | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_can_use_teleporter'''</big>}} | ||
+ | |If enabled, bots will use teleporters, if appropriate. | ||
+ | |||
+ | ;Syntax: <code>bot_can_use_teleporter <''on/off''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''on/off''></code> | ||
+ | ::Either on or off. Default is on. | ||
+ | |||
+ | ;Example: <code>bot_can_use_teleporter on</code> will allow bots to utilize defensive related chatter. | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_can_build_teleporter'''</big>}} | ||
+ | |If enabled, bots will attempt to build teleporters, if appropriate. | ||
+ | |||
+ | ;Syntax: <code>bot_can_build_teleporter <''on/off''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''on/off''></code> | ||
+ | ::Either on or off. Default is on. | ||
+ | |||
+ | ;Example: <code>bot_can_build_teleporter on</code> will allow bots to utilize defensive related chatter. | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_use_grenades'''</big>}} | ||
+ | |If enabled, bots use grenades at appropriate times. | ||
+ | |||
+ | ;Syntax: <code>bot_use_grenades <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Ranges from 0 to 2. Default is 2. | ||
+ | :::0 = No grenade usage at all. | ||
+ | :::1 = Concussion jumping is allowed. | ||
+ | :::2 = The bots can use all grenades freely. | ||
+ | |||
+ | ;Example: <code>bot_use_grenades 1</code> will allow bots to use grenades only for concussion jumping. | ||
+ | |- | ||
+ | |{{nw|<big>'''botdontshoot'''</big>}} | ||
+ | |Sets whether or not the bots will shoot. When enabled, bots will run past each other without shooting. | ||
+ | |||
+ | ;Syntax: <code>botdontshoot <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Either 1 or 2. Default is 2. | ||
+ | :::1 = bots do not shoot. | ||
+ | :::2 = bots will shoot. | ||
+ | |||
+ | ;Example: <code>botdontshoot 1</code> will force the bots not to shoot. | ||
+ | |- | ||
+ | |{{nw|<big>'''bot_info'''</big>}} | ||
+ | |Shows foxbot information: foxbot variables, foxbot info, & foxbot version. | ||
+ | |||
+ | ;Syntax: <code>bot_info</code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :'''none''' | ||
+ | |||
+ | ;Example: <code>bot_info</code> will display foxbot variables, foxbot info, and foxbot version. | ||
+ | |- | ||
+ | |{{nw|<big>'''botcam'''</big>}} | ||
+ | |The botcam allows you to see through the eyes of the bot showing what it sees and targets. It also reveals debug information about the bot. | ||
+ | |||
+ | ;Syntax: <code>botcam <''botname''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''botname''></code> | ||
+ | ::botname is the name of the bot you wish to see. | ||
+ | |||
+ | ;Example: <code>botcam TFC_bot</code> will let you see what '''TFC_bot''' is looking at. | ||
+ | |- | ||
+ | |{{nw|<big>'''spectate_debug'''</big>}} | ||
+ | |This command only works on listen servers, and was created mainly for development use. When the (spectating) host player gets near to a bot some information will appear about the bot and the waypoints it is interested in. | ||
+ | |||
+ | ;Syntax: <code>spectate_debug <''number''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''number''></code> | ||
+ | ::Ranges from 0 to 3. | ||
+ | :::0 = off, | ||
+ | :::1 = show the bots job buffer(what it's thinking about), | ||
+ | :::2 = show any blacklisted jobs(any jobs it is temporarily ignoring), | ||
+ | :::3 = show some of the bots navigation info. | ||
− | ;Example: <code> | + | ;Example: <code>spectate_debug 1</code> will show what waypoints the bot is thinking about. |
|- | |- | ||
− | |{{nw|<big>''' | + | |{{nw|<big>'''kick'''</big>}} |
− | | | + | |Kicks a bot. |
− | ;Syntax: <code> | + | ;Syntax: <code>kick <''botname''></code> |
;Parameters: | ;Parameters: | ||
− | :<code><'' | + | :<code><''botname''></code> |
− | :: | + | ::botname is the name of the bot you wish to see. |
− | ;Example: <code> | + | ;Example: <code>kick TFC_bot</code> will kick TFC_bot from the server. |
|- | |- | ||
− | |{{nw|<big>''' | + | |{{nw|<big>'''kickall'''</big>}} |
− | | | + | |Kicks all bots. |
− | ;Syntax: <code> | + | ;Syntax: <code>kickall</code> |
;Parameters: | ;Parameters: | ||
− | : | + | :'''none''' |
− | |||
− | |||
− | |||
− | ;Example: <code> | + | ;Example: <code>kickall</code> will kick all bots from the server. |
|} | |} |
Revision as of 22:42, 27 December 2010
Bot Types
- FoxBot
- Oddbot
- HPBbot
- ABot
Bots are not fully supported in Team Fortress Classic as no bot is included with purchase. Unlike Team Fortress 2, third-party modifications are necessary to host a server with bots. The following section lists the most popular bots available with a list of strengths and weaknesses, and a list of commands.
Foxbot
Foxbot Behavior
- Bots currently can not use or equip unlockable content, including: non-standard Weapons, Hats, or Miscellaneous items.
- Bots currently can not jump, rocket jump or sticky jump.
- If a bot kills a player, they roll a chance to taunt immediately after and if it succeeds, they will taunt even if they are under enemy fire.
- When a bot sees a disguised enemy Spy, it will watch the Spy's movement. The bot will not attack the disguised Spy unless the Spy attacks or bumps into one of the bots.
- Pyro bots will use the Compression blast against projectiles regularly.
- List strengths
- Lots of waypoints available
- Still being updated
- Variable Skill
- Chat personalities available (aggressive, sarcastic, humorous, etc.)
- Attempt to report location of dropped flag
- Bots will change classes if they are doing poorly against a particular threat
- If playing as civilian class, will attempt to stay near allies.
- List weaknesses
- Reliance on waypoints for each map
Foxbot Commands
For Foxbot to work properly, a map with a proper waypoint must be used. Foxbot's installation provides waypoints for 516 maps, including all Team Fortress Classic standard maps and deathmatch maps from Half-life.
Command | Description |
---|---|
addbot | This command will creates one bot.
|
botskill_upper | Sets the best possible skill level to be randomly assigned to bots that join the game automatically.
|
botskill_lower | Sets the worst possible skill level to be randomly assigned to bots that join the game automatically.
|
bot_skill_1_aim | This command will affect the accuracy of all bots that have a skill of 1 (highest skill level) in the game or that join the game.
|
bot_aim_per_skill | This command will affect the accuracy of all bots that have a skill between 2 and 5 in the game or that join the game. It sets the difference in inaccuracy between one bot skill level and the next.
|
bot_chat | This command lets you influence how often the bots "trash talk".
|
min_bots | If nonzero, a minimum number of bots is maintained.
|
max_bots | If nonzero, a maximum number of bots is maintained.
|
bot_total_varies | Sets the number of bots on the server to fluctuate from min_bots to max_bots randomly. This simulates players on an Internet public server. If zero, command is disabled.
|
bot_team_balance | This command will allow bots to automatically switch when teams become uneven. If disabled, bots will attempt to decide for themselves if and when they balance the teams out.
|
bot_bot_balance | This command will attempt to maintain an even bot to human ratio between the teams. There may be bugs associated with this command. If disabled, bots will attempt to decide for themselves if and when they balance the teams out.
|
pause | The delay in seconds before bots join a game.
|
bot_create_interval | Time(measured in seconds) between auto-creating one bot and the next. Note: On slower machines and/or old versions of TFC setting this to 1 or 2 might(or might not) cause your server to crash(caused by a Half-Life bug).Setting this to 3 will be safe if settings 1 or 2 cause any instability.
|
bot_xmas | Determines whether the bots will celebrate Christmas/birthday mode.
|
bot_allow_moods | If enabled, any bots created will be given random personality traits and/or moods. If disabled, all the bots to have the same personality profile.
|
bot_allow_humor | If enabled, bots are allowed to go crazy occasionally and do daft stuff such as using melee weapons only, or go looking for walls to graffiti.
|
defensive_chatter | If enabled, bots will announce defense related messages.
|
offensive_chatter | If enabled, bots will announce offense related messages.
|
bot_can_use_teleporter | If enabled, bots will use teleporters, if appropriate.
|
bot_can_build_teleporter | If enabled, bots will attempt to build teleporters, if appropriate.
|
bot_use_grenades | If enabled, bots use grenades at appropriate times.
|
botdontshoot | Sets whether or not the bots will shoot. When enabled, bots will run past each other without shooting.
|
bot_info | Shows foxbot information: foxbot variables, foxbot info, & foxbot version.
|
botcam | The botcam allows you to see through the eyes of the bot showing what it sees and targets. It also reveals debug information about the bot.
|
spectate_debug | This command only works on listen servers, and was created mainly for development use. When the (spectating) host player gets near to a bot some information will appear about the bot and the waypoints it is interested in.
|
kick | Kicks a bot.
|
kickall | Kicks all bots.
|