How do I change sounds for a specific map

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

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.

How do I change sounds for a specific map

Postby Iddeusuario » Wed Jun 10, 2020 7:35 pm

Hello Guys, good Night.

I have a question, how do I change the game sounds on a specific map of a entire wad ?

For example :let's use Doom 2 maps 31 and 32, on those maps instead of playing Doom sounds, whenever the player gets hit or get a health item, the game plays Wolfenstein sounds.

The way to do it, as far as I know, it's to use the SNDSEQ LUMP, however I was told that to play specific sounds I would have to use the Sound Sequence thing (14066) on every sector that needs it's sound changed, I was wondering If there is a easier way to do it.
Iddeusuario
 
Joined: 10 Jun 2020
Discord: MegaManx3#5915
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: How do I change sounds for a specific map

Postby Ravick » Thu Jun 11, 2020 6:17 pm

For sectors, use Sector_ChangeSound.
For actors, such as monsters and players, use SetActorProperty to change its sound properties.
:)
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

Re: How do I change sounds for a specific map

Postby Enjay » Thu Jun 11, 2020 6:31 pm

Ravick wrote:For sectors, use Sector_ChangeSound.

Certainly an option but I personally prefer using sound sequence things (unless the sequence needs to be changed during play) or, in UDMF, setting sounds directly in the sector properties.


And while we're on about the soundscape of a map, don't forget reverbs. Such a wonderful feature and very underused IMO.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 1 guest