[GS] Forcing the AI to play tall

TheUnoriginal

Chieftain
Joined
Sep 1, 2018
Messages
10
Hello!

I'm trying to create a mod that will force the AI to play tall instead of wide. It's easier on my PC and I really dislike having the entire map filled with buildings and units...

So far, I've tried to scale up the production cost for Settlers and increased the maintenance cost for units:
Code:
UPDATE Units SET CostProgressionParam1 = CostProgressionParam1*3 WHERE UnitType='UNIT_SETTLER';
UPDATE Units SET Maintenance = Maintenance + 1 WHERE Combat != 0;

Doesn't relate that much, but I also increased the minimum distance between cities:
Code:
UPDATE GlobalParameters SET Value = 4 WHERE Name="CITY_MIN_RANGE";

However, it didn't seem to work well from mid-game forth.
Does anyone have any suggestions how to improve my mod? Should I just increase my parameters, or can I change something else? Maybe introduce penalties for large number of cities?
I would also appreciate giving me a code example, I'm not that good with coding...

Thanks in advance!
 
Why didn't it work well from the mid-game on? I would think the AI is coded to build the same amount of settlers and military regardless of the cost changes.

I scaled-up the Settler cost massively to discourage the AI from creating too many settlers, but around the renaissance most civs had already around 7 cities.
I Increased the maintenance cost for military units (and now I changed the mod to double it) to prevent the AI from spamming too many of them, but again- it didn't work.

I guess the AI isn't that smart if it didn't change its behavior. Either that or my changes weren't drastic enough.
I only played on emperor difficulty, so it shouldn't have had that much of an advantage against me.
 
Back
Top Bottom