FoxBot Commands |
Console Commands:
Adding Bots: addbot [Team: 1-4] [Class: 1-10] [Name] [Skill: 1-5] There are several different ways you can use the addbot command to add bots to your game. 1) addbot - By typing just the command addbot, a single bot will be added to the game. The computer will select the bots team, class, and name. 2) addbot x – The addbot command followed by a space and a number will add a bot to the team of your choice (1=Blue, 2=Red, 3=Yellow, 4=Green). The computer will select the bots class and name. 3) addbot x x – The addbot command followed by 2 separate numbers will add a bot to the game on the team of your choice, as the class of your choice. The first number is the team number. The second number is the number of the class as seen in the class selection menu. The computer will select the bots name. 4) addbot x x name – This command is identical to the one above, except that you assign the bot a name by adding one to the line after the second number (Example: addbot 1 2 BigBot. This command will add a bot to the blue team(1) as a sniper(2) with the name BigBot.). 5) addbot x x name skill – This command is the most specific. Same as the one above, except after the name you would put another number. This number would be the skill level of this particular bot (Example: addbot 1 2 BigBot 1. This command will add a bot to the blue team(1) as a sniper(2) with the name BigBot and the skill level of 1. (1 is best 5 is worst)).
NOTE: From Foxbot version 0.705 onwards, if you do not specify a class with the addbot command then the spawned bot will be able to change class whenever it wants to.
Kicking Bots: kick Name
kickall
Bot Skill Level: botskill_upper Number 1-5
botskill_lower Number 1-5
bot_skill_1_aim Number 0-200
bot_aim_per_skill Number 5-50
Waypoint Editing (For more information look at the waypoint tutorial): bot_debug on/off
locate_waypoint on/off
locate_waypoint Number
pathwaypoint_connect on/off
pathwaypoint create1
pathwaypoint create2
pathwaypoint remove1
pathwaypoint remove2
waypoint on/off
waypoint add
waypoint delete
waypoint save
waypoint load
waypoint info
waypoint menu
waypoint_author
Other Console Commands: bot_chat Number 0 - 1000 This command lets you influence how often the bots trash talk. Set it higher if you want more chat, or 0 for none. min_bots Number 0 - 32 [-1 Turns this off] Minimum bots in server. max_bots Number 0 - 32 [-1 Turns this off] Maximum bots in server. bot_total_varies 0 - 3 When this setting is set to 1, 2, or 3 the number of bots on the server will fluctuate from
min_bots to max_bots randomly(to simulate playing on an Internet public server). bot_team_balance Number 0 for off, 1 for on Turn this on to have the bots auto switch when teams become uneven. bot_bot_balance Number 0 for off, 1 for on Turn this on to balance the teams in a bot to human ratio (May be buggy). pause Number 0-100 Number of seconds before bots join. bot_create_interval 1 - 8 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). bot_xmas on/off Controls whether or not the bots celebrate Christmas. bot_allow_moods 0 = off, 1 = on If this is set to 1 any bots created will be given random personality traits and/or moods. bot_allow_humour 0 = off, 1 = on If this is set to 1 then the 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 Number 0 for off, 1 for on Controls bots announcing defense related messages. offensive_chatter Number 0 for off, 1 for on Controls bots announcing offense related messages. bot_can_use_teleporter on/off Controls whether or not you want bots using Teleporters. bot_can_build_teleporter on/off Controls whether or not you want bot Engineers to build Teleporters. bot_use_grenades 0 - 2 Controls whether or not you want the bots to use grenades. botdontshoot Number 1-2 This command is used to turn off the bots shooting. Useful for testing purposes. Show information such as: foxbot variables, foxbot info, foxbot version. botcam a_bots_name 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 0 - 3 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.
Dedicated Servers: All the commands above can be used in a dedicated server. With a dedicated server you must prefix each command with the word 'bot' and surround the command with quotation marks. For example: bot "max_bots 10"
NOTE: The waypoint editing commands were intended for use on a listen server, not a dedicated server.
Command Menu: "commandmenu.txt" in tfc folder, file expanded with FoxBot.
|