Trade Lag Mitigation
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.
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.
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://steamcommunity.com/sharedfiles/filedetails/?id=3403656496
Load order does not matter for compatibility version as no vanilla file is modified.
Trade pirate should no longer spawn with this mod enabled, since trade routes no longer exist.
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.
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.
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)
Revisions:
Old revisions of this mod are available below. Click the link to download.