Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Sound fade with camera's promixity
Old
Faceonfire
Junior Member
 
Status: Offline
Posts: 8
Join Date: Aug 2010
Location: New Orleans
Default Sound fade with camera's promixity - 05-11-2011, 06:22 AM

How do I make a sound increase as the camera gets closer to it? Similarly, how do I make a sound decrease as the camera gets further away from it?
   
Reply With Quote
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 05-11-2011, 06:56 AM

Where your sound command is, there is also a "volume level" for that specific sound. Put the volume level as a variable, and have a bunch of if statements going so that it will set itself tothe appropriate volume depending on camera distance.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote
Sound distance
Old
Faceonfire
Junior Member
 
Status: Offline
Posts: 8
Join Date: Aug 2010
Location: New Orleans
Default Sound distance - 05-11-2011, 07:11 AM

I'm a little confused. I don't have much experience with variables. After I click "create new variable," I click "other," and then "sound?" or should I click position? Could you please give me a simple step by step on this? And also, where is the "sound command" you mentioned?

Last edited by Faceonfire; 05-11-2011 at 07:12 AM. Reason: clarification
   
Reply With Quote
Reply

Tags
camera, proximity, sound, sound fade

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.