Help with modding game files

Hi, 

I just want to edit my improvementDefs.xml to make a building destructible.

So, I created a folders 

D:\Documents\My Games\GC3Crusade\Mods\Mark-Config\Game

And there I pasted a copy of the improvementsDefs.xml, with my changes.

I then enabled mods in the game.

However, it does not appear to be reading it.

My Windows OS is on C: drive, and I change the settings to put my documents on the D: drive.

So, the documents are on the same drive as the game.

It should work?

Can you offer any suggestions?

Even a non-harmful change to make to the improvementsDef.xml, that would make it real obvious if it is reading the file or not?

 

 

 

 

 

 

 

 

 

 

19,240 views 4 replies
Reply #1 Top

Try without a -

Reply #2 Top

Why not just make a backup, and then directly edit the main game file? If it were a complicated change, I would make a separate mod file, but something as simple as changing one line for each improvement is as simple as a search and replace function.

Step 1. Make a backup of ImprovementDefs.xml.

Step 2. Open the file. Find <IsDestructible>false</IsDestructible> Replace with <IsDestructible>true</IsDestructible>. (or something like that. I forgot the exact name/value.)

Step 3. Save.

Step 4. ???

Step 5. Profit!!!

To undo, you simply overwrite the edited file with the original.

Reply #3 Top

UPDATE

 

Thanks for the replies!

Placing the file improvementDefs.xml in the: <Game Drive>:\Documents\My Games\GC3Crusade\Mods\Mark-Config\Game directory works; with a new game.

 

I guess this makes sense.