/rlbot-python-example

Example of a Python bot using the RLBot v5 framework

Primary LanguagePythonMIT LicenseMIT

RLBotPythonExample

Example of a Python bot using the RLBot framework

Quick Start

  1. Install Python 3.10 or later
  2. Create a Python virtual environment
    • python3 -m venv venv
  3. Activate the virtual environment
    • Windows: .\venv\Scripts\activate
    • Linux: source venv/bin/activate
  4. Install the required packages
    • pip install -r requirements.txt
  5. Download RLBotServer.exe and place it in the root directory
  6. Modify rlbot.toml to your liking
    • Note: dev.toml also exists with a few changed settings that might be useful for development
  7. Start a match with python run.py

Changing the bot

  • Bot behavior is controlled by src/bot.py
  • Bot appearance is controlled by src/loadout.toml