• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Create ambient sound attached to a unit

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Make sure the 3D sound is configured properly. It needs appropriate cutoff distances and fading to be heard properly. 3D sounds work locally relative to the player's camera and not unit, so moving a unit near a 3D sound source does not mean it will be heard but moving the camera near one does.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
I am guessing max distance is the cut-off. The camera distance away from the sound source at which it cannot be heard anymore.

Min distance is probably the cut in distance. The camera distance away from the sound source at which it can first be heard. Either that or is a distance clamp value to prevent 3D logic making the sound too loud if the camera is too close to it.
 
Status
Not open for further replies.
Top