Europa Universalis IV

Europa Universalis IV

Divided Colonies
Max Colonial Nations, and defines.lua
As I was playing with this mod, I noticed that various colonial nations weren't forming. In fact, they were capped at 75 (C74), though in reality it was less than that due to annexing and destruction of various other colonies.

Looking into it, I found this line in the base game's defines.lua:

MAX_COLONIAL_NATIONS = 75, -- Max is 100

(In the same block of code is a comment for Client States saying that it should be lowered to 75, as the tags seemed to start at 75, but testing this, this is not the case.)

Looking at the defines.lua in the mod itself, however, I found that it says:

NDefines.NGame.MAX_DYNAMIC_COUNTRIES = 100

In the NGame section of the base game, there does not seem to be a MAX_DYNAMIC_COUNTRIES, so this might be the problem.

Unfortunately, fixing this would allow only 25 more colonial nations to be formed, but that's not exactly a problem for me.

Hope this helps!
Last edited by canadian birds; 15 May, 2017 @ 12:50pm
< >
Showing 1-3 of 3 comments
canadian birds 24 May, 2017 @ 7:29pm 
On further testing, replacing MAX_DYNAMIC_COUNTRIES with MAX_COLONIAL_NATIONS does in fact increase the number of colonial nations available.
SeelingCat  [developer] 12 Jun, 2017 @ 4:15pm 
I have no idea how I missed this post, but thanks for the headsup - Firaxis must have changed the code without me noticing.
Church 2 Oct, 2017 @ 12:01am 
If you continued to inflate that number past 100 would the game create more, or is it hard coded to cap at 100?
< >
Showing 1-3 of 3 comments
Per page: 1530 50