Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Pelle1986

Sound information

Question

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

2 answers to this question

Recommended Posts

  • 0

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.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×