Unit icon in Building Screen

Discussion in 'Civ5 - Creation & Customization' started by martijnaikema, Nov 10, 2010.

  1. martijnaikema

    martijnaikema Warlord

    Joined:
    Oct 30, 2010
    Messages:
    111
    Can anyone tell me which icon size is used in the Building Screen for a new unit? Mine is not showing in the Building Screen for the Watergeus. The strange thing is that an icon shows up while the unit is selected.



    Here is the code:

    CIV5Units.xml

    Spoiler :

    <IconAtlas>UNIT_ATLAS_DUTCH</IconAtlas>
    <PortraitIndex>0</PortraitIndex>


    CIV5IconTextureAtlases.xml
    Spoiler :

    <Row>
    <Atlas>UNIT_ATLAS_DUTCH</Atlas>
    <IconSize>256</IconSize>
    <Filename>CivSymbolsWatergeus256.dds</Filename>
    <IconsPerRow>8</IconsPerRow>
    <IconsPerColumn>8</IconsPerColumn>
    </Row>
    <Row>
    <Atlas>UNIT_ATLAS_DUTCH</Atlas>
    <IconSize>128</IconSize>
    <Filename>CivSymbolsWatergeus128.dds</Filename>
    <IconsPerRow>8</IconsPerRow>
    <IconsPerColumn>8</IconsPerColumn>
    </Row>
    <Row>
    <Atlas>UNIT_ATLAS_DUTCH</Atlas>
    <IconSize>80</IconSize>
    <Filename>CivSymbolsWatergeus80.dds</Filename>
    <IconsPerRow>8</IconsPerRow>
    <IconsPerColumn>8</IconsPerColumn>
    </Row>
    <Row>
    <Atlas>UNIT_ATLAS_DUTCH</Atlas>
    <IconSize>64</IconSize>
    <Filename>CivSymbolsWatergeus64.dds</Filename>
    <IconsPerRow>8</IconsPerRow>
    <IconsPerColumn>8</IconsPerColumn>
    </Row>
    <Row>
    <Atlas>CIV_COLOR_ATLAS_DUTCH</Atlas>
    <IconSize>45</IconSize>
    <Filename>CivSymbolsWatergeus45.dds</Filename>
    <IconsPerRow>8</IconsPerRow>
    <IconsPerColumn>8</IconsPerColumn>
    </Row>
    <Row>
    <Atlas>CIV_COLOR_ATLAS_DUTCH</Atlas>
    <IconSize>32</IconSize>
    <Filename>CivSymbolsWatergeus32.dds</Filename>
    <IconsPerRow>8</IconsPerRow>
    <IconsPerColumn>8</IconsPerColumn>
    </Row>


    Hope someone can help me out.
     

    Attached Files:

  2. Justicex

    Justicex Prince

    Joined:
    Dec 26, 2007
    Messages:
    332
    I'm not sure myself, but if you go into the SDK files (Program Files (x86)/Steam/SteamApps/......) in the same section as the provided psd icon templates, there is a readme file that lists the icon size for every asset in the game. I think Kael's guide posted in the tutorials section also has this information in the "How to Add an Icon" section.
     
  3. martijnaikema

    martijnaikema Warlord

    Joined:
    Oct 30, 2010
    Messages:
    111
    I know cause I used Kael's Guide creating the units and it's icon. It is showing correctly in the unit-screen, but not in the Building Window.
     

Share This Page