How to change city state icons

kantorr

Chieftain
Joined
Mar 1, 2017
Messages
51
<GameData>
<IconDefinitions>
<Row Name="ICON_CIVILIZATION_X" Atlas="ICON_ATLAS_CITYSTATES" Index="3"/>
</IconDefinitions>
</GameData>

I have a city state, CIVILIZATION_X fully coded and working in game. How do I assign it an icon? I have seen where the above code defines the ICON for the civ x but where in the code does ICON_CIVILIZATION_X get assigned to CIVILIZATION_X?
 
Hello! I know this post is old, but I still have hope someone will see this.
I have exactly the same issue than you had, but it seems at least you could figure it out. Could you tell me how to assign the icon?
 
The game is hard coded to look for an icon with the name of the item. So for ITEM_X, the game will automatically assume there is an ICON_ITEM_X, you just have to define it.

Icon definitions need their own file which is loaded though an UpdateIcons FrontEndAction.
 
Top Bottom