Europa Universalis IV

Europa Universalis IV

Divided Colonies
canadian birds 2017 年 5 月 15 日 下午 12:50
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!
最后由 canadian birds 编辑于; 2017 年 5 月 15 日 下午 12:50
< >
正在显示第 1 - 3 条,共 3 条留言
canadian birds 2017 年 5 月 24 日 下午 7:29 
On further testing, replacing MAX_DYNAMIC_COUNTRIES with MAX_COLONIAL_NATIONS does in fact increase the number of colonial nations available.
SeelingCat  [开发者] 2017 年 6 月 12 日 下午 4:15 
I have no idea how I missed this post, but thanks for the headsup - Firaxis must have changed the code without me noticing.
Church 2017 年 10 月 2 日 上午 12:01 
If you continued to inflate that number past 100 would the game create more, or is it hard coded to cap at 100?
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50