Changing Core Regions

Numancio

Chieftain
Joined
Jul 11, 2014
Messages
14
Hi,

If anyone is still lurking this forum, does anyone with modding experience happen to know how to modify the stability regions for a civ ie change a region from an orange to a green province?
 
I took a look at the code. Orange seems to either display a broader region or an "outside" region (or province, they're called regions in the code).

In Assets/Python/Consts.py there are lists of lists called lNormalRegions and lBroaderRegions (plus others but those don't matter here).

To change a region from orange to green, you'll first have to check if your civilization's list in lBroaderRegions contains that region; if yes, remove it. AFAICT lBroaderRegions isn't shown on the map, but it may cause problems if a region is in several lists of a single civ so it's best to remove it.

Then you'll want to add the region to your civ's list in lNormalRegions, which are the green provinces. And that's it.
 
Top Bottom