Modding the Custom Game Screen

xienwolf

Deity
Joined
Oct 4, 2007
Messages
10,589
Location
Location! Location!
I am seeking advice on where to look to modify the Custom Game Screen. So far I haven't found anything which looks promising (though one thing I found MIGHT be the multi-player custom game screen).


The end goal is to add a new set of Game Options listed beneath the Victory Conditions, or even add a new tab to contain some game options there. I could just add these options as normal gameoptions, but the mod already has a TON of those, and I would like to make a few which are not set up as rigidly as a typical game option (the first goal is the option to disable certain Civilizations from being used in random selection, which I want to do with a loop over all Civilizations in the XML, rather than hardcoding each Civ to have a gameoption to disable it).


Mostly, I just need a pointer toward ANY aspect of the Custom Game screen which is controlled in the DLL or python so that I can get started, because with my own searching in the code it is seeming like the entire screen is handled in the .exe :(
 
Good luck. I fear that the Custom Game screen is not part of the SDK and is indeed handled by the engine; I've yet to see anything to modify it when I've looked. If it was available to us, I'd have expected to find calls to CvInitCore::setOption() or CvGame::setOption() but tracing their few callers didn't seem to lead anywhere useful. :(
 
Back
Top Bottom