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!
Post Reply
User avatar
Kierra
Posts: 371
Joined: Sat Sep 29, 2007 12:05 am
MOULa KI#: 0
Location: 311 miles West of Cyan. roughly.
Contact:

ambient sound tweaking

Post by Kierra »

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
boblishman
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
MOULa KI#: 0
Location: Spain

Re: ambient sound tweaking

Post by boblishman »

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
Kierra
Posts: 371
Joined: Sat Sep 29, 2007 12:05 am
MOULa KI#: 0
Location: 311 miles West of Cyan. roughly.
Contact:

Re: ambient sound tweaking

Post by Kierra »

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
Trylon
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
MOULa KI#: 0
Location: Gone from Uru

Re: ambient sound tweaking

Post by Trylon »

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.
Christian Walther
Posts: 443
Joined: Sun Jun 08, 2008 3:10 am
MOULa KI#: 0
Location: Switzerland

Re: ambient sound tweaking

Post by Christian Walther »

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.
Post Reply

Return to “Building”