Website: http://rcbot.bots-united.com
Forums: http://rcbot.bots-united.com/forums
Contents
You can use the RCBot2 Installer.exe to install and run the RCBot2 Launcher, from there everything is easy. However if you run in to problems you can install manually
Copy the rcbot2 folder from ‘files/’ into your steam folder / steamapps / <account name> folder ; where account name is the name of your steam account
Installing on dedicated server means installing manually and editing some config.ini files.
Step 1 Follow the manual install advice above then go into rcbot2/config/, open bot_mods.ini with a text editor
Follow the instructions in bot_mods.ini to add your dedicated sever path, e.g. you are playing DOD:S and the path is in orangebox/dod
Note: any line
beginning with ‘#’ is a comment and the bot will
ignore it.
Uncomment the
below:
mod = DOD
steamdir = orangebox
gamedir = dod
bot = DOD
Step 2 . Go into rcbot2/waypoints and change the name of the mod folder you are using in rcbot2/waypoints to the same path in your dedicated server
e.g. in rcbot2/waypoints there are folders for each mod. If it is a different name you’ll need to change it for waypoints to work.
If you are playing DOD:S and the path is in orangebox/dod, then change the first folder name from day of defeat source to orangebox
You can use the RCBot2 Launcher to run RCBot2 automatically however once you have loaded the game with the launcher you need to create a server to create a game
This version of RCBot 2 uses a hook into the game engine to make bots move properly in TF2 and DOD:S. To do thid, the bot needs to know, in memory, where to hook
This is held in the variable rcbot_runplayer_cmd
The rcbot_runplayer_cmd value must be the same as the latest version of the mod, found here: http://www.sourcemodplugins.org/vtableoffsets
If you experience crashes try changing rcbot_runplayer_hookonce to 0 or 1 or vice versa
If you want to run RCBot2 manually, just enter the command line in the modification of your choice in Steam
-insecure +plugin_load “..\bin\HPB_Bot”
Then create a server
Warning! If loading manually, make sure you don’t already have a VDF file with rcbot2 automatically loading. Otherwise RCBot2 will be loaded twice and strange things might happen!
Rcbot addbot <class> <team> <name>
If you want to add a random bot by using a bot profile, just type
Rcbot addbot
If you want to add a bot with a specific class and an automatic team type
Rcbot addbot 1
For TF2 scout or DOD:S Support class , see the list of class numbers below:
1 = scout
2 = sniper
3 = soldier
4 = demoman
5 = medic ( Bugs )
6 = hwguy
7 = pyro ( Bugs )
8 = Spy
9 = Engineer
2 = red
3 = blue
0 = Rifleman
1 = Support
2 = Assault
3 = Sniper
4 = Machine Gunner
5 = Rocket
2 = Allies
3 = Axis
Waypoint Files
These are stored in steam/steamapps/<email>/rcbot2/waypoints/<steam
folder name>/<mod name>
There are 4 Filetypes
rcw
The main file type is <mapname>.rcw, this is the actual waypoint, and is all you
need to share waypoints
rcv
This is generated by the bot, it generates a visibility
table so bots know which waypoints are visible from other waypoints, this is
useful to find cover positions
rcd
This is generated by the bot, and gets quite big,
about 4MB, each, this is used to generate the distances between paths so bots
know what paths are shorter than others.
rcb
This is generated by
the bot. It
keeps a record of how much danger is at each waypoint for each team. When a bot is added it will read this data for its team, when a bot leaves it will save the data by averaging its data in
the file.
How to Waypoint
Waypointing should be done on a listen server, that
means a server you create by yourself while playing the game. And you should be
the only person editing the waypoints. The bot
doesn't really support having extra people helping you waypoint, as waypoints
will not be displayed to every player.
See the rcbot2 waypointing guide by loading the RCBot2 launcher or looking
in rcbot2/manual folder
Waypoint Commands
rcbot waypoint on : shows the waypoints
rcbot pathwaypoint on : shows the waypoint paths when you stand next
to a waypoint
rcbot_wpt_pathdist <distance>: sets the automatic path generation distance,
reduce this in complex areas
Drawing method
rcbot waypoint drawtype
1, is the more advanced waypoint editing mode, this shows waypoint angles,
and radius'es
rcbot waypoint add : adds a waypoint to the current position you
are at
Rcbot waypoint delete: removes a waypoint where you are standing
Type rcbot for a list of commands
You must type rcbot before each command e.g. rcbot waypoint <command>
puts waypoints on
puts waypoints off
adds a waypoint at your location
Deletes the nearest waypoint
Shows information about the current waypoint
Saves all waypoints to file
Loads all waypoints and visibility information from file
Deletes all waypoints (for waypointers only)
Toggle a waypoint type : see the waypoint guide for more info
Changes the way waypoints are drawn: see the waypoint guide for more info
Prints the angle from your eyes to the nearest waypoint
Updates the angle of the waypoint , for sniper and sentry waypoints etc
Changes the area of the waypoint
Changes the radius of the waypoint. Bots go through the waypoint at random through the radius, make sure it is not too big.
Shows a givetype menu when you press ‘Esc’ for the current waypoint
Just like ctrl-x, cuts the current waypoint
Just like ctrl-c, copies the current waypoint
Pastes the copied or cut waypoint
Shifts all areas up or down by <x>
Shows waypoint ID <x> by showing a lightning bolt towards the waypoint
Shows the visibility of the current waypoint
Adds a bot with class, team, skill
If no value, the bot will choose an automatic value from the profile
Controls a bot with <name>
developer commands: see bot forum at http://rcbot.bots-united.com/forums
For future debugging only
If you want bots to leave when players join, then make the value higher than min_bots
Minimum bots (similar to tf_bot_quota)
Kicks a random bot
For People that can use rcbot2 commands on your server
Shows all the users that can access commands
For some debugging stuff
Searches for nearby entities and prints them