Environment-dependent weapon sounds + dynamic reverb

For high-res texture/sprite projects, sprite-fix patches, music add-ons, music randomizers, and other graphic/sound-only projects.
Forum rules
The Projects forums are only for projects. If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
revo794
Posts: 158
Joined: Sun Dec 30, 2012 9:33 am

Environment-dependent weapon sounds + dynamic reverb

Post by revo794 »

Recently I've been digging into ways to create an environment-dependent sounding for weapons which would emit a different effect for each environment, same way it's done for Battlefield series. Unlike EAX reverb presets that can be applied to sectors, what I was going for is actually seperate sounds, because EAX is not always fit for higher-quality sounding.
The showcase wad is constructed as a simple map with three rooms: small indoor, large indoor, open ground. The environmental sound is only complete for shotgun in this example, and you will hear the difference depending on your location of shooting.

Another aspect is distant-dependent sounding, which ZDoom, like a lot of game engines, does not have. The showcase map has a speaker (it looks like a huge bonus bottle, but I'm a terrible artist and it's better off that me actually drawing a speaker) which alters its sounding upon changing distance to it.

The result I have is this. Launch it with Doom 2 on MAP01.
NOTE: While I can't figure out the reason, GZDoom and Zandronum handle the speaker behavior as intended, while ZDoom kicks it into an uneven loop, so if possible, don't use it for testing. Weapon sounds do work in all three.

The methods used are very straightforward and you can mostly figure them out by just examining the structure of the wad, but I can still do some explaining in case that is required. If this sound work is appreciated, I'll try to expand the system and make a template for all weapons with alternate distances.
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Environment-dependent weapon sounds + dynamic reverb

Post by Nash »

Amazing. So much immersion is achieved when sound "physics" like this is done. I've been fascinated with this stuff ever since Duke Nukem 3D's explosion sound behavior.

Return to “Graphic/Audio Patches”