Selection screen leader art (Solved)

xDefension

Chieftain
Joined
Aug 12, 2015
Messages
13
Location
The Netherlands
Hi,
I am in the midst of making a mod which adds Francisco Franco as an alternate leader of Spain and I can't find out how to let his leader art appear in the civ selection screen. His civilization icon and leader icon do show up.
Code:
        (CivilizationType,                Portrait,                                 PortraitBackground,            LeaderType,                    LeaderName,                            LeaderIcon,                        LeaderAbilityName,                                        LeaderAbilityDescription,                                    LeaderAbilityIcon,                        CivilizationName,                    CivilizationIcon,                                CivilizationAbilityName,                        CivilizationAbilityDescription,                            CivilizationAbilityIcon)
SELECT  'CIVILIZATION_SPAIN',            'LEADER_FRANCISCO_FRANCO_SELECT_SCREEN.dds',     'LEADER_GORGO_BACKGROUND',    'LEADER_FRANCISCO_FRANCO',    'LOC_LEADER_FRANCISCO_FRANCO_NAME',    'ICON_LEADER_FRANCISCO_FRANCO',        'LOC_TRAIT_LEADER_BANDO_NACIONAL_NAME',                'LOC_TRAIT_LEADER_BANDO_NACIONAL_DESCRIPTION',            'ICON_LEADER_FRANCISCO_FRANCO',            'LOC_CIVILIZATION_SPAIN_NAME',        'ICON_LEADER_KAZOO_SPAIN_FRANCISCO_FRANCO',            'LOC_TRAIT_CIVILIZATION_TREASURE_FLEET_NAME',    'LOC_TRAIT_CIVILIZATION_TREASURE_FLEET_DESCRIPTION',    'ICON_LEADER_SPAIN_FRANCISCO_FRANCO'
This is a snippet of what I have in my Spain_Config.sql.
This is what my .tex looks like for the artfile that's supposed to display:
Code:
<?xml version="1.0" encoding="UTF-8" ?>
<AssetObjects::TextureInstance>
    <m_ExportSettings>
        <ePixelformat>PF_R8G8B8A8_UNORM</ePixelformat>
        <eFilterType>FT_BOX</eFilterType>
        <bUseMips>false</bUseMips>
        <iNumManualMips>0</iNumManualMips>
        <bCompleteMipChain>true</bCompleteMipChain>
        <fValueClampMin>0.000000</fValueClampMin>
        <fValueClampMax>1.000000</fValueClampMax>
        <fSupportScale>1.000000</fSupportScale>
        <fGammaIn>2.200000</fGammaIn>
        <fGammaOut>2.200000</fGammaOut>
        <iSlabWidth>0</iSlabWidth>
        <iSlabHeight>0</iSlabHeight>
        <iColorKeyX>64</iColorKeyX>
        <iColorKeyY>64</iColorKeyY>
        <iColorKeyZ>64</iColorKeyZ>
        <eExportMode>TEXTURE_2D</eExportMode>
        <bSampleFromTopLayer>false</bSampleFromTopLayer>
    </m_ExportSettings>
    <m_CookParams>
        </m_Values>
    </m_CookParams>
    <m_Version>
        <major>1</major>
        <minor>0</minor>
        <build>0</build>
        <revision>0</revision>
    </m_Version>
    <m_Height>1024</m_Height>
    <m_Width>600</m_Width>
    <m_Depth>1</m_Depth>
    <m_NumMipMaps>0</m_NumMipMaps>
    <m_SourceFilePath text="C:\Users\Rick\Documents\Civilization VI Modding\LEADER_FRANCISCO_FRANCO_SELECT_SCREEN.dds"/>
    <m_SourceObjectName text=""/>
    <m_ImportedTime>0</m_ImportedTime>
    <m_ExportedTime>3132998256</m_ExportedTime>
    <m_ClassName text="UserInterface"/>
    <m_DataFiles>
        <Element>
            <m_ID text="DDS"/>
            <m_RelativePath text="LEADER_FRANCISCO_FRANCO_SELECT_SCREEN.dds"/>
        </Element>
    </m_DataFiles>
    <m_Name text="LEADER_FRANCISCO_FRANCO_SELECT_SCREEN"/>
    <m_Description text=""/>
    <m_Tags>
        <Element text="UserInterface"/>
    </m_Tags>
    <m_Groups/>
</AssetObjects::TextureInstance>
I've also made sure to load both the artfile, the tex file and config file as a FrontEnd Action
Do I need some sort of reference in a .xlp or .artdef? I've looked at other mods in which the selection screen works properly and they don't seem to mention it anywhere.. What am I doing wrong?
 
Back
Top Bottom