[1.0.3.31] Font icons problems

Infixo

Deity
Joined
Jan 9, 2016
Messages
4,012
Location
Warsaw
While working on CQUI, I found out that a few font icons for districts have issues.
Details below.

Lavra - points to Neighborhood
Steet Carnival - missing definition
Code:
<GameInfo>
   <IconDefinitions>
        <Replace Name="DISTRICT_LAVRA"           Atlas="ICON_ATLAS_FONT_ICON_BASELINE_4" Index="180"/> <!-- 181 is used in the vanilla game, which points to Neighborhood -->
        <Replace Name="DISTRICT_STREET_CARNIVAL" Atlas="ICON_ATLAS_FONT_ICON_BASELINE_4" Index="188"/> <!-- missing in the vanilla game -->
   </IconDefinitions>
</GameInfo>

Cothon, Suguba, Walled Quarter - wrong definitions
Code:
<GameInfo>
   <IconDefinitions>
        <Replace Name="DISTRICT_COTHON"         Atlas="ICON_ATLAS_EXPANSION2_FONT_ICON_DISTRICTS_BASELINE_4" Index="2"/> <!-- ICON_DISTRICT_COTHON is used in the vanilla game -->
        <Replace Name="DISTRICT_SUGUBA"         Atlas="ICON_ATLAS_EXPANSION2_FONT_ICON_DISTRICTS_BASELINE_4" Index="3"/> <!-- ICON_DISTRICT_SUGUBA is used in the vanilla game -->
        <Replace Name="DISTRICT_WALLED_QUARTER" Atlas="ICON_ATLAS_EXPANSION2_FONT_ICON_DISTRICTS_BASELINE_4" Index="4"/> <!-- ICON_DISTRICT_WALLED_QUARTER is used in the vanilla game -->
   </IconDefinitions>
</GameInfo>
 
To piggy back off of this, the Maize and Honey resource font icons are off-centered vertically - they're set to baseline 4 but baseline 6 solves the issue. Also, they aren't loaded in the FrontEnd like the vanilla resource icons are.
 
@Infixo,

Really appreciate your post.
I was finding out what's wrong with this and, fortunately found your post.

cothon.png


Now fixed!
Thank you. :)
 
Top Bottom