randomizing # of AI's question

gdgrimm

Prince
Joined
Dec 23, 2005
Messages
530
Looking for some quick help....

I want to modify the world creation process so that the # of AI's may vary on a particular map size.

So, for example, instead of always having 3 civ's on a Tiny world, you could have anywhere from 2-4 civ's on a Tiny world.

1) Is this something I could implement through the XML and configuration files? If so, which one(s) should I look at?

2) If this requires me to download and work with the whole SDK, what modules/classes/attributes would I need to work on? I'm a Python programmer by trade, so once I know what to work on, I'm confident that I can make the changes.
 
I'm pretty sure you'll have to fiddle with the SDK. CvGame.cpp is the one you will want to look at. You may be able to do it before the map loads, but there is a possiblility it would have to be done after the map has loaded.
 
thanks for the info. Now I have to decide which is more fun -- spending time to get the tweak done that I want, or spending that time playing the game in a 'not quite what I want' fashion.
 
Ugh. I looked through most/all of the Python stuff, and yes, it does look like I'll need to go into the SDK and the C++ stuff. I was hoping to avoid that.

:cry:
 
Back
Top Bottom