Temporary change of sounds?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Milian
Posts: 124
Joined: Fri Sep 17, 2004 5:24 pm
Contact:

Temporary change of sounds?

Post 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
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post 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.
User avatar
Milian
Posts: 124
Joined: Fri Sep 17, 2004 5:24 pm
Contact:

Post 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?
User avatar
Milian
Posts: 124
Joined: Fri Sep 17, 2004 5:24 pm
Contact:

Post by Milian »

I think, I got it now.

Danke!!
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Bita! [/politeness] :)
Locked

Return to “Editing (Archive)”