Difference between revisions of "User:K-Mac/Bots (Classic)"
(Created page with 'Place saver...Looking for opinions on how to do this since there was no official bot.') |
|||
Line 1: | Line 1: | ||
Place saver...Looking for opinions on how to do this since there was no official bot. | Place saver...Looking for opinions on how to do this since there was no official bot. | ||
+ | |||
+ | |||
+ | ==Bot Types== | ||
+ | *Oddbot | ||
+ | *HPAbot | ||
+ | *PodBot | ||
+ | |||
+ | : List strengths | ||
+ | ::Lots of waypoints available | ||
+ | : List weaknesses | ||
+ | ::Reliance on waypoints for each map | ||
+ | |||
+ | ====AI Bot Behavior==== | ||
+ | * Bots currently can not use or equip unlockable content, including: non-standard [[Weapons]], [[Hats]], or [[Miscellaneous items]]. | ||
+ | * Bots currently can not [[Jumping|jump]], [[Rocketjump#Rocket jumps|rocket jump]] or [[Stickyjump#Sticky jumps|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. | ||
+ | |||
+ | ===AI Bot Commands=== | ||
+ | To use AI bots on supported maps, the server administrator should type the following commands into the console: | ||
+ | |||
+ | {| class="wikitable grid" | ||
+ | ! class="header" | Command | ||
+ | ! class="header" | Description | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_add'''</big>}} | ||
+ | |This command will create one or more AI bots of random classes on random teams. They will also be assigned amusing human-like names. | ||
+ | |||
+ | ;Syntax: <code>tf_bot_add [<''count''>] [<''class''>] [<''team''>] [<''difficulty''>]</code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''count''></code> | ||
+ | ::Specifies the number of bots to spawn. If omitted, one bot is spawned. | ||
+ | ::As of this writing, specifying a number greater than the maximum number of players, including any human players, causes the bots to freeze. Thus if you have a 24 player server (the default), and one human player, do not spawn more than 23 bots. | ||
+ | |||
+ | :<code><''class''></code> | ||
+ | ::The ''classname'' of the class can be ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]Weapons'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', or ''[[Spy]]'' | ||
+ | |||
+ | :<code><''team''></code> | ||
+ | ::Specifies the team name to assign the bot, where ''team'' can be ''[[red]]'' or ''[[blue]]''. | ||
+ | |||
+ | :<code><''difficulty></code> | ||
+ | ::Sets the difficulty level for the bot, where ''difficulty'' can be ''easy'', ''normal'', or ''hard''. | ||
+ | |||
+ | ;Example: <code>tf_bot_add red 3 heavyweapons easy</code> will add three Heavies to the RED team at the easy skill level. | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_difficulty'''</big>}} | ||
+ | |Defines the skill of bots joining the game. | ||
+ | |||
+ | ;Syntax: <code>tf_bot_difficulty <''level''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''level''></code> | ||
+ | ::Sets the difficulty level for the bots. Values are: 0=easy, 1=normal, 2=hard, 3=expert. Default is "Normal" (1). | ||
+ | |||
+ | ;Example: <code>tf_bot_difficulty 2</code> will set all bots created after this command to "Hard" difficulty. | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_force_class'''</big>}} | ||
+ | |If set to a class name, all TFBots will respawn as that class. | ||
+ | |||
+ | ;Syntax: <code>tf_bot_force_class <''class''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''class''></code> | ||
+ | ::The ''classname'' of the class can be ''[[Demoman]]'', ''[[Engineer]]'', ''[[Heavy]]Weapons'', ''[[Medic]]'', ''[[Pyro]]'', ''[[Scout]]'', ''[[Soldier]]'', ''[[Sniper]]'', or ''[[Spy]]''. Default is "" (aka blank). | ||
+ | |||
+ | ;Example: <code>tf_bot_force_class medic</code> will make all TFbots respawn as Medic. | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_join_after_player'''</big>}} | ||
+ | |If nonzero, bots wait until a player joins before entering the game. | ||
+ | |||
+ | ;Syntax: <code>tf_bot_join_after_player <''integer''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''integer''></code> | ||
+ | ::Either 1 or 0. Default is 1 (enabled). | ||
+ | |||
+ | ;Example: <code>tf_bot_join_after_player 0</code> will make TFBots join the game when added even if no players are on a team. | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_keep_class_after_death'''</big>}} | ||
+ | |If zero, bots will always respawn as a different class. | ||
+ | |||
+ | ;Syntax: <code>tf_bot_keep_class_after_death <''integer''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''integer''></code> | ||
+ | ::Either 1 or 0. Default is 0 (disabled). | ||
+ | |||
+ | ;Example: <code>tf_bot_keep_class_after_death 1</code> will prevent TFBots from changing class. | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_kick'''</big>}} | ||
+ | | | ||
+ | This command will remove one or all AI bots. | ||
+ | |||
+ | ;Syntax: <code>tf_bot_kick <''name/all''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''name/all''></code> | ||
+ | ::Specifies the name of bot to remove or all. | ||
+ | |||
+ | ;Example: <code>tf_bot_kick CEDA</code> will kick the TFbot named "CEDA" if one exists. | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_prefix_name_with_difficulty'''</big>}} | ||
+ | |If nonzero, append the skill level of the bot to the bot's name | ||
+ | |||
+ | ;Syntax: <code>tf_bot_prefix_name_with_difficulty <''integer''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''integer''></code> | ||
+ | ::Either 1 or 0. Default is 0 (disabled). | ||
+ | |||
+ | ;Example: <code>tf_bot_prefix_name_with_difficulty 1</code> will cause added bots to have names like "1 Aimbot" (normal) and "3 Saxton Hale" (expert). | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_quota'''</big>}} | ||
+ | |Determines the total number of tf bots in the game. Only has effect is "tf_bot_quota_mode" = "fill" or "match". | ||
+ | |||
+ | ;Syntax: <code>tf_bot_quota <''integer''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code><''integer''></code> | ||
+ | ::Whole number between 0 and how many players the server can hold. Default is 0. | ||
+ | |||
+ | ;Example: <code>tf_bot_quota 2</code>, if tf_bot_quota_mode = match, will add two bots to the server for every one human. | ||
+ | |- | ||
+ | |{{nw|<big>'''tf_bot_quota_mode'''</big>}} | ||
+ | |Determines the type of quota. | ||
+ | |||
+ | ;Syntax: <code>tf_bot_quota_mode<''normal/fill/match''></code> | ||
+ | |||
+ | ;Parameters: | ||
+ | :<code>''normal/fill/match''</code> | ||
+ | ::If 'normal', the server will never add/remove TFbots without explicit commands and bot_quota has no effect. | ||
+ | ::If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota. | ||
+ | ::If 'match', the server will maintain a 1:N ratio of humans to bots, where N is bot_quota. | ||
+ | |||
+ | ;Example: <code>tf_bot_quota_mode fill</code> will always keep (bot_quota - # of human players) bots in the game. | ||
+ | |} |
Revision as of 19:44, 25 December 2010
Place saver...Looking for opinions on how to do this since there was no official bot.
Bot Types
- Oddbot
- HPAbot
- PodBot
- List strengths
- Lots of waypoints available
- List weaknesses
- Reliance on waypoints for each map
AI Bot 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.
AI Bot Commands
To use AI bots on supported maps, the server administrator should type the following commands into the console:
Command | Description |
---|---|
tf_bot_add | This command will create one or more AI bots of random classes on random teams. They will also be assigned amusing human-like names.
|
tf_bot_difficulty | Defines the skill of bots joining the game.
|
tf_bot_force_class | If set to a class name, all TFBots will respawn as that class.
|
tf_bot_join_after_player | If nonzero, bots wait until a player joins before entering the game.
|
tf_bot_keep_class_after_death | If zero, bots will always respawn as a different class.
|
tf_bot_kick |
This command will remove one or all AI bots.
|
tf_bot_prefix_name_with_difficulty | If nonzero, append the skill level of the bot to the bot's name
|
tf_bot_quota | Determines the total number of tf bots in the game. Only has effect is "tf_bot_quota_mode" = "fill" or "match".
|
tf_bot_quota_mode | Determines the type of quota.
|