1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

How to change city state icons

Discussion in 'Mod Creation Help' started by kantorr, Mar 15, 2017.

  1. kantorr

    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?
     
  2. Bekfist57

    Bekfist57 Chieftain

    Joined:
    Jun 6, 2020
    Messages:
    3
    Gender:
    Male
    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?
     
  3. Arstahd

    Arstahd Chieftain

    Joined:
    Apr 20, 2006
    Messages:
    80
    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.
     
  4. Bekfist57

    Bekfist57 Chieftain

    Joined:
    Jun 6, 2020
    Messages:
    3
    Gender:
    Male
    Thanks a lot!
     

Share This Page