City Founding requiring Improvements

Jennar

Chieftain
Joined
Nov 25, 2008
Messages
55
Is there a way to make it so that for a settler to be able to found a city a specific improvement be present on the tile?

What I would like to do is require that Keeps/Forts be required to found cities out side of the cultural borders of an empire until a certain point where an upgrade style settler can do so like it does normally.

Also is it possible to have a city gain a default building based upon era. I.e. if a city is founded in classical times it gains walls automatically. If a city is founded in medieval times it gains a castle automatically. If a city is founded in modern times it gains a Starbucks automatically. etc.

Thanks for the help.

-J
 
Is there a way to make it so that for a settler to be able to found a city a specific improvement be present on the tile?
...
If a city is founded in modern times it gains a Starbucks automatically. etc.
:lol:

And yes you can - by using Python checks.

If you activate USE_CANNOT_FOUND_CITY_CALLBACK in GlobalDefines.xml you can then make any checks you feel would be required under cannotFoundCity in CvGameUtils.py.
 
The second part is completely possible, the Navy Seal made a Settlers MODCOMP, which allows you to make upgraded settlers that build cities with buildings in them. As for the first part, that's tricky;
how would you found our first city?
Although it could be worked around by givivg the upgraded settler at the beginning, then only letting them be built after a while.
 
Is there a way to make it so that for a settler to be able to found a city a specific improvement be present on the tile?

What I would like to do is require that Keeps/Forts be required to found cities out side of the cultural borders of an empire until a certain point where an upgrade style settler can do so like it does normally.

I suspect the AI will have a hard time dealing with that limitation if you do get it to work. It's not going to know how to build a Fort first, then a city later. You're essentially going to cripple the AI's early expansion by adding something like that, unless you also go into the DLL and change the AI's routines.
 
Back
Top Bottom