0 population for new region

Have a question about how to mod something? Or have an issue with one of our mod tools? Post here.

Moderators: Balthagor, Moderators

Post Reply
User avatar
Viper151
Warrant Officer
Posts: 43
Joined: Aug 12 2016
Human: Yes
Location: X: 460 Y: 176
Contact:

0 population for new region

Post by Viper151 »

I've been having this issue where when I create a new region in the map editor and pair it with the .cvp file. I made sure I had the cvp file correct, but every time after I cache the mod the new region has 0 population in cities and 1 in the capital. The state tab says that It has 13,000 people but there is no sign of anyone even in the woods. This is very weird because a 1million pop city should not have 1 person living in it. Any help would be nice thanks.
Cold War Enhanced Mod: viewtopic.php?f=91&t=29123
Join our Discord: https://discord.gg/bYvRMUP
Micheal Berg
Captain
Posts: 102
Joined: Jun 19 2015
Human: Yes

Re: 0 population for new region

Post by Micheal Berg »

AverageGamer`s zombies may have passed through your region.... :o :o :o :o
Micheal Berg
Captain
Posts: 102
Joined: Jun 19 2015
Human: Yes

Re: 0 population for new region

Post by Micheal Berg »

Sorry, but other than some humor, i cant be of help |O
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: 0 population for new region

Post by evildari »

did you place some people in your region with the mapeditor?

see this picture - number 6 - that population in hex slider:
http://www.bgforums.com/forums/viewtopi ... 10#p185410
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
User avatar
Viper151
Warrant Officer
Posts: 43
Joined: Aug 12 2016
Human: Yes
Location: X: 460 Y: 176
Contact:

Re: 0 population for new region

Post by Viper151 »

evildari wrote: Aug 21 2018 did you place some people in your region with the mapeditor?

see this picture - number 6 - that population in hex slider:
http://www.bgforums.com/forums/viewtopi ... 10#p185410
Yes, but we haven't added anything. Were trying to make a city state out of an existing city or two. Here's what happens at the capitol.

Image
Cold War Enhanced Mod: viewtopic.php?f=91&t=29123
Join our Discord: https://discord.gg/bYvRMUP
User avatar
number47
General
Posts: 2655
Joined: Sep 15 2011
Human: Yes
Location: X:913 Y:185

Re: 0 population for new region

Post by number47 »

@Viper

How many population did you give that new city state in the .cvp file? I believe it is a "refpopulation" line...
"If everyone is thinking alike, someone isn't thinking."
- General George Patton Jr
User avatar
Viper151
Warrant Officer
Posts: 43
Joined: Aug 12 2016
Human: Yes
Location: X: 460 Y: 176
Contact:

Re: 0 population for new region

Post by Viper151 »

number47 wrote: Aug 22 2018 @Viper

How many population did you give that new city state in the .cvp file? I believe it is a "refpopulation" line...
Well we tried -1 since that was the default in the scenario editor. Next we tried 3500000. :o (realized after that its some sort of ratio) Then I think we tried 3.5 with crazy pop growth results.

What we found odd was that -1 seemed to make the population work however the population only worked with what the cities had in them. In other words the population filter shows 0 pop in all non-city tiles. (Now assuming that the refpopulation fills in those)
Also it appears to act as a dead state with the wrong flag and is unplayable now.

Image
Cold War Enhanced Mod: viewtopic.php?f=91&t=29123
Join our Discord: https://discord.gg/bYvRMUP
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: 0 population for new region

Post by evildari »

here my experience:
the population numbers in the mapeditor are used like a starting weighting.
The refpopulation in the .cvp file is used to determine your regions starting population.
While caching the population will be distributed with the most weight to the biggest population numbers of your regions hexes.
Then the people migrate to other centers and even unbuild location (although very few).
In my new marsx2 mod i made only one capital hex populated with 20M people and set 200M in the .cvp.
In the game the region had almost 200M people and they were quit nice distributed by the game.

Just in case: i only use the mapeditor - i do not use the scenario editors
Maybe check the .cvp entries of other city states.
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
User avatar
Viper151
Warrant Officer
Posts: 43
Joined: Aug 12 2016
Human: Yes
Location: X: 460 Y: 176
Contact:

Re: 0 population for new region

Post by Viper151 »

Found the fix!
So I made a direct copy of 1989 china and completely forgot to remove the grouping. [_]O
Thanks everyone and hopefully others find this helpful in the future.
Cold War Enhanced Mod: viewtopic.php?f=91&t=29123
Join our Discord: https://discord.gg/bYvRMUP
Post Reply

Return to “Modding Issues & Support”