ModBuddy New Unit Icon does not load

jphm95

Chieftain
Joined
Apr 23, 2012
Messages
4
Hey I'm new to Civ5 modding and I was just wondering if any of you knew why i can't get my new unit's icon to show up in the game. i have a dda file with my icon but it doesn't load. i get no errors when i build the mod
below is a screen shot of my .DDS file any help would be much appreciated :)
dds file.jpg

Moderator Action: Moved to the modding subforum.
 
Well, there are a number of reasons why it could not be loading:

1. Make sure all of your icon atlases are in .dds format. The screenshot is in .png, for example. You might have saved it after the screenshot but sometimes we forget the obvious.
2. Units require 5 different icon sizes for different circumstances: 256, 128, 80, 64, 45. That atlas in the screeny is for the 256 icon. Make sure you have resized it for each of the other necessary sizes.
3. Make sure you import the art files into the VFS and also import the XML for the atlases into the VFS.
4. Make sure the XML for the new unit entry correctly references your new atlas. Sometimes you just make a typo and don't notice.

If none of these work then you may have to post the mod so someone can take a look at it.

Kael's guide goes through the steps necessary for adding new icons pretty in depth (however it doesn't include the "Import into VFS" step) so if you haven't, please read it. You could also download someone else's mod and take a look at how they add new unit icons and just copy their format. Good luck :)
 
Hi thanks I have done all the sizes and saved them as .dds but I don't know how to import the VFS thingy I don't have the button every one talks about in the preferences tab for the .dds files
 
It's in the Properties panel (bottom panel on the right hand side if you've not changed the default layout)

"Scroll the Properties panel to the bottom and change "Import into VFS" to true"
 
worked it out now I had the icon atlas in a separate XML as soon as I copied it over to the units XML everything worked fine :D :D
 
Back
Top Bottom