Problem to get my modular mod working

Deon

Lt. of Mordor
Joined
Jan 13, 2008
Messages
2,956
Location
St.Petersburg, Russian Federation
Greetings!

I wanted to change a few of existing parameters so I've made /assets/modules/malakimplus folder and placed there xml files which change different things for a FFH2 race. But when I load the game I get "Failed loading xml file: *filename*" for most of my files while there're no obvious errors. What do I do wrong?

[EDIT] I copied all the schemas and renamed them to fit the mod but now I have problems with text. Is there a problem with folder structure? Can I just throw everything in 1 folder without actually subdividing files by folders?
 
Well, AFAIK most modular mods have a structure like this:

/assets/modules/Custom Civilizations/malakimplus

But your structure should also work. You mentioned problems with the texts. Could you be more specific, please?

Sure, you can have all files in one folder. If you want, keep them all in

/assets/modules/Custom Civilizations/malakimplus

or

/assets/modules/malakimplus

I would actually put the file containing you civilopedia entries in one of these folders I have just mentioned (depends on which structure you choose). Don't know if this solves your problem...
 
Also import to note is that if you start renaming XML files you pay attention. So if your files are renamed to this for example:
malakimplus_CIV4Diplomacy.xml
malakimplus_CIV4Diplomacyschema.xml

make sure that you go in the XML files and reference the renamed schema files near the top "<Civ4CivilizationInfos xmlns="x-schema:malakimplus_CIV4DiplomacySchema.xml">"

I just made those files up, but you should get the idea. If you still have trouble, download someone else's module and base your's off theirs.
 
Back
Top Bottom