No Ethics Spawn Bias

If you liked this item, please rate it up on Steam Workshop page.

Author: cybrxkhan

Last revision: 23 Jun at 01:08 UTC (15)

File size: 264.08 KB

On Steam Workshop

Description:
Current Version Released 6/22/26, Compatible with 4.4

Discord Server for my mods[discord.gg]
Official Website for my mods[cybrxkhansmods.godaddysites.com]
WIth this mini-mod, ethics of randomly generated AI empires are more evenly weighted to appear, so there’s less of a chance you’ll be surrounded by hostile empires as in vanilla. It’s still possible to be surrounded by hostile AI if you have bad RNG – it’s just less likely compared to vanilla.

This mod is NOT compatible with any mod that modifies vanilla ethics, specifically the 00_ethics.txt file. Credits to Eris for the original implementation; while my tweaks are a little different, I was inspired by their nice mod, Ethics Bias Begone: https://steamcommunity.com/sharedfiles/filedetails/?id=2027672577

Because Ethics Bias Begone is unfortunately outdated (as of me releasing this mod), I decided to take matters into my own hands and upload this for the convenience of others.

How It Works

Contrary to a common urban myth in the fandom, the devs have said there isn’t any code that makes it so empires spawn with ethoses that are opposite yours. However, AI empires are more likely to spawn with aggressive personalities, which may be the reason for this misconception that AI empires are scripted to hate you. The devs said this was done to make the game more interesting from their perspective. I personally don’t find this interesting and more tiring than anything, so I made this for myself. Due to RNG, it’s still possible to spawn in a galaxy full of jerks, but ideally the chances are more balanced.

If you’re interested in how the code works so you can adjust it yourself, basically, each ethos is assigned a certain weight value in the 00_ethics.txt file that influence how likely they are to appear. For example, most ethoses are assigned values of 150 and 100 for their fanatic and non-fanatic variants respectively.

However, the Militarist ethos has weight values of 250 and 150 for fanatic and non-fanatic variants respectively, meaning militarist empires are more common. Meanwhile, Xenophile ethos has weight values of 100 and 66 for fanatic and non-fanatic variants respectively, meaning they’ll be less common. Pacifist ethos is even worse, with weight values of 33 and 66 for fanatic and non-fanatic variants respectively, meaning they’re kind of rare.

This mod simply changes the weight values for all ethoses to be 150 and 100 for fanatic and non-fanatic variants, so that Militarist/Xenophile/Pacifist distribution is more in line with the other ethoses. (Ethics Bias Begone, meanwhile, changes all the values to 500, but I decided to keep a semblance of Paradox’s original design of adding some weight to fanatic variants.)

My Other Mods

Basic Ordinary Origins: A mod that adds in several new simple, “default” Origins for player and AI to use so not everyone gets Prosperous Unification
Cybrxkhan’s Assortment of Namelists for Stellaris: Thousands of new names for leaders, spaceships, stars, and more! Fantasy, real-world inspired, and many others.
More AI Personalities: A mod that introduces tons of new AI personalities, adding more variety to the game.