Stellaris

Stellaris

Spread Empire Placement
14 Comments
I am Goot Apr 13, 2023 @ 9:24am 
I think the only real way you'll get true empire placement mechanics if the galaxy was set up in the following sequence, Galaxy size, Empire placement then being placed with a mathematical equation, and THEN the hyperlanes are put in place. With the random empires (fallen/marauders/Primitives) being placed last.
I am Goot Apr 13, 2023 @ 9:20am 
I imagine the empire placement algorythm is down to the old potential space travel options. When they allowed empires to begin with either hyperdrive, warp drive or worm hole generator stations. As something I've come to accept from Paradox, if its still broken, don't fix it policy unless, we can claim its 'new' DLC content aka we'll fix our own BS, but you'll have to buy the fix with a DLC purchase, as they did with what they call the 'Vassal rework'. They broke Vassals, and now we have 2-3 DLCs content that are Vassal orientated. My point is, this might get a fix, but we'll have to pay for it
ThatTallSteve  [author] Apr 12, 2023 @ 5:26pm 
Eh. I agree that games spawning mechanics could use a change. The game doesn't take hyperlanes into account when spawning empires, which is the main issue.

Lets say you have
min hyperlane distance = 10
max hyperlane distance = 50
empire distance 100 - 250

So you end up with empires 25 to 2 jumps apart. My mod just just increases the empire distance to get more like 4-25 jumps apart. I tried getting the min 4 jumps higher but when min_sq_dist_between is too high it bugs out and puts 3+ empires within 4 jumps.

The only way to make sure players are exactly spaced evenly is to make a custom map, which would remove all randomness from galaxy gen.
I am Goot Apr 12, 2023 @ 2:12pm 
I have been looking for a map generation mod that puts all standard players equal distance apart. Something the 2 mentioned mods also were next to useless at doing. Of course every space based RTS I've ever played, got this kind of setting correct, from day one, then come along Paradox, who can't do math to save their life, and this setting to me, is just basic math.
Mystical Mollusk Apr 2, 2023 @ 2:03pm 
Thanks for the mod, was very usefull in the past. It nice its in the game now though
ThatTallSteve  [author] Jan 28, 2023 @ 8:09am 
Mod is out of date, they updated the galaxy gen when they added the new galaxy shapes. Every shape has their own values. I currently don't have any plans to bring it up to the current update.
Darh Jan 27, 2023 @ 6:00am 
this may work without using or modifying the "setup_scenarios" folder
ThatTallSteve  [author] May 27, 2022 @ 3:17pm 
Comment Part 1
The documentation isn't the best on paradox's side.

Original Values
ideal_sq_dist_between = 5625
min_sq_dist_between = 2500

My version
ideal_sq_dist_between = 90000
min_sq_dist_between = 60000

These 2 variables took some trial and error figuring out how they work. I think the number is the area of a circle and not a square.

After doing some math to figure out the radius of the circle. A=pi*r^2

Original Values (radius of circle)
ideal_sq_dist_between = 42
min_sq_dist_between = 28

My version
ideal_sq_dist_between = 169
min_sq_dist_between = 138
ThatTallSteve  [author] May 27, 2022 @ 3:17pm 
Comment Part 2
Although the areas of my mod are much bigger than the original, they seem more normal when looking at the radius.

In the files for each galaxy size there are two values we can use to determine the scale of the radius.

From huge galaxy
radius = 450
max_hyperlane_distance = 50

After some testing I think the max_hyperlane_distance is on the same scale as ideal_sq_dist_between and min_sq_dist_between. Galaxy radius seems to be it's own thing and deals mostly with graphics and is not related to the galaxy's coordinates at all.

So in essence my mod my mod tries to push empires to at least 3 jumps away (since each hyper-lane can be 50 long), from the base games minimum of 1.

Let me know if you have more questions.
(side note nothing in the galaxy folder changed with the expansion so the mod should work with overlord)
Arvi May 27, 2022 @ 1:02pm 
Thanks allot, you are teaching me how to mod this.
I am surprised the numbers are so high in base.txt . 400x400 square, is that not like a quarter of a huge galaxy ?
ThatTallSteve  [author] Apr 11, 2022 @ 2:37pm 
I don't see anything about NSC2 Lite that would conflict.

Only mods that change galaxy generation will conflict with this mod. If a mod changes empire spawns, nebula generation, or fallen empire placement it might conflict. Everything else shouldn't conflict.
Chidy1776 Apr 11, 2022 @ 11:26am 
Will this mod work with others like NSC2 Lite? Thanks for making it btw, i hate spawning so close to AI that we can colonize each others guarenteed worlds.
ThatTallSteve  [author] Apr 9, 2022 @ 8:40am 
Only on Tuesdays
Bowsercannon [RN SCP] Apr 9, 2022 @ 4:10am 
If there is a god in this world it's you.