
Hearing indoor ambient sound from the other side of the map
Moderator: GZDoom 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.
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.
Re: Hearing indoor ambient sound from the other side of the map
Presumably you are using those values purely for testing - they are very small, but they do work.

The only thing that comes to mind is how you are allocating the ambient sound and what thing type you are using.
If you use a thing type 14065 and set the arguments to play the sound you want (the sound index value), it should work. If you use a thing number that is auto-generated from the ambient sound number, then UDB doesn't update the sound distance circles properly. (I have reported this and it is a bug.)
The other thing is just a check that you haven't defined your sound in SNDINFO as a surround sound rather than a point one?
- JtoTheB
- Posts: 45
- Joined: Sat Aug 09, 2025 9:46 am
- Operating System Version (Optional): Windows 11
- Location: New Jersey
Re: Hearing indoor ambient sound from the other side of the map
Turns out i've been using Point instead of Surround, i'll test surround and give you an update
- JtoTheB
- Posts: 45
- Joined: Sat Aug 09, 2025 9:46 am
- Operating System Version (Optional): Windows 11
- Location: New Jersey
Re: Hearing indoor ambient sound from the other side of the map
I dunno what the issue is, no matter what i do the circle is just fucking huge
Re: Hearing indoor ambient sound from the other side of the map
No, you were OK. Point is what it should be. Surround is played full volume everywhere on the map. I was checking to make sure that you weren't using SURROUND.
I don't know why yours isn't working though. As you can see, I entered the values you gave and it made the circles tiny.
What does your SNDINFO look like?
Re: Hearing indoor ambient sound from the other side of the map
I can't see anything obviously wrong with your SNDINFO.
In fact, this is it on three different sound things with three different values:

Unless you are able to post a cut-down version of your mod that I could try (just a small map, the sound definition and file would do it), I'm afraid I'm out of ideas. Everything I've tried based on your information works as it is meant to.
In fact, this is it on three different sound things with three different values:

Unless you are able to post a cut-down version of your mod that I could try (just a small map, the sound definition and file would do it), I'm afraid I'm out of ideas. Everything I've tried based on your information works as it is meant to.

- JtoTheB
- Posts: 45
- Joined: Sat Aug 09, 2025 9:46 am
- Operating System Version (Optional): Windows 11
- Location: New Jersey
Re: Hearing indoor ambient sound from the other side of the map
Before I try sending you a cut down version of the wad, I'm gonna try sending you the actual audio file i'm using (on the off chance its actually the issue)
https://drive.google.com/file/d/10RyhFa ... sp=sharing
https://drive.google.com/file/d/10RyhFa ... sp=sharing
Re: Hearing indoor ambient sound from the other side of the map
It seems to be working for me.
I've put together this map. As you can see from the pic, there is a sound object playing your sound in each alcove. You pretty much have to be in the first alcove to hear the sound that is placed there. At the other end of the corridor, you can hear the final sound from much further away.
www.aspectsweb.co.uk/enjay//doom/TestStuff/comproom.pk3
Maybe if you load up my map in UDB, you'll spot something different versus your map.
I've put together this map. As you can see from the pic, there is a sound object playing your sound in each alcove. You pretty much have to be in the first alcove to hear the sound that is placed there. At the other end of the corridor, you can hear the final sound from much further away.

www.aspectsweb.co.uk/enjay//doom/TestStuff/comproom.pk3
Maybe if you load up my map in UDB, you'll spot something different versus your map.
- JtoTheB
- Posts: 45
- Joined: Sat Aug 09, 2025 9:46 am
- Operating System Version (Optional): Windows 11
- Location: New Jersey
Re: Hearing indoor ambient sound from the other side of the map
I'll look and give you an update.
- JtoTheB
- Posts: 45
- Joined: Sat Aug 09, 2025 9:46 am
- Operating System Version (Optional): Windows 11
- Location: New Jersey
Re: Hearing indoor ambient sound from the other side of the map
I have an interesting idea; what if i copy the custom ambientsound from your pk3, then paste it into my WAD?
- JtoTheB
- Posts: 45
- Joined: Sat Aug 09, 2025 9:46 am
- Operating System Version (Optional): Windows 11
- Location: New Jersey
Re: Hearing indoor ambient sound from the other side of the map
Slight issue, I can't really load the map because it's a PK3.
Re: Hearing indoor ambient sound from the other side of the map
Take the map WAD out of the PK3 and load it in UDB. Remember, a PK3 is just a zip file. So, rename PK3 to ZIP and you can open it easily by double clicking it in Windows.
- JtoTheB
- Posts: 45
- Joined: Sat Aug 09, 2025 9:46 am
- Operating System Version (Optional): Windows 11
- Location: New Jersey
Re: Hearing indoor ambient sound from the other side of the map
Tried copy-pasting it, and turns out it worked. Must've just been something wrong on my end.
Re: Hearing indoor ambient sound from the other side of the map
I'm glad you got it working. If I were you, I'd still try to figure out why in case you come across the problem again.