Is it possible to have terrain produce culture or science?

Trade-peror

UET Economist
Joined
Dec 27, 2003
Messages
642
Location
Princeton, NJ, USA
I would like to make certain terrain types produce commerce components, rather than yields. Is this possible? I tried experimenting with modifying the terrain schema but I have not been able to get that to work. Any suggestions for achieving this effect are welcome and greatly appreciated!
 
You (at least mostly) can't modify schema without the SDK. The game code non dynamically loads the attributes it is pre-programmed to know about, and applies them in a fairly hard coded way. You should assume in general that you are only allowed to modify xml and not xsd, until you have the SDK.

That said, you could work around this with a lot of python work (add to the end of the schema so the default loader won't get confused, then reparse the xml/xsd with python code, and apply your effects through the python api).
 
Back
Top Bottom