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

Using default Diplomacy Screen Background Images

Discussion in 'Mod Creation Help' started by Imnimo, Dec 18, 2017.

  1. Imnimo

    Imnimo Chieftain

    Joined:
    Dec 3, 2017
    Messages:
    33
    Gender:
    Male
    Is it possible to use the existing diplomacy screen backgrounds when creating a leader without a 3D model (i.e. just a dds texture)?

    Currently I'm defining a background image using the DiplomacyInfo table, but it doesn't look like the base game leaders have DiplomacyInfo entries, and I don't see a texture file anywhere for their backgrounds. Presumably their diplomacy scenes use a different system because they're animated? Providing no entry in DiplomacyInfo just results in a black background.

    Alternatively, if there isn't a way to use the existing backgrounds, any advice on an easy way to create a decent looking background in the same style? I've been experimenting a bit with neural style transfer to convert photos/paintings to the existing style, but it's tough to get good results.
     
  2. raen

    raen Coat of Arms

    Joined:
    May 12, 2003
    Messages:
    1,904
    Location:
    Portugal
    I use a custom background here

    Code:
     <LoadingInfo>
        <Row LeaderType="LEADER_ALBUQUERQUE" ForegroundImage="Portugal_Foreground.dds" BackgroundImage="Portugal_Background.dds" ....
        <Row LeaderType="LEADER_JOAO_II" ForegroundImage="Portugal_Joao_Foreground.dds" BackgroundImage="Portugal_Joao_Background.dds"   ...
      </LoadingInfo>
    
     <DiplomacyInfo>
        <Row Type="LEADER_ALBUQUERQUE" BackgroundImage="Portugal_Diplomacy.dds"/>
        <Row Type="LEADER_JOAO_II" BackgroundImage="Portugal_Joao_Diplomacy.dds"/>
      </DiplomacyInfo>
    
     

Share This Page