Changing the default sound for doors

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
ThatKidBobo
Posts: 17
Joined: Sun Mar 13, 2022 10:16 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Changing the default sound for doors

Post by ThatKidBobo »

How can I change the default sound made by doors, without replacing Doom's sound effects? I know this is probably done with SNDSEQ, but I do not know and could not figure out how to assign the sound sequence to a door. And I wonder if a default sound sequence can be set for all doors to use.
User avatar
Kappes Buur
 
 
Posts: 4201
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Changing the default sound for doors

Post by Kappes Buur »

ThatKidBobo wrote: Mon Aug 14, 2023 3:34 pm How can I change the default sound made by doors, without replacing Doom's sound effects? I know this is probably done with SNDSEQ, but I do not know and could not figure out how to assign the sound sequence to a door. And I wonder if a default sound sequence can be set for all doors to use.
You need 3 items: such as:

Attachments
DOOR_SOUND.7z
(44.11 KiB) Downloaded 165 times
User avatar
ThatKidBobo
Posts: 17
Joined: Sun Mar 13, 2022 10:16 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: Changing the default sound for doors

Post by ThatKidBobo »

So you just put the thing into the door's sector?
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Changing the default sound for doors

Post by ramon.dexter »

KappesBuur never mentioned any thing. If you red through sndinfo and espscially sndseq definitions, you'll find:
door <index>
Defines the sound sequence index for use as a door sequence. A door in this context is any sector movement by a 'Door' type or a polyobject. The index determines which sound sequence thing you have to place in the door sector to hear this sound sequence. Note that Hexen predefines the first 10 sequences so for custom sequences in Hexen the index must be larger than 10. Index must be in the range of 0 to 4095.
User avatar
ThatKidBobo
Posts: 17
Joined: Sun Mar 13, 2022 10:16 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: Changing the default sound for doors

Post by ThatKidBobo »

Allright, I understand. Thank you both very much for the help.
User avatar
ThatKidBobo
Posts: 17
Joined: Sun Mar 13, 2022 10:16 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: Changing the default sound for doors

Post by ThatKidBobo »

Does the same apply to elevators?
User avatar
ramon.dexter
Posts: 1562
Joined: Tue Oct 20, 2015 12:50 pm
Graphics Processor: nVidia with Vulkan support
Location: Kozolupy, Bohemia

Re: Changing the default sound for doors

Post by ramon.dexter »

Yes.
Post Reply

Return to “Mapping”