New Civ Icon "Unable to load texture"

EvilMark

Chieftain
Joined
May 9, 2018
Messages
8
Making my first attempt at modding Civ 5 by adding a new Civilization. The civ is currently selectable, however selecting it results in an "Unable to load texture" error pointing to my icons, and a red square appearing where the icon should be, did I do something wrong?
 

Attachments

Did you set these files as "Import Into VFS" = true in modbuddy ? See whoward69's what ModBuddy setting for what file types tutorial

Did you reference the file names correctly in table <IconTextureAtlases> ?

Did you properly reference your Atlas name in the definition of the civ ?

Did you properly export the images into DDS format ? Or did you have a setting wrong for whatever program you are using to convert your images to DDS format ?

The art files themselves seem to look OK, but there are too many possible errors that you could have made that cannot be answered without the mod itself to look at.

[Boiler-Plate Copy-Pasta]
  1. It's better to just take the mod from the game's MODS folder, zip it, and attach the result directly to a post. It is far easier to look at your actual code and the actual structure of the mod as it is being seen by the game than any attempt to determine what you are doing wrong by analyzing descriptions of the problem, or out-of-context snippets of the code.
  2. Very often what a new modder thinks the problem is and what the problem actually is are two different things. Having the actual mod as you are currently trying to use it allows us to look for the actual problem, and if all else fails to simply drop the mis-behaving mod into our MODS folder and run the mod to see what the game tells us.
  3. Zip the version of the mod the game is actually trying to use, which will be found as a sub-folder in ~\Documents\My Games\Sid Meier's Civilization 5\MODS. Zip the whole sub-folder for your mod.
  4. See: whoward69's zip your mods and attach tutorial Just bear in mind that the process for actually adding the zip to a forum post is now different since the CFC website software was updated a few months ago about a year ago. To attach the zip to a forum post, look for a button called Upload A File when composing your thread reply: this button opens a browse menu where you can select the zipped folder to attach directly to a forum post.
  5. If the zipped folder is too large for the forum to accept then upload the zipped mod to a file-sharing site such as dropbox and provide a link where the mod can be downloaded.
    • Mediafire is not really a very good choice any more because they have become rife with spam and malware, as well as attempts to get you to download unwanted and uneeded kludge by confusing the layout of the download pages. You'll note for example that Mediafire links are no longer allowed on Steam, whereas CFC (this site) and dropbox links are still allowed.
 
Sorry, was late last night when I made the post and my assumption was that the art files were the problem, when I get home I'll zip the whole thing and post it after trying that modbuddy setting you mentioned. Size shouldn't be an issue, so far I've only created the icon and some of the text, everything else is just a copy of England ATM. I used Photoshop to make the DDS files, wasn't clear on settings so I just used what was shown in a picture in the tutorial I was using.
 
Ok that did the trick, the tutorial I was following didn't mention that at all, thanks! Now to start work on the leader, which is going to be difficult to figure out art for in this instance.
 
Back
Top Bottom