Modding Help: Custom Civ Leader Scene

naytron

Chieftain
Joined
Nov 12, 2014
Messages
3
Location
Indiana
Quick question for anyone mod-savvy:

I'm working on updating my Unian Collective mod to include the custom leader scene I've created. Everything works fine, except for the actual scene showing up in the diplomacy screen.

First, before anyone asks, yes I have set the graphical settings for leader scenes to minimal, and the scenes from other mods are working as they should.

Working from the Firaxis files and a few other mods off the Steam Workshop that are working, I've verified that my code looks exactly the same as the rest... but my scene still won't show in the diplomacy screen.

My guess is that it has to do with the .dds export settings, but my experiments to this effect have been fruitless so far.

So here's the breakdown of what I have:

1. In CivBE_Leader_Bright.sql:

INSERT INTO Leaders
(Type, ... , ArtDefineTag, ...)
VALUES
('LEADER_UNIA', ... , 'CivBE_Leader_Bright_Scene.xml', ...)

2. In CivBE_Leader_Bright_Scene.xml:

<LeaderScene>
<!-- Leader Scene Images -->
<FallbackImage ID="Level1" image="civunialeaderscenebase.dds" />
<FallbackImage ID="Level2_Purity" image="civunialeaderscenebase.dds" />
<FallbackImage ID="Level2_Harmony" image="civunialeaderscenebase.dds" />
<FallbackImage ID="Level2_Supremacy" image="civunialeaderscenebase.dds" />
<FallbackImage ID="Level3_Purity" image="civunialeaderscenebase.dds" />
<FallbackImage ID="Level3_Harmony" image="civunialeaderscenebase.dds" />
<FallbackImage ID="Level3_Supremacy" image="civunialeaderscenebase.dds" />
</LeaderScene>

3. The image file 'civunialeaderscenebase.dds' is present:
Saved as a .dds, exported from png-24, with settings:
- No compression
- Default color profile
- In ModBuddy, setting 'Import to VFS' is set to TRUE.

4. All files are properly sent to the database OnModActivated.

When the mod is loaded in, all other aspects work just fine, except when you enter the diplomacy screen, the leader scene does not appear.

Thanks a million to anyone who can help me figure this out!

Moderator Action: Welcome to CivFanatics. Have moved your thread to the Creation and Customization forum where you should receive better answers to your question. Best of luck.
 
Okay, so all I needed was to set the CivBE_Leader_Bright_Scene.xml to VFS=true. I had missed that. Thanks very much!

Looks like it works with OnModAct. > UpdateDB. still active.
 
Naytron - did you ever get this working? I have downloaded several new civ mods and the leader does not show up on any of them. I also built my own civ mod and I followed these instructions and while I do not get an error message anymore, I do not see the leader.
 
Nutty: I read that and thought that setting was for Gimp or Photoshop. Now I get it. We change the game options on the Video tab, Advanced Options, Leader Scene Quality => minimum. Now I see the leaders. Thank you so much!
 
Back
Top Bottom