Yay. This is exactly what I was looking for!
Question: Is there any way to add (fading) pan to 3d sounds? I found the "ListenerHearDistanceOnly" script, but it seems like all sounds to the right of the point are immediately sent to right speaker and vice versa. It would be nice if I could make the sounds go from one speaker to the other slower, if you know what I mean?
You cannot pan 3d sounds. The pannning is taken over by the 3d system...
You can pan the group it's playing on...
You can also play with SetListenerPositionExt (replaces the other set listener an hears only distance call) and see if you can tilt the players hears in such a way that you get the desired effect.
You can also try to move the sound (or player) a little deeper on the z axis. I did not try this but I think if you move either the sound or the listenner on a different axis, they will fade smoother. Make sure ListenerHearDistanceOnly is turned off though.
Edited by icuurd12b42, 28 January 2008 - 11:15 PM.