Ambient sounds won't work

Tue Aug 31, 2021 6:24 pm

I was trying to make an ambient sound using the AmbientSound thing in UDMF and SNDINFO, but I can't get it to work.

Here's the contents of my SNDINFO:
sound ambient/hum "sounds/DSHUM.ogg"
$ambient 1 ambient/hum point continuous

And here's the arguments for my AmbientSound actor:
arg0: 1 // Index
arg1: 100 // Volume
arg2: 0 // Minimum distance
arg3: 0 // Maximum distance
arg4: 0 // Scalar for arg3 and arg4

I've also attached my .PK3 (named .ZIP because forums) if you want to take a look at the map itself or the directory structure.
Any help would be much appreciated!
You do not have the required permissions to view the files attached to this post.

Re: Ambient sounds won't work

Wed Sep 01, 2021 7:06 am

Found out what the problem was. Here's my revised SNDINFO, for those wondering:
ambient/hum DSHUM
$ambient 1 ambient/hum point continuous 1

Re: Ambient sounds won't work

Wed Oct 06, 2021 1:20 am


Yes, also you can simplify it further using;

$ambient 1 mysound point continuous 1

Example added for advisory purposes. It's the most simple straight forward line for ambience that I was shown. However, I'm still figuring out how to reduce the area of affect and fade off distance.

Hope this helps.