Modding Beyond All Reason requires understanding which engine you are actually working with. BAR runs on the Recoil engine, a fork of the older Spring RTS platform. This distinction matters when trying to implement features like dynamic team switching or making specific buildings unbuildable.
Tags: beyond all reason, modding, Spring engine, Recoil engine, ally teams, dynamic alliances, gadget modding, unit restrictions
Spring engine documentation only takes you so far. BAR uses the Recoil fork, which diverges in meaningful ways. When researching engine features, focus on Recoil-specific information rather than generic Spring guides.
The Recoil engine community maintains its own documentation and answers engine-specific questions in modding channels.
Implementing dynamic team switching requires substantial modding effort. The system treats each player as their own team by default, and ally teams group teams together. Switching a player from one ally team to another mid-game is not a simple parameter change.
Building a traitor mode requires a genuine mod, not a lobby tweak. You must create a gadget that handles the logic, which means submitting a pull request to the base game or distributing it as standalone content.
The simplest approach uses the AI configuration interface. Enter the unit name, such as corafus, into the AI restriction box. The unit becomes unavailable for construction without editing any definition files.
For more permanent restrictions, modify the unit definition directly. The unit files live in the official repository under github.com/beyond-all-reason/Beyond-All-Reason.
BAR repository content is freely available for modding reference. Lua code carries the GNU GPL v2 or later license. Other assets have their own usage terms. Check specific asset licensing before distributing mods that include non-code content.
Whether asking about engine internals or practicing standard gameplay, a supportive community makes the difference. Groups that welcome questions without ridicule help everyone improve faster.
[Crd] The first and only community I have seen that actually holds up to its values. I have honestly not had a single bad experience here.