BUILDING ICON (HELP)

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
Hi,
I have made a new UB and have all the ICONS working except the one in the city build queue?
I have it all set within Icons.xml and Modinfo.
Anybody have any clues or come across this themselves?

Regards
Riker13:crazyeye:
 
Assuming that they actually are loaded (e.g. are they in civilopedia?), then if a prod queue is missin, then probably you just forgot about one specific size. There should be at least 6: 32, 38, 50, 80, 128, 256.
 
Yes I checked that and have all the icon sizes, it is strange it appears in every place except the queue and instead shows Stone Henge?
 
When the icon cannot be loaded, then „the old one” might stick. Stacks reuse instances of controls.
Probably check for errors in lua.log, or even some prints into the code to see if the icon ic correctly recognized and loaded?
 
First of all: My English is not the best. But I hope you can undestand me :-)

I also have some problems with icons in gathering storm...
I have created some mods (own civs) for rise&fall an they work without any problems. Since the update from gathering storm the icons are not shown anymore (whether in the start menue nor in the game). They are even not shown when I choose "rise & fall" in the start menue.

What I have done meanwhile is to add the line <CompatibleVersions> and <LoadOrder> in mod.info!

In the game everything works with my modded civs (for example diplomatic-text, rivernames, even the leader background). The only thing that is missing are the icons (for civ, leader, cities, own buildings, own units).

Does anyone have an idea?

Greetings from Germany!
 
One more thing I have noticed in regards to icons is that the game internally creates 5 versions of them where pre-GS there was only 1. I think it has to do something with the jersey system. It seems like an internal thing however.
 
What I have done meanwhile is to add the line <CompatibleVersions> and <LoadOrder> in mod.info!
Does your LoadOrder setting look like this in the modinfo file?
Code:
  <InGameActions>
    <ImportFiles id="ART">
      <Properties>
        <LoadOrder>100</LoadOrder>
      </Properties>
      <File>ART/EraBuildings_032.dds</File>
    </ImportFiles>
  </InGameActions>
or like this?
Code:
<Mod id="46f68baa-7457-4c80-b88d-53da67a4b38d" version="5">
  <Properties>
    <Name>LeeS' Buildings Are Fun</Name>
    <Description>LeeS' Buildings Are Fun</Description>
    <Teaser>LeeS' Buildings Are Fun</Teaser>
    <Authors>LeeS</Authors>
    <CompatibleVersions>2.0</CompatibleVersions>
    <LoadOrder>100</LoadOrder>
  </Properties>
According to user @Laurana Kanan the second method does not work since even before Gathering Storm was released. LoadOrder must be stated like the 1st example, as part of an individual Action.
 
Hello LeeS

at the moment it look like this:

<Properties>
<Name>Kon_Neu</Name>
<Description>Die V. betreten die Bühne</Description>
<Teaser>Die V. betreten die Bühne</Teaser>
<Authors>User</Authors>
<CompatibleVersions>1.2,2.0</CompatibleVersions>
</Properties>
<ActionCriteria>
<Criteria id="Expansion1">
<GameCoreInUse>Expansion1</GameCoreInUse>
</Criteria>
<Criteria id="Expansion2">
<GameCoreInUse>Expansion2</GameCoreInUse>
</Criteria>
</ActionCriteria>
<FrontEndActions>
<UpdateDatabase id="Config">
<Properties>
<LoadOrder>1000</LoadOrder>
</Properties>
<File>Kon_Config.xml</File>
</UpdateDatabase>
<UpdateText id="ConfigText">
<File>Kon_ConfigText.xml</File>
</UpdateText>
<UpdateIcons id="ConfigIcons">
<Properties>
<LoadOrder>1000</LoadOrder>
</Properties>
<File>Kon_Icons.xml</File>
<File>Kon_NewIcons.xml</File>
</UpdateIcons>
<UpdateColors id="ConfigColor">
<File>Kon_PlayerColours.xml</File>
</UpdateColors>
<UpdateArt id="ConfigArt">
<File>Kon_Neu.dep</File>
</UpdateArt>
</FrontEndActions>
<InGameActions>
<UpdateDatabase id="Gameplay">
<Properties>
<LoadOrder>1000</LoadOrder>
</Properties>
<File>Kon_Nation.xml</File>
<File>Kon_Leader.xml</File>
<File>Kon_Building.xml</File>
<File>Kon_Colours.xml</File>
<File>Kon_PlayerColours.xml</File>
<File>Kon_Unit.xml</File>
</UpdateDatabase>
<UpdateText id="Text">
<Properties>
<LoadOrder>1000</LoadOrder>
</Properties>
<File>Kon_ConfigText.xml</File>
<File>Kon_Text.xml</File>
</UpdateText>
<UpdateIcons id="Icons">
<Properties>
<LoadOrder>1000</LoadOrder>
</Properties>
<File>Kon_Icons.xml</File>
<File>Kon_NewIcons.xml</File>
</UpdateIcons>
<UpdateColors id="ConfigColor">
<File>Kon_PlayerColours.xml</File>
</UpdateColors>
<UpdateArt id="Art">
<File>Kon_Neu.dep</File>
</UpdateArt>
</InGameActions>

as I mentioned: everything works but the icons....

Thank you for trying to help me! :-)
 
Does anyone had a look at my modfile.info and an idea how to solve the problem?!

Wish you a nice day!
 
Sorry, but I can't find a solution for the icon-problem on my own. When I start the game, the main menue doesn't show icons from my own created civs or leaders (though the mods run without any problems in rise & fall).

Before starting a new game the "database.log" shows the following error:

[3397579.813] [Database]: While executing - 'insert into IconDefinitions('Name', 'Atlas', 'Index') values (?, ?, ?);'

[3397579.813] [Database]: In XMLSerializer while inserting row into table insert into IconDefinitions('Name', 'Atlas', 'Index') with values (ICON_BUILDING_GELDSPEICHER, ICON_ATLAS_GELDSPEICHER, 0, ).

[3397579.813] [Database]: In XMLSerializer while updating table IconDefinitions from file C:/Users/User/Documents/My Games/Sid Meier's Civilization VI/Mods/Kon_Neu/Kon_Icons.xml.

[3397579.813] [Database] ERROR: FOREIGN KEY constraint failed

I would be glad if someone could help me.....
 
Back
Top Bottom