This is a custom Rocket League bot designed to work offline only. For more context, see http://www.rlbot.org/
This repository contains:
- ReliefBot
- AdversityBot
- Air Bud
If you want to play a local game with ReliefBot (or AdversityBot or Air Bud), the easiest way is to install the RLBotGUI and download the bot pack.
Follow this tutorial video for more instructions: https://youtu.be/lPkID_IH88U
- 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.
- Look in rlbot.cfg and modify as desired.
- Open Rocket League.
- On the command line, run
run-bot.bat
to 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/Config-File-Documentation
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).
- Install Intellij IDEA along with the Kotlin and Python plugins
- Navigate to this directory on the command line
- Run
gradlew.bat idea
- 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.kt
and 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 gradlew.bat distZip
.
The zip will automatically contain a README which explains to the tournament organizer how to run ReliefBot.