Phantom Resources

bluefalcon

Chieftain
Joined
Jul 3, 2011
Messages
8
I am trying to create a combat-only mod, so I deleted the "Resources" table and all references, as well as all features except forest and fallout. When I start up a game, the map is completely devoid of all food, gold, production except for precisely three tiles around where my settler starts: the settlers start position and two resources located nearby. I don't understand how the game is generating these resources if I deleted the whole table, but it must have something to do with the start bias or something similar. I did try disabling start bias, no effect. Can someone tell me what's going on?
 
It's AssignStartingPlots, and the related scripts. You deleted the resouces from the XML, but the resources will be explicity referenced within scripts like AssignStartingPlots. If you deleted the resources from the XML, it'll fail at various points in that script when trying to set up variables, but I'm not surprised that there's a small amount of hard-coding in the case of the start locations.

Frankly, I'm surprised it didn't just crash. Deleting tables is generally a bad thing.
 
OK, so I decided to use World Builder to make my scenarios' maps to avoid the problem mentioned above, now the only problem is the actual city's tile. It always yields 2 food and 1 production no matter what I do. I tried changing "MinCity" in the Yields table to 0, still no good. What am I missing?
 
Back
Top Bottom