Da Snoop
Warming Up
Posts: 9
Registered: 04-01 |
Hello Espi.
If you want to have sound attached to slide door, edit (or create) file SNDINFO (with optional extension; I use .RAW, because I'm inserting new resources to PWADs with NWT 1.3).
EmergencySound ersnd
dstart dstart
drun drun
dstop dstop
$AMBIENT 1 EmergencySound POINT CONTINUOUS 1.0
This is an example of SNDINFO. The first ambient sound
"EmegencySound" is really an ambient sound, but the "dstart, drun..." are the declarations for the slide door sounds. See that they have not to be declared as ambient sound ($AMBIENT...). The EmergencySound is the logical name and ersnd is the lump in PWAD under the sound is stored.
:SlideDoor
door 1
playuntildone dstart
playrepeat drun
stopsound dstop
end
This is SNDSEQ. ":SlideDoor" is the name of the sequence.
"door 1" is the tag (1) to SoundSequence(1) thing in the level editor. You have to put this thing in slide door field.
"Playrepeat dstart" will play sound "dstart" when the door
begin to slide. The sound "drun" follows and will be played in loop until the door reaches the end, then the "dstop" sound is played.
That's it. If you'll have still (or more) troubles with ambient sounds, send me a mail, and I'll send you my ("detailed") tutorial for ambient sounds.
I hope this will help you. :)
Email: melloun@email.cz
|