Advanced Usage

This section is basicly for the people who want to run servers, or just fool around with the bot settings.
If you dont want to mess around and just play, skip this section.


Server Commands and Variables notes
- Commands or variables marked with an asterisk(*) work on dedicated servers as well.
- Commands with the argument <name> should contain the bots name with double quotes(") (for example "Bot")

Notes for dedicated servers:

- When typing a command make sure you add 'esf_bot' infront of the command.
- To make a choice in the menu, type: 'esf_bot menuchoice <choicenr>'
- The new command 'bot_help' is an exception, it does not require 'esf_bot' as a prefix.


Commands:

bot_help*
displays a bit of help.

addbot*

will add a bot using a random class, random team(if neccesary), random name and the default bot skill level.
addbot* <team>
will add a bot using the specified team, random class and default skill level.
addbot* <team> <class>
will add a bot using the specified team and player class and random name and the default bot skill level.
addbot* <team> <class> <name>
will add a bot using the specified team, class, and and name, it will use the default bot skill level.
addbot* <team> <class> <name> <skill>
will add a bot using the specified team, class, name and skill.
addbot* <team> <class> <name> <skill> <personality>
will add a bot using the specified team, class, name, skill and personality.


<team>
1, 2 or *, 1 is good, 2 is evil and * is random.
if you are playing free fight, use 1.

<class>
the class ranges from 1-9 where
1 is buu
2 is goku
3 is gohan
4 is krillin
5 is frieza
6 is piccolo
7 is trunks
8 is vegeta
9 is cell
other is a random class

<name>
The bots name. Use a * to give the bot a random name

<skill>
skill ranges from 1-5 where 1 is best and 5 is worst. Use a * for a random skill.

<personality>
The number you specify for the personality resembles the number found in the "bot_personalities.cfg" file.
If no number is specified, a random number will be assigned to the bot.


addsbot* <type> <class> <personality>
this basically the same as addbot, but adds a super bot.

<type>
type ranges from 1 to 3,
1 is super bot
2 is mega bot
3 is ultimate bot

<class>
Same as with the addbot command

<personality>
Same as with the addbot command

note:
Superbots only work in team and capture the dragonball mode.
As soon as a super bot is created mp_plcatchup is set to 0, also, super bots automatically join team Evil, all players auto join team Good, normal bots stay in their teams.


bot_fill* <command>
fills a server that depends on <command>
<command> can be (without quotes):
"full" - fills the whole server
"half_good" - fills team good for an half
"half_evil" - fills team evil for an half
"full_good" - fills team good
"full_evil" - fills team evil
note: the filling immediatly stops if you kick a bot.

killbotinfront
kills the bot in front of you.

restorebotpersonalities*
restores all current bot personalities to default as defined in the "bot_personalities.cfg" file.

botkill <name>
Kills the bot with the name <name>

botteam <name> <team>
Lets the bot with the name <name> join team <team>
<team> can be good or evil

botclass <name> <class>
Lets the bot with the name <name> pick class <class>
<class> can be buu, goku, gohan, krillin, frieza, piccolo, trunks, vegeta or cell


Variables

botskill* <skill>
change the default botskill level (1 to 5).
skill level 1 is the best, skill level 5 is the worst.

botshoot* <value>
changes wether the bots should shoot or not, 1 is on, 0 is off.

botssearchenemies <value>
changes wether the bots should sreach for an enemy or not, 1 is on, 0 is off.

bot_balanceteams* <value>
the bots will attempt to autobalance the teams by joining the team with the least players, 1 is on, 0 is off.

bot_aggression_level* <value>
sets the behaviour of the bots to 'defensive', 'normal' or 'aggressive'

observer* <value>
make bots ignore human players- 1 is on 0 is off

shouldbotschat* <value>
turns bot chatting on or off - 0 is off 1 is on

bot_chat_percent* <value>
sets the percent of time bot will use the "say" command to send a bot_chat
(checked every 30 seconds)
Allowed values are 0 - 100. The default value is 10.

bot_taunt_percent* <value>
sets the percent of time bot will use the
"say" command to send a bot_taunt message after killing another player.

bot_whine_percent* <value>
sets the percent of time bot will use the "say" command to send a bot_whine message after being killed.

bot_chat_tag_percent* <value>
sets the percent of time bots will remove clan tags from player names.

bot_chat_drop_percent* <value>
sets the percent of time bots will drop characters from chat messages.
The default value is 10.

bot_chat_swap_percent* <value>
sets the percent of time bots will swap characters in chat messages.

bot_chat_lower_percent* <value>
sets the percent of time bots will convert chat messages to all lowercase.

bot_melee_percent* <value>
Sets the percent that a bot will melee, -1 is random.

bot_meleecombo_percent <value>
Sets the percent that a bot will charge a combo instead of throwing

bot_meleekick_percent <value>
Sets the percent that a bot will use simple melee instead of advanced melee

bot_block_percent <value>
Sets the percent that a bot will use block when he is in danger

bot_teleport_percent* <value>
sets the percentage that the bot teleport instead of block, -1 is random.

botsusediscs* <value>
When on, allow the bots to use discs, 1 is on 0 is off.

idlebots <value>
If set the bots are completely idle. 1 is on 0 is off

botsmove <value>
If set the bots will move. 1 is on 0 is off

sbot_laser_percent* <value>
Sets the percentage of the sbots to use the drain lasers.
-laser types:
hp drain laser type 1:
drains hp from multiple players and slow them down.
hp drain laser type 2:
drains hp from a single player and freeze him/her.
pl drain laser:
drains pl from multiple players and slow them down. And drain an attack untill it lost all his energy.


If you are running a server it is also advisable to look inside the bot.cfg file.


2. Something new, Bot personalities
Bots now have different personalities, definable inside the 'bot_personalities.cfg' file.
It is advisable to look inside this file, as this new feature changes the way the bots act.

If you change commands like 'bot_melee_percent' while running a server, this will change the melee percentage for all bots currently on the server.
To revert back to the 'bot_personalities.cfg' values use the command 'restorebotpersonalities'.


3. Names

Inside the file bot_names.txt located in your ESF bot directory, you will find the all the names used by the bots.
You can easily modify this file by opening it by notepad or similair programs.
The safe maximum amount of botnames lies somewhere around a 100.
All the bot names are randomly chosen from this file.


4. Chat

Inside bot_chat.txt (also located inside your ESF bot directory) you will find all
the lines typed by the bots when you have chatting turned on.
This files also contains a detailed explanation on how to change or add lines.


5. Waypoints
These are not really needed in this version, except for maps like esf_battlearena.
If you want to use waypoints anyway, they can be found in the directory esf\esf_bot\waypoints\old, copy
them to esf\esf_bot\waypoints.
If you want to create your own, please refer to esf_bot_waypoint.txt, located inside your
esf\esf_bot\waypoints directory.


Continue to Frequently Asked Questions