HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

3d sounds

10-21-2003, 09:37 PM#1
marshall
I've been trying for 3 hours to get this to work.
I have imported an mp3 to use as a local ambience effect and cannot get it to play in game.
Can anyone point me in the direction of an idiots guide to 3d sounds?
10-21-2003, 10:06 PM#2
QuatreDan
If you notice the captioning at the bottom of the "Sound-Play sound" trigger, you'll see that it reminds you that in order to play a 3d sound, you must attatch it to something first, and that sound must also be configured to be used as a 3d sound in its properties. Attatching it is as easy as using the "Sound-Attach sound to thing" trigger, and just go to the sound's properties in the sound editor and check off the box that reads "Use as a 3d sound" or something like that. Good luck! :D
10-21-2003, 10:41 PM#3
marshall
Tried that, still nothing.

What I'm trying to do is have a radio doodad playing a short looped tune that starts when a player is close enough to hear it and goes away when they aren't.
I'd also like to disable it completely at night, and enabled during the day.

Can anyone tell me how to do this?
10-21-2003, 10:56 PM#4
QuatreDan
And you're sure that you used the trigger action "Sound-Set 3d sound position to point", right? Cuz it won't play unless you tell it where it is...:no:
10-21-2003, 11:33 PM#5
Supra God CrK
sorry this is a little off topic but dan is that the middle finger or the pointer finger waving to say no no. i can't decide if you were flipping him off or sayin no
10-21-2003, 11:43 PM#6
Biflspud
I'm having similar problems as Marshall -- nothing's playing. Here's what I've got, using a helicopter sound I set to both Looping and 3D sound:

Sound - Attach chopper <gen> to (Last created unit)
Sound - Set position of chopper <gen> to (Position of (Last created unit)) with Z offset 0.00
Sound - Play chopper <gen> at 100.00% volume, attached to (Last created unit)

Sadly, I get nothing on this. Any thoughts?
10-21-2003, 11:47 PM#7
QuatreDan
I dunno, I didn't make that smiley, but it is called ": no :", so...whatever. If it looks like I'm flipping him off, then sorry. That wasn't my intention. Well, Biflspud, you may want to try choosing: it's either attach it to the unit, or set it to the position of the unit. Doing both has no purpose. Try just attaching it, and see what happens. Also, go to the properties of the sound and make sure that the checkbox labeled "3d Sound" is checked. Look at any other properties it may have concerning 3d sound and see what may be wrong. Other than that, I'm stumped. :bgrun: emote_confused
10-21-2003, 11:48 PM#8
Supra God CrK
i had this problem to a while back so i just said screw it and now i make all my sounds not 3d. o well.
10-21-2003, 11:55 PM#9
Biflspud
I originally had just the Attach sound to Unit and Play Sound Attached to Unit triggers, so that's still not it.

Any idea what difference it would make to change the Effect or Channel pulldowns on sound properties? I have it on Default for Effect and General for Channel - would another make the difference?

Supra: If this doesn't work, I'm with you. I just wanted to have some units make approaching sounds; no sense going crazy for one lousy effect.
10-21-2003, 11:56 PM#10
ULTIMA_WEAPON_
if i think i know what your problem is, then listen to this: When you use or import a sound, double-click on it and you will be brought up to a list. Make sure that the "3D-Sound" Box is not checked off. This will make it so when you use sounds in triggers, they can be heard.
10-22-2003, 12:39 AM#11
marshall
After much messing around with the sounds I think know why we're having trouble - Warcraft 3 does not accept MP3s as 3D sounds, only WAVs.

This is very annoying as the filesize of my mp3 is 155KB and the size of the wav is 5.32 MB

---

I might have been able to replicate the effect by using a non-3d sound but I need the sound to be heard only by the player who is 'close enough' to hear it.

I tried using a trigger to set the sound cutoff distance but it appeared to have no effect - the sound could be heard anywhere on the map.

Any thoughts on how this might be achieved?
10-22-2003, 01:08 AM#12
Supra God CrK
ultima_weapon_ what you are describing is what he is trying to avoid doing. unchecking that box would make the sound able to be heard everywhere in the map. while an easy fix no one wants to hear that song the wole time when they are far away from a radio. the 3d sound option makes it so the sound is only heard when close to an object.
10-22-2003, 10:51 AM#13
marshall
Right, if MP3s can't be used as 3d sounds then the problem is now thus:

How do you create localized non-3d sounds in World Edit?
10-22-2003, 01:13 PM#14
35263526
Not possible. The only 3D sounds can be played locally.
10-22-2003, 01:16 PM#15
marshall
Ok, well what about playing a sound to just a specific player?