Galactic Market Foundation Tweak
Events, Fixes
Are you tired of small empires establishing the galactic market within their borders?
- Then this is for you!
Empires with higher trade income are now even more likely to host the galactic market!
As of Federations, the base game included a small deliberation of this fact already. But, even with Orion, Paradox has still not touched some of the issues present in the event chain (w...
Author: nighthawk
Created: 21 Sep, 2019 @ 6:04am
Updated: 18 May, 2023 @ 10:52pm
Subscribers: 9176
Size (unpacked) : 0.380 MB
Are you tired of small empires establishing the galactic market within their borders?
- Then this is for you!
Empires with higher trade income are now even more likely to host the galactic market!
As of Federations, the base game included a small deliberation of this fact already. But, even with Orion, Paradox has still not touched some of the issues present in the event chain (which are fixed by this mod).
This mod tweaks the event that chooses the country to lead the galactic market. It also fixes the relocation of the market through the galactic community, which still uses the completely outdated formula in the vanilla game (it was forgotten by the Paradox developer who updated the event chain).
Country wide trade income will be increasing the likelihood of being chosen as the host (the income is multiplying the chances of getting chosen) if you use this mod.
The base game only uses the trade flowing through the solar system of the planet as well as the candidate rating displayed in the planet modifier.
The vanilla rating system has been kept, this mod just applies an additional multiplier.
It effects all countries (including the AI) the same way.
This makes the luck-of-the-draw more predictable and accurate for empires with a different trade_income.
All in all this ensures that countries with more trade have way higher chances of being selected, while pushing your rating is still very much worthwhile, if most countries are on the same level. You should also carefully choose the planet to nominate, as its location will strongly influence your rating. Your capital system will be a great candidate, because all your trade routes connect there.
Single system galactic market hosts are therefore way more unlikely and you, the player, are able to strategically decide, if going for more trade value to acquire the 10% Market Discount that the station provides is worth it or not with a strong guarantee that it'll work out how you planned.
The system of the hosting country where the station will be installed, is the one home to the nominated planet.
This is a change from vanilla, where any planet of the empire still had a very slight chance to be chosen (however it was pretty much already impossible with weights of 1:9999).
Should be save game compatible, for as long as the founding event hasn't fired.
Ironman compatibility status is questionable due to changes for a vanilla event chain (please leave a comment if you notice otherwise).
Calculation of drawing weights:
Calculation of the rating multiplier:
This mod edits on_action_events.txt and galactic_community_events.txt. Currently the two events that are overwritten will be FIOS (first in - only loaded) due to ASCII order and the vanilla file will not be overwritten. Thus this mod should be compatible with any other mods that don't also edit the country events
If requested I can look into developing another mod that guarantees the country with the highest trade income will host the galactic market. In my opinion though, having a chance for each country, corresponding to their economic trading power is more realistic. This is especially true if multiple countries are on the same scale.
I tried to query a planets trade value directly, by the way. However, there was no way to read the value so prominently displayed ingame on the colony window. It was only possible to get access to a system's trade route value. And that is sadly inflated by other routes running through the system and/or doesn't differentiate between multiple colonies in the same system.
The whole trade value interface under the hood is still "slightly" lacking.
If you have any information that would help me out concerning these problems, please do leave a comment!
Sadly, even the Federations and Orion updates didn't change this fact.
Looking for my other creations?
Thanks for reading the description, downloading & playing with my mods!
Don't forget to leave a comment, smash that like button, subscribe and hit the bell icon!!!
- Then this is for you!
Empires with higher trade income are now even more likely to host the galactic market!
As of Federations, the base game included a small deliberation of this fact already. But, even with Orion, Paradox has still not touched some of the issues present in the event chain (which are fixed by this mod).
This mod tweaks the event that chooses the country to lead the galactic market. It also fixes the relocation of the market through the galactic community, which still uses the completely outdated formula in the vanilla game (it was forgotten by the Paradox developer who updated the event chain).
Country wide trade income will be increasing the likelihood of being chosen as the host (the income is multiplying the chances of getting chosen) if you use this mod.
The base game only uses the trade flowing through the solar system of the planet as well as the candidate rating displayed in the planet modifier.
The vanilla rating system has been kept, this mod just applies an additional multiplier.
It effects all countries (including the AI) the same way.
This makes the luck-of-the-draw more predictable and accurate for empires with a different trade_income.
All in all this ensures that countries with more trade have way higher chances of being selected, while pushing your rating is still very much worthwhile, if most countries are on the same level. You should also carefully choose the planet to nominate, as its location will strongly influence your rating. Your capital system will be a great candidate, because all your trade routes connect there.
Single system galactic market hosts are therefore way more unlikely and you, the player, are able to strategically decide, if going for more trade value to acquire the 10% Market Discount that the station provides is worth it or not with a strong guarantee that it'll work out how you planned.
The system of the hosting country where the station will be installed, is the one home to the nominated planet.
This is a change from vanilla, where any planet of the empire still had a very slight chance to be chosen (however it was pretty much already impossible with weights of 1:9999).
Should be save game compatible, for as long as the founding event hasn't fired.
Ironman compatibility status is questionable due to changes for a vanilla event chain (please leave a comment if you notice otherwise).
Details
The Galactic Market event chain starts when the resolution in the Galactic Community to found it has been passed. Calculation of drawing weights:
weight = ( 5 * rating_multiplier ^ 2 ) * trade_income * system_trade_value )
Calculation of the rating multiplier:
- Weak = 5= ( 1 )^2 * 5
- Adequate = 20= ( 2 )^2 * 5
- Strong = 45= ( 3 )^2 * 5
- Exceptional = 90= ( 4 )^2 * 5
- Perfect = 125= ( 5 )^2 * 5
Compatibility
This mod edits on_action_events.txt and galactic_community_events.txt. Currently the two events that are overwritten will be FIOS (first in - only loaded) due to ASCII order and the vanilla file will not be overwritten. Thus this mod should be compatible with any other mods that don't also edit the country events
action.98
galcom.67
This is may break between updates - but it didn't for Federations and Orion, so it should be safe to assume it will continue to work even if I (god forbid) abandon the mod one day. Still, if you notice any bugs (like a way too small empire hosting the galactic market), please report it in the comments so I can fix the issue.Future Development & Notes
As requested, another mod that will exclude isolationist nations, less likely to engage in strong intergalactic trade, like xenophobe empires, will probably be developed in the near future. It will be posted on its own though, since it'd probably not be for everyone. Especially when playing a xenophobe empire yourself, you'd probably not want that mod enabled. I'll leave a link here when I get to it.If requested I can look into developing another mod that guarantees the country with the highest trade income will host the galactic market. In my opinion though, having a chance for each country, corresponding to their economic trading power is more realistic. This is especially true if multiple countries are on the same scale.
I tried to query a planets trade value directly, by the way. However, there was no way to read the value so prominently displayed ingame on the colony window. It was only possible to get access to a system's trade route value. And that is sadly inflated by other routes running through the system and/or doesn't differentiate between multiple colonies in the same system.
The whole trade value interface under the hood is still "slightly" lacking.
If you have any information that would help me out concerning these problems, please do leave a comment!
Sadly, even the Federations and Orion updates didn't change this fact.
Obligatory Footnote
[github.com]Looking for my other creations?
Thanks for reading the description, downloading & playing with my mods!
Don't forget to leave a comment, smash that like button, subscribe and hit the bell icon!!!
How do I download and install mods?
Simply click the blue button above. It will open the file hosting page with the mod repacked by us from the official source.How do I install this mod?
See the 'How to install' tab.Is this mod safe to use?
The mods are repacked as is, without any additional software, malware, or bloatware added. To check for viruses, use a reliable antivirus or upload the archive to a website like virustotal.com. Anyway, It's always a good practice to keep backups of your saves in case of mod incompatibility .This instruction is not written yet..