Need Direction Adding Audio for Leader mod

Kiel27

Chieftain
Joined
Oct 9, 2017
Messages
4
So I have chunked away at making my first civ/leader mod.
I want refine it a bit more by adding audio for diplomatic interations, intro/loading screen, and perhaps the civlopedia entry. Most important tho is diplo.

I have got Wwise 2015 made the audio files (wem's and bnk's)
My Question is where to implement or insert the references or tags or whatever?
...I have used the Josh Atkins template to build the mod in the modbuddy... I had some other frustrating issues that i had to navigate to get here, but I have been studying the base and dlc xlps and text files trying to see how to lay this out. But the Atkins template doesnt come with any spots left empty to fill in my reference tags (or whatever the proper lingo is). I have kinda figured out its layout using the base and dlc speech xlps. I figure that I also have to use the project properties to add the files into the build. But, the template is not laid out using a platform or audio folder (though, in building the mod modbuddy creates the platform folder.
I dunno... Ive tried just pissing with it and putting a new folder in or putting some stuff in core or xlp folders (im not sure that has any bearing on it) ... I think it is when i try to tag the audio in the gamedefines.sql that either my reference (ie: LEADER_LEADER_CUSTOM_NEUTRAL) isnt right or my category/path tag (ie: LeaderType, BackgroundImage, ForegroundImage, PlayDawnOfManAudio) isnt right.
The Mod will build successfully and appears to load... Sean Bean reads his Dawn of Man and then... crash! (I think i originally tried using just "Audio" as the tag and referenced my .bnk location as insert in the 'leaders: loading info', just to see if i could get that to work, that may have been why it crashed right after Dawn of Man speech)

So anyway: tldr : i know.
But I've been just guessing for too long with no results, just frustration... hoping one of you experienced types can spell this out for me.

Thanks in advance for you patience, or even bothering to finish reading this ramble on!
 
Last edited:
I tried recently, but I think besides you having a valid wem, some type of in game encryption or order of the music that prevent it to run, i think.

I tried once, didn't work, I thought of other solution, with LUA javascript we catch events of eras and quests coming, with that we could play a custom mp3 player maybe? Not expert at the game´s LUA, so I didn't gone there yet.
 
It seems to me that the fact that in the base audio and dlc audio folders have reference/tags to the 'Speech' xmls from the '...Assets/Gameplay/Data/Leaders.xml' (and other places) that there should be some sort of logical layout to reference custom wems and/or bnks... much in the way the dawn of man audio is referenced or even image and icon assets are from an outside folder source.

I started my attempt at this audio quest based on this thread: https://forums.civfanatics.com/threads/wwise-editor-2015-1-9-needed-for-audio-modding.610973/

They do a good job of explaining how to make the media, but in implementing your media those posting assume a level of knowledge or understanding (or starting point, ie: template being utilized) of modding that just leaves me befuddled. Perhaps if they were more specific... but, it may be that they work more from scratch where i am using a template that utilizes an entirely different layout.
...I dunno. I just figure that there has to be a way and that some experienced modder has figured this out.
 
Back
Top Bottom