Is VO for scenario scripting currently supported?
See title. I'm not asking about future plans, I'm talking about right now. People want some character and story added to this game, and it doesn't just have to come from Stardock.
See title. I'm not asking about future plans, I'm talking about right now. People want some character and story added to this game, and it doesn't just have to come from Stardock.
After a little bit of digging in the game files, there is a PlaySound function.
What I have done so far use a TTS program to generate sound files of a couple of lines of the dialog and place the .wav files (for simplicity I have labelled them the same as the text string name that it is replacing eg Mission1_t0_0a.wav) into a new folder in the Assets\Audio, called "Dialog".
I have then added an additional lines to the UI_Game.audiogroup file (comma separated text), eg:
Mission1_t0_0a,/Dialog/Mission1_t0_0a.wav,,150,1,1,3,3,1,1,1,0,0,1
(I have not experimented yet if the game would load additional audiogroup files from the folder, or if tampering with an existing one is needed.)
Then using <PlaySound Sound="Mission1_t0_0a"/> at the appropriate trigger should play the sound file. With a bit of tweaking to the volume levels, and hack the hell out of the mission triggers, I believe that it is feasible.
Welcome Guest! Please take the time to register with us.