Automatic balancing POPs.

Field of Glory: Empires is a grand strategy game in which you will have to move in an intricate and living tapestry of nations and tribes, each one with their distinctive culture.
Set in Europe and in the Mediterranean Area during the Classical Age, experience what truly means to manage an Empire.

Moderator: Pocus

Post Reply
Surt
General - Carrier
General - Carrier
Posts: 4864
Joined: Thu May 21, 2020 9:50 pm

Automatic balancing POPs.

Post 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 997 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.
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
DSP3000
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 12
Joined: Tue Sep 08, 2020 3:47 pm

Re: Automatic balancing POPs.

Post 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
Surt
General - Carrier
General - Carrier
Posts: 4864
Joined: Thu May 21, 2020 9:50 pm

Re: Automatic balancing POPs.

Post 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.
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Pocus
Ageod
Ageod
Posts: 7704
Joined: Tue Oct 02, 2012 3:05 pm

Re: Automatic balancing POPs.

Post by Pocus »

Good point I guess, that the number of structures currently build should also influence infra allocation, and not just current upkeep. Noted!
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
Post Reply

Return to “Field of Glory: Empires”