Disappearing Icons (Help)

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
I have made a leader icon which works well in the game and at the moment just use a Civ own icon for my Civilization.

Problem is on the selection screen sometimes they show sometimes they dont?

Does anyone know why?

Riker13:crazyeye:

EDIT: If I go in to the game, all icons are there. If I go back to selection screen my leader art is there but still no civ icon.
 
Last edited:
In your config file, in the Players table, the selection screen will use whatever icons you use there. For example, try using ICON_CIVILIZATION_ and any civ you want to try(GERMANY, AMERICA, etc), and ICON_LEADER_ and any leader you want to try (BARBAROSSA, SALADIN, etc). Make sure you have an Icons file that defines your own icons, and that it's set to the UpdateIcons action in the FrontEnd Actions. Make sure you're using the same variable for your icon between the two files. Also make sure you have an UpdateArt action in the FrontEnd actions, with it set to "(Mod Art Dependency File)", assuming you're using ModBuddy. (the following all assumes you're using modbuddy too) Make sure all of your icons in Asset Editor are set to the UserInterface class. Make sure there's an xlp with at least the 45x45 version in it, with class set to UITexture. Make sure the EntryID for that icon matches what you have in the icons file. In the Mod.art.xml file, in the gameLibraries table, find the UITexture element, and make sure you have a relativePackagePath that matches your xlp's Package name (mine is 'UI/UI_Icons', try copying that if different):
Code:
       <Element>
           <libraryName text="UITexture"/>
           <relativePackagePaths>
               <Element text="UILeaders"/>
               <Element text="UI/UI_Icons"/>
           </relativePackagePaths>
       </Element>

If all of that is correct, and you STILL can't see your icon in-game, then I'd really need you to upload your solution/project to try and diagnose the problem.
 
Ok thanks luei333, I will go back and take a look again, if not will let you take a look see if you can see where its gone wrong.
Oh I dont use Modbuddy do all work externally, does that change what you have writen above?
 
Well, the stuff about Asset Editor is null and void then. I use ModBuddy, so I'm not sure if/which .xlp and .tex files are needed or how to properly load stuff into the game via the .dep file. If anything I said above sounds familiar or about right, try and check it, and if you do upload stuff for your mod, I might be able to find some stuff, but other forumgoers will probably have better luck at that point.
 
Ok thanks luei333 they work in the game so its just a cosmetic thing in the selection screen so i`m not going to waste any more time on it for now, will come back and fix later but thanks for your assistance.
 
Make sure you have a 45x45 image, and make sure it's set to load in the front end. Really all I can say then. Best of luck!
 
Oh is it 45x45, I had a 256x down to a 22x including a 44x44 image, does Civ VI auto-resize for leader and Civilization Icon art like it does for the Building art?
Yep i`m sure I put it in the front end, will have another go with a 45x45.
Thanks :)
 
I don't think Civ 6 resizes any images at all, hence needing like a dozen images for the civ icon. I'm pretty sure it has to be a 45x45. I'm not sure how icon definitions are handled making mods manually, but you might need the Icons file, and to add the 45 icon atlas to whatever icon you use for your <Players> table entry.
 
I only made one size image 314x314 for my new building and that image seems to scale up and down, I`m confused A: Why it done that. and B: Why that would not work for the other Icons? Thought it was something new for Civ VI God knows it needs something as dealing with modding this time around seems to be more work that CiV. But as you say this was all made manualy without Modbuddy.
I will try again for the Civilization Icon again in a bit with a 45x45. Will let you know.
 
Back
Top Bottom