Pelle1986 Posted September 27, 2018 I am making a doom-scenario and i can't make the "PlaySound"-script work. For example, I want a sound to be played when a door opens and i type like this: PlaySound(4,"DSPSTART",CHAN_BODY,1.0,FALSE,ATTN_NORM,FALSE); I am not sure if the soundinfo is correct. I couldn't find any "SNDINFO"-textfile like in hexen.wad. /Per 0 Share this post Link to post
0 Empyre Posted September 27, 2018 You need to make your own SNDINFO in your wad or pk3 if you have any custom sounds. Here are the default SNDINFO files for the major IWADS, all included inside <your-ZDoom-based-port>.pk3. 0 Share this post Link to post
0 Nevander Posted September 28, 2018 I think it has to be the logical name, not the lump name. So instead of "DSPSTART" you need "world/dspstart" as that parameter. Make sure the sound is defined right in SNDINFO, and make sure TID 4 exists. 0 Share this post Link to post
I am making a doom-scenario and i can't make the "PlaySound"-script work. For example, I want a sound to be played when a door opens and i type like this:
PlaySound(4,"DSPSTART",CHAN_BODY,1.0,FALSE,ATTN_NORM,FALSE);
I am not sure if the soundinfo is correct. I couldn't find any "SNDINFO"-textfile like in hexen.wad.
/Per
Share this post
Link to post