You are the leader of a rising empire. You must conquer sectors and exploit the most strategic ones to craft your own ships and stations. Choose which faction is going to be your enemy, defend your assets, be aggressive or get overwhelmed by the pressure. Procedural galaxies and realistic economy.

Procedural Galaxies


Mayhem 3 comes with an external tool that allows you to generate an infinity of galaxies:

2020 05 19 03 08 07 Mayhem Galax

Realistic Economy


The economy in Mayhem 3 is unstable and unpredictable. This is mainly because the war can go to any sector at anytime, and a sector that was a good base for trading can quickly become a nightmare for your traders and others. The AI has been designed to adapt to those changes and will continue to trade with you if you allow them. Besides, they will frequently rebuild their stations based on their current needs. All of their ships are "real", in a way that they're all synchronized and carry resources that are used to craft ships, stations, lasers, etc.

In Mayhem 3, there are no artificial ships. They're all built at an Outpost from real resources. The vanilla "job ships" system has been completely removed and replaced by custom scripts written from scratch.



In Mayhem, resources such as Teladianium, Rastar Oil or Computer Components, are more important than ever. They are used to craft ships, missiles, lasers, shields, and stations. Having a full self-sufficient chain of production is challenging.

Turf War


The universe of Mayhem is chaotic by nature. All factions can invade any sector, and you are just a tiny empire compared to others. Sometimes truce can be signed between two factions, but most of the time, they will use their Battle Group fleets to invade other sectors, destroy everything, and rebuild the stations they need the most.

All sectors have different statistics (max. people, research rate and factory support), so you better plan your expansion carefully before attacking another faction. But don't panic! You have plenty of time to do that. You will need that time to scan ship data that are needed to acquire blueprints, and you'll also have to grow your population, improve your Outposts, carefully select the Perks you need, etc.



Sometimes war is not the only solution. If you have a special interest in some factions, you can ask them different favors by spending favor points that you acquire by destroying specific targets, or by declaring a permanent war against a common enemy.



In Mayhem 3, you have six main automated ships called Workers: Agents, Explorers, Looters, Miners, Traders and Tugs. Having Agents and Traders to manage your factories is crucial. You will have to plan your logistics in advance, trade with other partners, specialize your sectors in manufacturing specific wares, and make good use of the new job system. Building a well-oiled logistics machine is hard, but very rewarding.



Mayhem 3 revamps the boarding system. This meta-game will keep you busy and can have a big influence on your empire. The general idea is that you have to assign your 4 marines to specific tasks and fulfill these tasks in a limited amount of time. If you didn't like boarding in X3, you'll see that the whole system is now finally attractive!

Sandbox Experience

In Mayhem 3, there are procedural missions that replace vanilla ones, but also a main plot that is very sandbox-oriented. It's more a "galaxy progression" than a real story. You'll have to face different threats at different time, that will each gives you long-term goals to achieve.


mayhem misc

Mayhem 3 has a lot of other features and changes: fleet management, station settings, ship maintenance, manufacture quality, production queue, loot, taxi missions, in-game encyclopedia, overhaul of ships, combat and weapons, better sector visuals, etc. Watch the trailer! :)

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

Mayhem 3: What Is It?

News 1 comment

What is Mayhem 3?


Mayhem 3 has been in development since December 2019. It has mostly been a full time job and is today a robust mod, fully playable, and replayable!


I've started modding X3 in 2014 after the release of Litcube's Universe. Mayhem 1 began one year later with the very primitive idea of making it possible to conquer new sectors. I've always loved games where territory war is an important element of gameplay, it gives replayability and an experience often more intense and more customizable than story-based games.

Mayhem 2 was a total rewrite. I had understood that conquering sectors is not only about changing the race of a sector, it's about all the consequences and the price that you and the AI have to pay to achieve it. I also wanted to not make everything orbiting around money, so I've implemented a way to craft your ships, stations, weapons and equipment. I've developed Mayhem 2 for about 4 years (part time, obviously), but at the end I didn't want to play it anymore because of some important problems I had with X3:

  • Jobs. This is the name of automated ships in X3. Even though Litcube has changed them quite deeply, the system remained the same: ships were created out of thin air and spawned around shipyards, with very basic goals and poor AI.
  • The economy. Everything in X3 vanilla is fake. Products are artificially consumed and the AI does not use them to make their ships or stations.
  • Ship control. X3 being about managing an empire, it should be intuitive to replace your ships, give them global orders, automatically put them into a fleet, repair them, etc. Having an empire is about macro management, not micro management.
  • Combat. Even though combat in X3 is "ok", I've always felt that it could be greatly improved, not only by overhauling all ship stats and characteristics, but also by changing the AI behavior and rewrite their scripts.
  • The galaxy. Always having to play in the same galaxy was the main reason why I eventually quit X3. So for a few years, I had this crazy idea of having procedurally generated galaxies in a game that was not at all made for that. Then I've realized that designing the layout of a galaxy was not that hard, and I've released Stardust, a very early version of the new mod I've always wanted. The name changed to Mayhem 3 a few weeks later because gameplay-wise, I thought most previous ideas of Mayhem 2, despite their sometimes poor implementation, were good to be kept. However, if having an empty galaxy was not that hard, making it alive would take months of work.


I've spent about 6 months on the development of Mayhem 3. It has been a very intense adventure for me, as a developer, not knowing if one day, I wouldn't face an engine problem that would crush the whole project. At the beginning, I was just facing an empty galaxy, so I had to make some golden rules:

  1. AI and Player use the same scripts, for everything. During the last stage of the development, this rule has to be bent a bit, to improve general gameplay and avoid some exploits, but when it comes to combat, trading and crafting, know that the AI is just like you and use the exact same tools (ie. the same automation scripts).
  2. To make sure the rule 1 was always respected, everything has been designed around the AI instead of the player. To the player's eyes, it's invisible, but under the hood, the scripts are generally designed for the AI, then some exceptions are added for the player.
  3. Every ship formation follows the same standard behaviors. There is A/ the leader, B/ some followers, and C/ some support ships that are in charge of independently defending their carrier. In X3 vanilla, you have a lot of scripts that have been added over each other, written by different coders who had a different approach and a different vision. Rewriting everything was a very good occasion to homogenize a lot of fundamental systems.

When starting Mayhem 3, I knew I had to have my own Jobs system, but I didn't really know how tedious it would be, because in the end all combat scripts had to be rewritten, and whole new systems had to be designed to make the AI lively and real. And by "real" I mean that the AI has to know what it wants, at what moment, how to build the proper stations and economy to sustain its goals, define the objectives of its fleets, and adapt all the time to other AIs, the player, and the permanent threat that are the Terraformers.

Mayhem is slower than X3 and Litcube's Universe. There is no jump drive, because in a game of turf war, being able to instantly teleport your ships makes no sense. In Mayhem, you get a true feeling of what attack and defense mean, even though you are eventually able to create "bridges" between sectors, with the help of jump beacons.

Although it is a very complex mod, I feel that Mayhem has never been so friendly to new players. There are a lot of menus, but I've tried to simplify most commands and I've removed many features that were feeling too arcade. In other words, it's supposed to be more intuitive than Mayhem 2 and LU, and the fact that all systems are realistic plays a great part in that goal.

That being said, it's important to understand that Mayhem 3 is not easy, and will never be. It's designed to be hard, and it's started as a cruel unforgiving "Dark Souls In Space", but made a lot easier in late stages of the development. Still, be warned, don't expect to be told what you have to do at every step of your journey. There is a lot to learn, and a bit of "die and retry" goes very well with the procedural galaxies :)

So, all in all, Mayhem 3 is about two things:

  1. Empire. Even though you can pilot every single ship, you are the leader of an empire and you have to think as such. There are tons of tools to make your life easier, and the mod has plenty of gameplay elements that make your task believable.
  2. Automation. I'm not a big fan of most 4X because when you have to manage every single unit, you don't feel like a leader, but more of a guy sitting behind a desk and repeating tedious tasks over and over. What I want is to assign a leader, put a hundred ships behind him and give him general orders like "defend this station", "invade that sector", etc. and let him retreat his troops if needed, or repair and resupply. What I also want is to have advanced control over my logistics and assign my little traders to some predefined work, instead of micro managing them. When you have a dozens of sectors full of activity, and that everything is oiled and working as it should, you really feel rewarded.


I'm not going to detail everything I've already said before on the main page (click "Read More" on the right) and in an old article I've posted after releasing the alpha.

  • Procedural galaxies. Think of it as a foundation. Everything is built upon that, and because the engine is not made to handle "randomized" galaxies, I had to rewrite most scripts, including combat.
  • Be an empire leader. You start little, but with new missions, new plots, factions fighting each other all the time, weapons to loot, knowledge to acquire, abandoned ships to capture, pirates harassment and Xenons being more and more aggressive at every minute, you will have plenty of opportunities to grow and eventually compete with all the other belligerents.
  • Crafting. Becoming self-sufficient should be your top priority. Have your own sectors to make your own stations that produce and manufacture your own products, used to make your own ships and weapons! You can scan other ships to get their blueprints, or build a Research Station to R&D all designs that the game has to offer (the list of available ships is the same as in Litcube's Universe, but every stat has been reworked).
  • Mayhem! Yes, that's the name of the mod, and although it starts quite slowly, the galaxy follows you and adapt to your pace to offer you the best threats at the best time. In a nutshell, there are two consecutive main threats: the Xenons and the OCV. The former is dangerous, the latter is brutal! Depending on your actions, the galaxy can become a living hell, a no man's land, or something between the two.

Getting Started

  1. Read the install instructions.
  2. Be sure to keep an eye on the forum. The first page has some interesting links, and you'll find the full changelog of the mod on the second post.
  3. Maybe watch some YouTube videos, like some tutorials, intense gameplay or combat demonstration.
Mayhem 3: How To Install?

Mayhem 3: How To Install?

Installers Tutorial 2 comments

Install instructions of Mayhem 3 and all its dependencies.

What to expect from Mayhem 3? (Old)

What to expect from Mayhem 3? (Old)

News 5 comments

Mayhem is a mix between a 4X and a Space Opera based on the X3 engine.

Mayhem 3 Showcase Videos (Old)

Mayhem 3 Showcase Videos (Old)


A brief presentation of the most important features of the next incoming major patch.

Add file RSS Files
Mayhem 3.14d

Mayhem 3.14d

Full Version 3 comments

Mayhem 3 main archive. Please read the full instructions.

Mayhem 3 Graphics v2

Mayhem 3 Graphics v2

Full Version

Mandatory file. Please read the full instructions.

Mayhem 3 Ambient Soundtrack

Mayhem 3 Ambient Soundtrack


Optional file. Install into your ...\X3 root folder. Please read the full instructions.

Trans Orbital Gate Models (EXPERIMENTAL)

Trans Orbital Gate Models (EXPERIMENTAL)


Trans-Orbital gate model to replace the standard one. Only replaces the visual model.

Mayhem 2 Graphics

Mayhem 2 Graphics

Full Version

Mandatory file for Mayhem 2.9.13. Please read the full instructions.

Your Universe Is Ugly 1.4

Your Universe Is Ugly 1.4

Graphics Tool 10 comments

Non-mandatory tool that randomly modify sector backgrounds and suns from a predefined list. Please read the full instructions.

Comments  (0 - 10 of 38)

Hi everyone.
There are questions for version 3.5
When choosing a start for beginners, they give a quest to the watercolor 10 honors are necessary.
And how to get these very drawings (if there is no data scanner on the launch ship).
2 Question - not available tab with operation ship commands.
Where are the merchants, miners, etc. Does it still wake up not available or will it open after passing quests?

Reply Good karma Bad karma+1 vote

Greate mod, I really love it. I had no problems with it and await the new updates that you will bring.

Reply Good karma Bad karma+2 votes

The game instantly crashes in Linux when starting a new game when choosing any of the five races. Could just be the recent patch messed it up, dunno.
Mayhem 2 worked perfectly in Linux.

Reply Good karma Bad karma+1 vote

Hummm. what can do at starting? no outpost, no quest(it seems), no UT, no shipyard for selling ships.

Reply Good karma Bad karma+1 vote

As a fan of mayhem, i only hope you support a easy-translation tachinique or tool. im a programmer so, it's very okay using IDE.

Reply Good karma Bad karma0 votes
Joubarbe Creator

This comment is currently awaiting admin approval, join now to view.


Hello, first of all great mod, thanks for your hard work!
I was wondering, if you consider Mayhem feature complete. Didn't find any info on it, and if it isn't, do you have a roadmap somewhere, what features you plan on adding aside from the tweaks and fixes you keep continously doing?

Reply Good karma Bad karma+1 vote
Joubarbe Creator

The development of Mayhem has always been "chaotic". It depends on my mood, and I've changed many things in 4 years I wouldn't have imagined. Mayhem in its current state is a strong and robust mod, that you can enjoy as it is.

I have a giant TODO list, with ideas and suggestions I either have myself, or I read on the forums or Reddit. But I don't have a roadmap, and right now, I'm focusing on another project (unrelated to X3).

That being said, a very distant idea would be to implement random universe generation into Mayhem. Obviously a lot of work.

Reply Good karma+2 votes

is this compatible with star wars lu mod?.

Reply Good karma Bad karma+1 vote
Joubarbe Creator

Nope :)

Reply Good karma+1 vote

sad :(

Reply Good karma Bad karma+1 vote
Joubarbe Creator

Reply Good karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.

Follow Profile
X³: Terran Conflict
Send Message
Release date
Mod watch
Community Rating



17 votes submitted.

You Say


Ratings closed.

Highest Rated (5 agree) 10/10

This is THE mod that you need to fill that gaping void in your heart. It is a comprehensive total conversion mod that takes the vanilla X3 experience, and turns it into something refreshing and fun. In this mod, you play as a survivor of the Sohen race. You start with a Sanctuary in a remote sector, and are tasked with saving your people, and rebuilding the Sohen presence in the universe. The gameplay balances around this special Sanctuary station. It is the primary means for which you can (EASILY…

Jul 13 2018 by b13281

Single Player
Embed Buttons
Link to Mayhem by selecting a button and using the embed code provided more...
Last Update
53 members