AIs City building locations

XerbSys

Chieftain
Joined
Oct 5, 2010
Messages
19
Hello,

is it possible to define pre-fix city buliding locations for the AI on a map in the map editor? Or any other idea to make the AI build its cities a bit more "nice"?

Thanks a lot!
 
Hello,

is it possible to define pre-fix city buliding locations for the AI on a map in the map editor? Or any other idea to make the AI build its cities a bit more "nice"?

Thanks a lot!

That's almost certainly possible. All the Civ4 RFC games had that, so there must be a way to do it in Civ5. I would not know how though.
 
No it cannot be done in the map editor. The RFC games did it by heavy use of python and/or DLL code. To do the same in civ 5 you would need lua and/or DLL code.
 
OK, dll-code is not my payment-class.

Then the AI-cities have to be destroyed an rebuild nearby, which arises the next question:

There’s obviously a huge diplomatic penalty for razing cities. How it is named so that I can disable it? I’ve tried to look at the GlobalDiplomacyAIDefines but found nothing that really fits.

Thanks a lot!
 
There’s obviously a huge diplomatic penalty for razing cities. How it is named so that I can disable it? I’ve tried to look at the GlobalDiplomacyAIDefines but found nothing that really fits.

There isn't a razing city warmonger penalty. And per-city acquisition warmonger penalty is hardcoded in the DLL, you must modify the CvPlayer.cpp slightly to tweak it. Per-DoW warmonger penalty is a value in the XML, though.
 
Back
Top Bottom