• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Using default Diplomacy Screen Background Images

Imnimo

Chieftain
Joined
Dec 3, 2017
Messages
33
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.
 
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>
 
Back
Top Bottom