How to "override" buildings

Ok, I am looking to override some buildings like "Strategic Command", which is a Ship construction improvement, but neither gives a bonus or receives a bonus from neighbor improvements.

 

I did edit the "ImprovementDefs.xml" file in the game directory, but it seems to get overridden. Do I just create a mod and add my own "ImprovementDefs.xml" which overrides it?

 

Thanks

10,244 views 2 replies
Reply #1 Top

Better to make a mod and put your edited files there than to fiddle with the original game files. In case of errors you can easily switch off a mod, but it you broke your original game files you may have to reinstall.

Files with the same name in a mod directory take precedence over files in the original games folder.

Be aware that all XML files become part of a save game. So if you change them you have to begin a new game to see your changes.

Reply #2 Top

Hi,

with crusade, it is not possible anymore to directly alter the game xml files in the main game directory. They will be loaded everytime from the original database. What you can do ist to put a copy of the original file in your crusade mod folder and alter it there. Do not rename it, just edit what you need. The game will use your edited mod file if you have mods enabled.