Back to the Vavoom Forum Archives


Forum

Polyobject with custom sounds

Thu, 21 Dec 2006 22:04:55

gunrock

I no this is a redundant question, but I am still having trouble getting polyobject Doorswing sound to work. The SNDinfo and SNDSEQ lumps are confusing at times. <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Fri, 22 Dec 2006 16:35:04

Janis Legzdinsh

Could you please explain exactly what you are doing.
Sat, 23 Dec 2006 00:16:32

gunrock

Sorry janiz for the vague post. I'm trying to get the polyobject doors in 'Braham Manor' to play a sound when it opens and closes. All of the polydoors dont have a script to activate it rather it activates by pressing on them. I dont know how to link the polydoors to the custom sound it contains in the SNDinfo and SNDseq lumps. I dont know any other way to explain <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> Thanks! Gunrock
Sat, 23 Dec 2006 09:21:43

Janis Legzdinsh

When defining a sound sequence, you assign it to a slot of door sequences using 'door' comand, for example:
:Seq1Door
   door 1
   playuntildone Door1BEG
   playrepeat Door1MID
   stopsound Door1END
end
Then in a map when defining a polyobject using Polyobj_StartLine special you use third argument to specify the slot number of the door sound sequence you want it to play, in this example it will be 1.

Back to the Vavoom Forum Archives