Join the RLGym server for help making Rocket League bots, my username is @RichardsWorld in the server.
Do keep in mind a basic understanding of python and ML in general is expected.
Cheaters are not welcome.
For those that have been following along with my journey, thank you, make sure to subscribe to my YouTube channel, hopefully I will be providing more updates in the future, and check my YouTube channel as I might be streaming my bot training for the RLBot Championships coming up in November and October.
Go watch my tutorial listed above, but here is a quick tutorial
- This tutorial only works for Windows.
- This really isn't needed, but I prefer to use conda instead of terminal/command line, because it sorts packages better, and conda already comes with Python 3.11, so you don't need to download python if you are using conda, navigate to the environments, and just left click on base, and choose open terminal, and you should be all set.
Alternatively you can make use of the venv module to create a virtual environment,
python -m venv venvto create one in the local directory. - Ensure Python is installed, if it isn't then install any version of Python between 3.10 and 3.13.
- Ensure you have git installed.
- If you have an NVIDIA GPU, install PyTorch with CUDA support, if you don't have an NVIDIA GPU then go with with CPU only, follow the page instructions.
- Run the command
pip install git+https://github.com/AechPro/rlgym-ppothen press enter, it should download, then run the command(just copy this and paste this into the terminal)pip install rlgym. - Install RocketSimVis.
- Run
pip install -r requirements.txt - Open up the
example.pyfile in this repository to get started, you can just run example.py in the command line, make sure to navigate to where your example.py file with the command line after cloning it via thecdcommand.
You can install RLGym-tools, which provides extra reward functions, observation builders and action parsers, among other useful utilities, some of which are utilized in this guide.
- If you are stuck, watch my tutorial!!!!!!! I cannot stress this enough, the tutorial will help you, I promise.
- Do not leave the visualizer open as rendering while learning will greatly slow down your training.
- Play around with policy and critic layer sizes, if you don't know what you're doing then I'd advise you to keep the layer sizes the same, and see what the highest you can go is before you start to lose performance (measured overall by your total steps per second (also referred to as sps)
- If you wanna start a new run, just change the
project namevariable to a new name, and it will automatically create a new run. - If you want to make changes to the policy or critic layer sizes you will be forced to reset your run entirely, as you're changing the architecture of the model.
- Same goes for your action parser and observation builder, once you have those you cannot change them unless you're willing to reset your run.
- Subscribe to my channel :D
- Join the RLGym Discord server for help (also mentioned above)
