[vanilla] Having trouble getting leader scene to display properly

Laluzi

Chieftain
Joined
Nov 4, 2016
Messages
4
So, er, hello.

I’ve been lurking tutorials here for the past two weeks or so, cobbling together my first mod – and for the most part, it’s working. I’m finally signing up and posting here because I’ve hit a snag I just can’t fix, despite all the documentation I can find on the internet.

I can't get the 1600x900 leader scene to display, despite following all the instructions I can find. It's a DXT3-compressed, non-mipmapped (though a version with mipmaps also failed to work) dds made through GIMP, VFS=true, it's spelled correctly in the leader scene file (which is in turn spelled properly when referenced by the leader file). In-game, the custom civ leader appears as a grey screen with the "no scene loaded for this leader" message in the top left corner.

All other images I've uploaded with this mod (DOM screen, leader/civ icons) display properly. I did a few weird things with them that seem to work fine (specifically, I didn't use the icon atlas template and uploaded each icon as a standalone image, then set the atlas size to 1x1. But I see no way that would have affected the leader scene, because that has nothing to do with the atlases at all. I'm new to Civ 5 modding, but I'm not new to modding.) I can provide screenshot documentation or upload the file, if anyone needs it to pinpoint problems.

I apologize if this is the wrong forum for this; I'm evidently quite new here, and I couldn’t find a help forum. This one had a few topics in a similar vein, so...

(Also, another thing I've failed to find online, and I can't manage to find the file destinations for the things I've downloaded through Steam Workshop to reverse-engineer - while I've found a few on here, if somebody could provide me a complete list of the leader ResponseType tags, I'd be very grateful. At the very least, everything pertaining to espionage. Custom dialogue is my jam.)

Any and all help is appreciated.
 
Yes, I've alerted the mods to move your post to the main C&C subforum since this isn't a tutorial.

Is the scene XML set to VFS=true (not UpdateDatabase, like many XML files, so that trips up lots of people).

As far as custom dialogue, just open cache\Localization-Merged.db in your CiV user folder using a SQLite Browser like SQLiteSpy or SQLiteStudio, and you can look through all of the gametexts, and filter for the diplomacy responses. It's nice to be able to compare Firaxis' examples in a spreadsheet-like format. I'm pretty sure some of the responses are unused, however, which can be frustrating coming up with something perfect that someone may never see.

If you're into custom dialog, have you seen this mod component? Unique Diplomacy Utils allows you to more easily make the responses dynamic to the current situation and set of leaders.
 
If Nutty's advice doesn't work, please zip and attach your mod so we can look at it directly - it's a lot easier to figure out the source of a problem this way than by guessing it from your descriptions.

As for ResponseTypes, check out Typhlomence's Diplomacy Templates. Not only is there a list of all of them, but each one is also commented with an explanation of where the response is actually used in-game.
 
Ah, thank you for moving it to the correct forum. My apologies.

Yep, it is set to VFS=true and not to updatedata like the rest of the XMLs. Sorry, forgot to mention that.

I have not seen that mod, but it looks fantastic! Personalized responses to other leaders wasn't even something I'd considered, but it looks like a lot of fun. I can think of a few uses I'd have for it, too. Thanks for the recommendation!

And Klisz, thank you! That kind of thing was precisely what I was looking for. I suppose I just wasn't looking hard enough. Let me just pack the mod - and thanks for the helpful tutorial on how to do just that, because I was going to ask.

...Okay. The archive contains two missing files - specifically, the War tracks and Peace tracks I used for sound. (They're fairly long series of appended tracks, and the file was too large for me to upload with them.) They should not be a problem in regards to the art, I'd imagine. If their removal is preventing the entire mod from working, deleting the SoundID file should do the trick.

If anyone could take a look at this, it would be much appreciated!
 

Attachments

You're a lifesaver. (I knew it was going to be something stupid like that. It's always something stupid like that. I just don't have a strong enough understanding of the Civ 5 design hierarchy to identify what is and isn't supposed to be there; my history with XML before this basically boils down to a college course.)

It works now. Many thanks!
 
Back
Top Bottom