I just spent about 6 hours adding AudioWait to all my sequences, painstakingly copying filenames between the script and the Dialogue editor. Probably made mistakes along the way, which I'll later have to debug.
The upside of doing it this painstaking way is I can programatically select the filename, which I do using
AudioWait(Narration[lua(GetAvatarGender(true))]_Tutorial5Cutscene_01)
Another update is I can refer to filenames that don't exist yet, so I can set up everything even when the audio is still pending.
However, I'm not thrilled about the 6 hours + mistakes part and wouldn't want to go through this again for the sequel.
I'd like to request some kind of tool to more effectively process this. I'm not super sure what is the best approach, but what the other dialogue systems do might be a start.
Improvement request: AudioWait audio selection
Re: Improvement request: AudioWait audio selection
Sorry you spent so much time setting them up manually. In the future, I recommend using entrytags like in the demo.
The basic steps are:
1. Write your dialogue.
2. Export a voiceover script to get the filenames for the audio files (e.g., Player_01_42).
3. Save the audio files using those filenames. If you're using gender, save them in a consistent format (e.g., Female_Player_01_42 and Male_Player_01_42).
4. Set the Dialogue Manager's Default sequence to something like:
Or, if you've created localized versions in different languages:
5. Leave the dialogue entries' Sequence fields blank, or include {{default}} to include the Default Sequence.
The basic steps are:
1. Write your dialogue.
2. Export a voiceover script to get the filenames for the audio files (e.g., Player_01_42).
3. Save the audio files using those filenames. If you're using gender, save them in a consistent format (e.g., Female_Player_01_42 and Male_Player_01_42).
4. Set the Dialogue Manager's Default sequence to something like:
Code: Select all
AudioWait([lua(GetAvatarGender(true))]_entrytag)
Code: Select all
AudioWait([lua(GetAvatarGender(true))]_entrytaglocal)
Re: Improvement request: AudioWait audio selection
Looks like this would have been easier.
Maybe add a reference to the manual under "Sequences and Dialogue Entries" instead of "Camera Angle Prefab"?
Maybe add a reference to the manual under "Sequences and Dialogue Entries" instead of "Camera Angle Prefab"?
Re: Improvement request: AudioWait audio selection
Move the Entrytags section to be above Camera Angles? Would that have helped?