[BTS] XML Load Error in Mods

GSimo

Chieftain
Joined
Jan 5, 2018
Messages
3
Hi,

I've been playing Civ4 for a good few years now and recently decided to tackle my first mod.

I started by trying to add a new civilization, following the tutorials on the forum. However I kept on getting an XML Load Error when loading the mod, saying that the CivilizationsInfo file failed to load after I'd edited it (within my new mod folder.)

I then thought I'd try and copy over some pre-existing XML files from a Mod I've been using for some time and try and edit those. I only renamed them (MyMod_Civ4.... didn't edit any yet) but then got XML Load Errors for all of them when loading the mod.

I've trawled the forums for a couple of days now but am a bit stumped.

I'm using BTS 3.1.9 on Windows 10 and notepad ++ for editing the files.

Thanks.
 
Did you edit the XML Schema files and add the changes that you made to your XML files? If you add XML tags into an XML file, the associated Schema file has to have the tags added to it in the right order.

And you'll get more help if you ask this question in the modding forums. This area is for people who are having a technical difficulty and modders don't usually come here to answer questions.
 
I hadn't as this wasn't included in the tutorials. Thanks for the tip, having just read up on the schema I can see why this was a bit of an omission!

Wasn't sure whether to post in this forum or the modding one. I'll know for next time!

Thanks.
 
You're welcome. I hope you get it working. :)
 
Top Bottom