Stellaris

Stellaris

283 ratings
[Deprecated] Trade Lag Mitigation
8
4
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
610.790 KB
27 Dec, 2024 @ 3:27am
20 Feb @ 6:51pm
16 Change Notes ( view )

Subscribe to download
[Deprecated] Trade Lag Mitigation

Description
Deprecated
As of Stellaris 4.0, trade route no longer contribute to lag and this mod will no longer receive update. Thanks for all your support during this journey. This mod will remain published in workshop for compatibility reason to older versions of stellaris.

Motivation:
Trade routes has appear to become a primary contributor to mid to late game lag. The path finding and trade protection calculation is suspected to be the main culprit behind the decrease in game speed.

Original Reddit post: https://www.reddit.com/r/Stellaris/comments/1b3cjrg/in_my_experience_these_are_the_biggest/

While there are other mods that deals with this issue, most either appear to be abandoned or deprecated, or too complicated and causes compatibility issues with other mods.

This mod aims to keep vanilla trade behavior, while at the same time keep compatibility with most other mods.

Design:
This mod applies a country effect to all countries at the start of the game that set starbase collection radius and protection range to 0.
The starbase in capital system gains a modifier that increase trade collection range to max. This eliminate the need of calculating trade route and trade protection.

Additional Changes:
The following has been changed due to becoming useless with trade route removable.

Trade hub: Increase trade value by 4
Hyperlane Registrar: Increase trade value by 6
Mercantile adoption effect: Increase trade value by 5%

Thanks to -F.T.L.- Solomun for the suggestion

If this mod is having compatibility issue with one of your overhaul mod, you can try the compatibility version here without those changes:
https://sp.zhabite.com/sharedfiles/filedetails/?id=3403656496

Load order does not matter for compatibility version as no vanilla file is modified.

Known issue:
Trade pirate should no longer spawn with this mod enabled, since trade routes no longer exist.

Bug Report and Suggestions:
This mod is still in early development, so please report any bug you see to the comments or discussions.
If you have any suggestions to make the mod better, please let me know.

Mod compatibility:
Overwrites:
common/starbase_modules/trade_hub section.
common/starbase_buildings/warp_fluctuator section.
common/traditions/tr_mercantile_adopt section.

Should be compatible with most mods that modifies trade value.

FAQ:
Can this mod be added to old save?
This mod can be added without any further action required for singe player saved game.

For multiplayer saved game, there is an additional edict "Enable MP Trade modifier" that need to be activated. If you don't see the edict, it means either this mod has already been activated or there was an installation issue. Check your capital starbase trade collection range to confirm mod activation. (Thanks to 𝅳𝅳𝅳𝅳𝅳𝅳𝅳𝅳 for the suggestion)
Popular Discussions View All (1)
1
18 Jan @ 12:10pm
Mod compatibility record and report
LennyTheLing
139 Comments
Mikeh 25 May @ 1:30am 
o7
palinecko 20 May @ 9:58am 
o7
Armorion 17 May @ 6:46am 
o7
Teartime 16 May @ 8:45am 
o7
d.kall 13 May @ 7:05pm 
o7, this was elegantly useful while it was needed so thanks for making it!
ldubose 11 May @ 6:03pm 
o7
vanillaification 6 May @ 6:22pm 
o7
PalmsAreSweaty 5 May @ 5:54pm 
Trade is linked with the number of populated worlds so yes @Xeonzs killing 80% of the galaxy can help as you are basically removing all the trade links connecting everything together.
RedDeath 5 May @ 8:41am 
I think this mod has no use anymore? Trade is now a ressource
Xeonzs 1 Apr @ 3:21am 
Worked for me on a new playthrough.
I didn't particularly feel a performance difference, whereas after the contingency started neutron bombing 80% of the galaxy (thus eradicating all the pops) performance went up real fast.
So pops still seem to be the biggest performance hit.
I'll personally be unsubscribing as I kinda miss the trade route system, but I guess it's a good mod for those who really don't care about trading and just want to squeeze as much performance as possible out of the game.