Error from Default ModArt File?

luckybutjinxed

Chieftain
Joined
May 2, 2017
Messages
20
So, I used a template to get my mod... and I can't seem to get around this error. Problem is I haven't even really touched this file. The only error I can find is that I'm not supposed to have the double colon, but the game puts that there by default! I'm very confused. Help?
 

Attachments

  • error.png
    error.png
    91.2 KB · Views: 70
So, I used a template to get my mod... and I can't seem to get around this error. Problem is I haven't even really touched this file. The only error I can find is that I'm not supposed to have the double colon, but the game puts that there by default! I'm very confused. Help?
Safe to ignore. Firaxis has done there own thing and the double colons need to be there.
 
For reference here's the full set of errors I get when I try to build.
 

Attachments

  • error2.PNG
    error2.PNG
    31.6 KB · Views: 53
It's nothing to do with the multiple colons - they are actually correct so the error is nonsense - it's just because they aren't considered legit XML.

The real problem is the asset cooker error relating to Icons.blp. There must be a problem in your XLP or asset files somewhere. The error message isn't very helpful at determining what though so we'll need to see your Modbuddy project to go further.
 
Here's the files. Don't work too hard, I may start over from scratch!

Edit: Never mind template 2 keeps crashing. I think or hope this one may be more correct. Please help.
 

Attachments

Last edited:
Some things I found:
In your Joshs_Template_Icons.xml file you are referencing textures that don't exist (ICON_MOROSINI_XX.dds & ICON_VENICE_XX.dds). In your Textures folder they are called ICON_CIV_CUSTOM_XX.dds & ICON_LEADER_CUSTOM_XX.dds.
Your .artdef files build actions are not set to ArtDef and your .xlp files build action is not set to XLP. This is needed so the Update Database action of (Mod Art Dependency File) treats these an art file.
Your Mod.Art.xml file is incomplete. All your .xlp files should have a corresponding .blp entry in the relevant section under <gameLibraries>. and your .artdef files should be referenced as well under <artConsumers>. I have not made a civ before only units & unit icons so you will probably need to have a look at someone else's civ mod or the DLC (xxx.dep file) to find where they should be placed in the Mod.Art.xml.
It is also possible you will need a UserInterface.artdef file as well.

Apart from that it all seems good.
 
Back
Top Bottom