ambient sound tweaking

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

ambient sound tweaking

Postby Kierra » Sat Oct 18, 2008 2:33 am

Ok so here's what I'm trying to do.

I have my ambient waterfall sound playing and working just fine, but I'd like to set it up so that when you go inside the house, the sound volume decreases by about half.

I'm fairly certain I need to set up a sound region to accomplish this, but I have no idea what the alcscript would need to look like. The Wiki gives script for fadein and fadeout, but I'm thinking that's not exactly what I'm going for. I just want the volume to decrease, not for it to cease all together.

I know enough to know I should know how to do this, but don't :lol:

Help please? :D

~Kia
User avatar
Kierra
 
Posts: 371
Joined: Sat Sep 29, 2007 12:05 am
Location: 311 miles West of Cyan. roughly.

Re: ambient sound tweaking

Postby boblishman » Sat Oct 18, 2008 2:54 am

I am pretty sure you can use softvolumes for this ... the wiki has a section on using them ... and using them in more complex ways so as to not completely "block out" all the sound ...
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: ambient sound tweaking

Postby Kierra » Sat Oct 18, 2008 2:59 am

Soft volumes :?

Heh, figures. I've been avoiding that section. Guess I'll have to figure out what those do now :lol:

Thanks

~Kia
User avatar
Kierra
 
Posts: 371
Joined: Sat Sep 29, 2007 12:05 am
Location: 311 miles West of Cyan. roughly.

Re: ambient sound tweaking

Postby Trylon » Sat Oct 18, 2008 10:28 am

Fortunately we've had a very good softvolume explanation on the wiki nowadays - even I get softvolumes now :D
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: ambient sound tweaking

Postby Christian Walther » Wed Oct 22, 2008 7:33 am

I haven't tried sound soft volumes yet (I haven't done anything with sounds yet), but here's what I would try, off the top of my head:

Add a cube in the general shape of your house, make sure its normals point inward, give it the following AlcScript
Code: Select all
AmbientAttenuationSoftvol:
    type: softvolume
    softvolume:
        softdist: 2.0
        instrength: 0.5
        outstrength: 1.0

add this softvolume line to your sound AlcScript
Code: Select all
MySound:
    sound:
        softvolume: AmbientAttenuationSoftvol

and see what happens.
Christian Walther
 
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
Location: Switzerland


Return to Building

Who is online

Users browsing this forum: No registered users and 20 guests