Stop AI building hidden Nationality units

modmyciv

Warlord
Joined
Oct 5, 2009
Messages
175
During lengthy debug games I notice that the AI builds a lot of hidden nationality units - low strength and expensive. Even when much better units are about. I've already made them well below the power curve. I guess I could remove the 'offense' flag, would this slow it down, or stop them being built at all?

How does the AI pick units to buy? I guess 'Hidden Nationality' counts for a lot anyway.

Thanks
 
It chooses those, because they can harass, attack, pillage, sometimes even conquer enemy cities, without precipitating a war. So, yeah, they would be worth a lot.
 
True, but I've made the expensive. And the AI churns them out to attack enemy cities piecemeal, each gets killed, they build more. It wastes resources really - although it does slow down the AI

I removed the attacking unit flag - and now they don't build any.
 
Its not perfect but you could make a wonder that auto produces them every x amount of turns. Im doing something similar. Fascism will allow X improvement/wonder and then produces fanatic insurgents.

If u dont like only 1 unit to be build at a time, then make 3 small wonders or so. This way you have control how much is being build every X turns. If you make 3 small wonders and they build every 5 turns, the AI will get 3 of those units every 5 turns. Remove the civ tag from the unit so its not available for anyone to build, and just auto produced.

Like i said its not perfect but its all we got and i finally had to accept it lol.
 
ZergMaster is right, the only tried and true way to keep the AI from almost exclusively spamming HN units is to limit them to being auto-produced by buildings and/or wonders. That's how I managed to limit the usage of Turks (spies) in the Final Fantasy mod.... I just had the Intelligence Agency (and the unique secondary Forbidden palace SW available for the Imperialist government) produce these saboteur type units every 5 turns.

Keeps the player on their toes in the Industrial era and beyond without going to the extremely annoying levels of being under constant assault by them if they'd have been buildable.
 
Back
Top Bottom