As far as I understood it, you make a Voices folder, add the sound file in there, and in in the dialogue simply do Page { Voice = "svox/<lumpname>"; }, it should've worked?
(Or, that's what the NameSpaces page told me, to prefix it with svox/ as it'd auto-generate a SNDINFO entry of svox/<lump>.)
But that didn't work. Neither did other variations on it, like just "<lumpname>", "voices/<lumpname>", "svox/voices/<lump>", or defining it in SNDINFO and using the SNDINFO-given name for it (wether it was defined in Sounds or in Voices and given a path). So, anyone got it working? Or else, anyone know of a mod that has working Voices for dialogue?
There's no error in the dialogue script, talking to NPCs works and no error messages about any wrong syntaxes.
Meant for a pk3 file, Zandronum and ZDoom. Uses ZSDF (and sometimes also USDF) dialogue format, uncompiled.
Edit: Nevermind, just a syntax error in my placement/writing. But if it helps anyone:
-Yep, it seems anything placed in Voices is auto-defined as a in-game sound as "svox/<lumpname>". Using for example "Playsound svox/merchhey" can confirm if it exists in-game.
(Doesn't seem to care about what type of sound file it is, fortunately... As long as ZDoom supports it?)
-And it turned out to be as simple as:
Code: Select all
Conversation
{
Actor = "MyMod_Merchant";
Page
{
Name = "Merchant";
Dialog = "<text>";
Voice = "svox/merchhey";
}
}