- Clone this repository by running:
git clone https://github.com/kipje13/CPPExampleBot.git --recursive
- Generate the solution with CMake.
- Start a match by executing
rlbot/run.bat
- Build and run the CPPExampleBot executable.
The rlbot framework has the ability to launch the bot executable automatically. This is usefull when sharing your bot and usually required when you enter a tournament.
In order to get auto-starting to work you will need to do the following things.
- Build your bot executable.
- Set the
cpp_executable_path
field inrlbot/CppPythonAgent.cfg
so it points to the bot executable. It is recommended to copy your bot executable to therlbot
folder to make this process easier.
- People might have issues when trying to run your bot if you have compiled it in debug mode. It is better to compile in release mode when you want to share your bot with others.