View Full Version : code of One City Challenge


Methos
Jul 15, 2007, 08:43 PM
I'm currently looking through the assets trying to find where the information is on One City Challenges. I'd like to locate both the code and where the game options are set when selectiong OCC. One thing to note is that I am not familiar with python, though I am working on it.

I figured I might as well post a help thread while I looked for it myself. With any luck, someone here will know where it is prior to me finding it. Which could be a while! :D

Mexico
Jul 16, 2007, 12:26 AM
I'm currently looking through the assets trying to find where the information is on One City Challenges. I'd like to locate both the code and where the game options are set when selectiong OCC. One thing to note is that I am not familiar with python, though I am working on it.

I figured I might as well post a help thread while I looked for it myself. With any luck, someone here will know where it is prior to me finding it. Which could be a while! :D

OCC code is mostly in SDK

Zebra 9
Jul 16, 2007, 11:42 AM
I think CvGame.cpp. I'm not 100% sure.

Impaler[WrG]
Jul 16, 2007, 01:51 PM
Yea it and all other Game options are encoded entirely in the SDK, theirs an Enum GAMEOPTION_ONE_CITY_CHALLENGE which you can search for in the code ware it will be used in if statements to produce the various effects.