This is a custom Rocket League bot designed to work offline only. For more context, see http://www.rlbot.org/
This repository contains:
- Air Bud
If you want to play a local game with ReliefBot (or AdversityBot or Air Bud), the easiest way is to get the precompiled zip from https://drive.google.com/drive/folders/1zxLr46h_KAz61_N6XQ5e89skizPO0wo-?usp=sharing.
Follow this tutorial video for more instructions: https://www.youtube.com/watch?v=VHOkWVYlfa0
- Make sure you've installed Python 3.6.5 or newer. Here's Python 3.7 64 bit. Some older versions like 3.6.0 will not work. During installation:
- Select "Add Python to PATH"
- Make sure pip is included in the installation
- Make sure you've installed the Java 8 JDK or newer. Here's the Java 10 JDK.
- Make sure you've set the JAVA_HOME environment variable.
Compiling and Running
- Look in rlbot.cfg and modify as desired.
- Open Rocket League.
- On the command line, run
run-bot.batto start ReliefBots' brain. Leave it running! The console output may show a percentage less than 100%, but once a little java window pops up, it's ready to go.
- On another command line, run
run-framework.bat. This should start up a game.
For more advanced ways to use rlbot.cfg, see https://github.com/RLBot/RLBot/wiki/Setup-Instructions-%28current%29
If you have trouble with these instructions, see if you can at least get https://github.com/RLBot/RLBotJavaExample working. Same general concept, but more thorough instructions (including video tutorial).
ReliefBot Development Environment Setup
- Install Intellij IDEA along with the Kotlin and Python plugins
- Navigate to this directory on the command line
- Open IntelliJ and open this folder as a project
You now have the option of running ReliefBot directly from IntelliJ. Different options:
- In the gradle tool view, right click on the 'run' task and choose Run or Debug.
- OR, right click on
src/main/java/tarehart/rlbot/ReliefBotMain.ktand choose Run or Debug. If you do this, you will need to update that run configuration to include the JVM args defined in build.gradle, e.g. java.library.path.
There is also a C++ component, but I expect it to be so temporary that it's not worth documenting. If I was wrong, ask me.
If you want to submit ReliefBot to a tournament, you can generate a nice zip file with
The zip will automatically contain a README which explains to the tournament organizer how to run ReliefBot.