Page 1 of 1

Automatic balancing POPs.

Posted: Sun Sep 13, 2020 3:35 pm
by Surt
I have tried out automatic pop control in provinces, but at least in some cases its not good, actually its bad. The problem is when no structures are being build, everything above zero is just going into the 35% deterioration of stored infra. So if no buildings are being build the ratio for infra productions should be severely lowered.
NubiaBalanced.JPG
NubiaBalanced.JPG (79.16 KiB) Viewed 1002 times
The problem might be easily solved by some code like

if (NumStructCurBuild == 0)
lowerInfra
else if (NumStructCurBuild > 0.5 * regions)
incInfra

Next potential improvement is that regions with production is the first to get infra pops.

The next potential improvement is a bit more difficult is to produce the rest of all 4 resources where there is most bonus on them.

Re: Automatic balancing POPs.

Posted: Sun Sep 13, 2020 10:08 pm
by DSP3000
It’s a limit of game AI. AI isn’t really good in any 4x strategy game because it doesn’t have foresight.

The simple fix would be a build queue and a min/max line on Pop allocation.

Personally I try to mitigate my empire micromanagement by focusing on infrastructure and putting the long builds on my territories far away from the frontlines. Just dismantle all war buildings because with enough infra you can be ready to build an army long before you may need it in that province

If I use my internal territories for troops I put it in to ships because they can move fast

Re: Automatic balancing POPs.

Posted: Mon Sep 14, 2020 1:03 am
by Surt
The first part should be really easy to fix, as it just need to check if anything is being build, and if not lower infra production.
Same for the 2nd, the distribution over the regions should start with the province actually producing.
The rest might be a little more difficult.

Re: Automatic balancing POPs.

Posted: Mon Sep 14, 2020 8:57 am
by Pocus
Good point I guess, that the number of structures currently build should also influence infra allocation, and not just current upkeep. Noted!