How does one get Voices to play in Strife dialogue? [Fixed]

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
CarrThief
Posts: 2
Joined: Thu Aug 27, 2026 3:09 pm
Operating System Version (Optional): Windows 8
Graphics Processor: nVidia with Vulkan support
Location: Europe

How does one get Voices to play in Strife dialogue? [Fixed]

Post by CarrThief »

I followed whatever wiki instructions I could find, but nothing's working. What's the trick here?
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";
 }
}

Return to “Scripting”