HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

3D Sound Problem

08-19-2006, 11:26 PM#1
DeltaOne
(Please Move this in the Triggers Forum if you think it belongs more there, that's what I meant anyway)

Heya again everyone!

I really, really really need help to craft a Sound that can be heard in a certain radius away from the triggering unit (somewhere along 600 range) (The Sound triggers when a unit starts casting an ability).

The Camera is always locked on units (with offset 0,0, using default camera rotation), therefore even if from the Z offset of the Triggering Unit (The Z offset of the Camera of the Triggering Unit) the sound can be heard, I am looking for something that can also make the sound be heard from the Camera Z offset of a unit in the vicinity of the triggering unit (distance which is farther than the initial Z offset of the triggering player locked camera).

I've had alot of help with this one, but none of it finnaly made it work. At one point, with the 3d Sound Min Distance of 2.000 and Max Distance of 10.000 the Sound could be heard. If I put the source of the sound in a fixed location in the map and I repeatedly going further away from it, at one point I reached a spot where the sound could not be heard anymore, but upon further testing in multiplayer, apparently the sound can even be heard in the whole map.

I have no idea how much the Min Distance and Max Distances should be, or how exactly should I configure this script to work, so I'm turning to wc3campaigns for help. Oh, and while triggering the Camera to get locked on a certain unit with an offset of 0,0 using Default Camera Rotation, what is the actual height of the Camera?

Posts that tried to help me up are:
http://www.wc3campaigns.net/showpost...5&postcount=43
http://www.wc3campaigns.net/showpost...4&postcount=44
http://www.wc3campaigns.net/showpost...3&postcount=50