Hey guys, I've got a couple of assumptions which I'd like to run by you.
1 - loading files into a mod. Say I've got two files in a mod. One is an SQL file that changes the costs of all buildings by a percentage, the other is an XML file that loads a custom building.
If I load the building first, then the cost modifier, the cost of the custom building would be modified, right? If I load the cost modifier first, then the custom building, all the standard buildings would be modified and then custom building would be loaded, with the original, unmodified cost stated in the XML file, right?
2 - Same principle, except with mods. One mod modifies the cost of buildings, another loads custom buildings. Provided the buildings are added first and then the costs modified, the added buildings would have modded construction costs. However, how does the game decide which mod comes first? Is it alphabetically or something?
1 - loading files into a mod. Say I've got two files in a mod. One is an SQL file that changes the costs of all buildings by a percentage, the other is an XML file that loads a custom building.
If I load the building first, then the cost modifier, the cost of the custom building would be modified, right? If I load the cost modifier first, then the custom building, all the standard buildings would be modified and then custom building would be loaded, with the original, unmodified cost stated in the XML file, right?
2 - Same principle, except with mods. One mod modifies the cost of buildings, another loads custom buildings. Provided the buildings are added first and then the costs modified, the added buildings would have modded construction costs. However, how does the game decide which mod comes first? Is it alphabetically or something?