Page 1 of 1

Temporary change of sounds?

Posted: Fri Apr 29, 2005 5:37 pm
by Milian
Is it possible to change a standard sound only for one action of its kind?
What I want to do is lower a floor by pressing a switch. But this special floor shouldn't use the normal "move" and "move/stop" sounds, but my own sounds.
I don't want to replace the Doom sounds, cause all other "moving floor "-actions should use the original sounds.

So, how can I do this?
  • Milian

Posted: Fri Apr 29, 2005 6:04 pm
by Graf Zahl
Sound sequences are your friend! Just define a new one in the SNDSEQ lump and place a sound sequence override thing with the appropriate number in that sector.

Posted: Fri Apr 29, 2005 6:29 pm
by Milian
Ok, so I do it like this:

Code: Select all

:Seq1Plat
   playuntildone Plat1BEG
   playrepeat Plat1MID
   stopsound Plat1END
end
and put a SoundSequence 0-Thing (1400) into the moving sector.

How can I connect the Sequence in the SNDSEQ-definition with this thing (1400)? Does "Seq1" mean "first sound sequence" and is automatically tagged to thing 1400?

Posted: Fri Apr 29, 2005 7:25 pm
by Milian
I think, I got it now.

Danke!!

Posted: Fri Apr 29, 2005 10:49 pm
by Kirby
Bita! [/politeness] :)