Jump to content

[A28 / 0.28] 12 Players Mod – 5v5 & 6v6 matches


Darlz
 Share

Recommended Posts

Hi everyone!

I made a mod that raises the player limit in 0 A.D. 0.28 from 8 to 12, so you can play 5v5 and 6v6 team games on random maps.

Download: https://github.com/darlinxpro/0AD-12-players/releases/latest
Source code and full instructions: https://github.com/darlinxpro/0AD-12-players

What it does

  • Up to 12 players on random maps. The engine already supports up to 16; the 8-player limit was only in the game's interface.
  • 4 new player slots with easy-to-tell colours: pink, sky blue, brown and dark green.
  • Interface adapted for 12 players: match setup player list, diplomacy window, summary screen and capture bars. With 8 players or fewer, everything looks exactly like vanilla.
  • Fixed a loading freeze: the game's player placement (groupPlayersByArea) tries every possible permutation of start positions. With 8 players that's 40,320; with 12 it's 479 million, so loading froze at 6% (for example with "river" placement). For more than 8 players the mod uses a fast local search instead. It found the same optimum as the original in my 8-player tests and takes about 25 ms for 12 players. With 8 or fewer, the original code is used unchanged.
  • Minimum map size warning in the match setup when the map is too small: Medium for 5v5, Large for 6v6, one size bigger for "Balanced" maps.

Multiplayer

  • Anyone can join your room, even without the mod, and you can join other people's rooms with the mod enabled.
  • For games with more than 8 players, everyone in the room needs the mod. When joining a room, the mod announces itself in the chat. If someone is missing it, the Start Game button is blocked and a red warning shows who is missing it, so nobody gets stuck on the loading screen.

Installation

  1. Download 12jugadores-x.x.x.pyromod from the Releases page.
  2. Double-click it (or drag it onto the game window).
  3. Go to Settings → Mod Selection, enable 12 jugadores, then Save Configuration and Start Mods.

You can also copy the 12jugadores folder manually into your mods folder:

  • Windows: Documents\My Games\0ad\mods\
  • Linux: ~/.local/share/0ad/mods/
  • macOS: ~/Library/Application Support/0ad/mods/

 Compatibility

  • Not compatible with ModernGUI or ProGUI unless those mods are updated for 12 players. They replace several of the same panels (player list, diplomacy, statistics, summary) with their own versions, which only have room for 8 players. With more than 8 players this causes errors and missing rows.
  • For games with up to 8 players they can be used together, but for 5v5 / 6v6 matches please use the default 0 A.D. interface.

Notes

  • Random maps only. Skirmish and scenario maps have 8 fixed slots.
  • Tested on Mainland and Mainland Balanced (feldmap).
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...