Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Ancient EviL

Custom Ambient Sounds

Recommended Posts

I'm curious as how to make add custom ambient sounds in Gzdoom Builder. I can place a custom ambient sound marker in the map, but how do I actually make the custom sound? Do I use Slade or am I missing something in Gzdoom most likely a script I assume? Any help would be greatly appreciated!

Share this post

Link to post
Ancient EviL said:

how do I actually make the custom sound? Do I use Slade


First, you will need a SNDINFO lump. Let's suppose you're using a standard Doom sound as your custom ambient sound, such as a zombie pain cry (DSPOPAIN).

The SNDINFO will contain something like this:

ambient/zombiepain DSPOPAIN
Now let's make it an ambient sound. There are several ways you can go around to make one; we'll use the SNDINFO-based one.

The SNDINFO now looks like this:
ambient/zombiepain DSPOPAIN
$ambient 1 ambient/zombiepain point random 2.0 10.0 0.5
The zombie moan will be heard, faintly, every two-to-ten seconds, near any ambient sound marker.

Now you can save the wad and edit the map. Place some sound markers (editor number 14001; or editor number 14065 with arg0 set to 1).

Share this post

Link to post

Thank you for your help! Now how do I program a custom made sound that doesn't have a preset name, like if I wanted to put a non-Doom sound in the game, how do I go about that? Because for the zombie sound it is zombiepain and DSPOPAIN, but how do I go about naming and adding a non-predefined sound? Thanks again.

Share this post

Link to post

Then just replace the word "DSPOPAIN" in Gez's example with the actual name of the sound lump you have in your wad, for example "ABCDEFGH" or whatever you have, and replace the word "ambient/zombiepain" with any text string you want, for example "xyz" or whatever you want. This is exactly what SNDINFO is for, allowing to define custom sounds.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now