External projects
The outside projects this repo builds on, why, and what we take from them.
3 min read
The project builds on other people's work: a simulator, a viewer, a game-mod SDK, community bots
and a research paper. Local copies live in .external/, which is gitignored. None of them has the
last word on physics: when they disagree with the real game, the real game wins.
RocketSim#
A fast, open-source copy of Rocket League's physics, written in Rust. Every bot trains in it,
because it runs far faster than the real game. We ship it in vendor/rocketsim with our own
accuracy fixes, each measured against the real game
(RocketSim patches).
RLViser#
A 3D viewer for RocketSim, fed through the rlviser-rocketsim crate. It's how we watch bots,
exported episodes and scenario traces: just watch, physlab view and the Command Center's replay
buttons all stream to it. A patched copy with a browser build lives in vendor/rlviser
(RLViser).
BakkesModSDK#
BakkesMod is the Rocket League mod platform. Our PhysLab plugin is built with its SDK to record the real game, which is how we check RocketSim against the real thing (PhysLab plugin).
RLArenaCollisionDumper#
Reads the arena collision meshes out of a running game. The meshes are Rocket League's own data, so they can't be committed: you dump them from your own copy. Training and most scenarios need them (Collision meshes).
rlgym#
"The Rocket League Gym" is the Python library most community bots use to turn Rocket League into an RL environment. We don't import it; we re-implement its conventions in Rust (the 90-action table, observation scales, reward functions, a decision every 8 ticks) so that ideas and bots from the community line up with ours. The few places we differ are under Environment conventions.
Necto#
Necto and its successor Nexto are community bots; Necto won the RLBot Championship in 2022. We
borrowed their proven choices: self-play against past versions 20% of the time, kickoff and random
starting states, the team goal reward and team spirit. Their released models are also the strongest
opponents our bots are evaluated against (just eval-bots,
Necto and Nexto).
Lucy-SKG paper#
"Lucy-SKG: Learning to Play Rocket League Efficiently Using Deep Reinforcement Learning" (arXiv:2305.15801, 2023) describes a sample-efficient bot that beat Necto and Nexto. It's our main source of ideas for the match reward and the learner. We A/B-tested each idea before adopting it: its reward design reached the same level against the ball chaser in about half the steps of a simple reward, while several other ideas made no difference or hurt (Lucy-SKG coverage).