HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Sounds

05-04-2006, 01:32 AM#1
xXx-Tricky-xXx
Ill try to make sense when I ask what I need help with. :P
Im working on a FPS map, that of which some of the weapons are Automatic. So my problem is, I need them to shoot real fast, approximately 30 rounds in a 3 or less second period. Sofar, I have tried using a 1/10 of a second sound, and since my shooting trigger is periodic, I set it to make a shot sound every .06. Approximately 15 rounds a second. From what I can hear it makes every sound. Heres the part that im having trouble with.

One thing is people can hear the sound anywhere, which would be annoying if your someone else and not shooting and u hear someone blazing 30 rounds consantly or the machine gun as 200 rounds consantly. I tried to change that by making the sounds 3d and set a distance. As of yet I cant seem to get the sound to play as 3D. Maybe its simple of what you need to do but I never really used 3D sounds much so I must be doing something wrong. Apart from that, I need to know about something before I base my sounds off of it. The question is, will sounds say if your shooting a certain gun at 15 rounds per second and some other guy is shooting another gun about the same speed, will the sounds criss cross and screw it up or will it play as usual and you would still hear both sounds. Because if you base a sound in an ability and cast it that fast, and say a unit dies, it will cut off the sound until another sound is finished.

Sorry its so long, I tend to type too much about a question or two. :P
Hope you understand my question.

thanks :D
05-04-2006, 01:50 AM#2
Mystic Prophet
you're question seems easy to understand, however I was just going to start working on 3d sounds myself in order to solve that same problem with it playing for everyone everywhere. So I can't really help you yet. I'll look into it though.

as a side note: it seems to me that playing sounds that often would probably cause a good deal of lag. but I'm not really the expect on what causes lag and what doesn't.
05-04-2006, 01:50 AM#3
Linera
Open up the sound manager, then right click your sound and choose edit:
Zoom (requires log in)
Attached Images
File type: jpgsound.jpg (108.6 KB)
05-04-2006, 01:56 AM#4
xXx-Tricky-xXx
lol thx linera but i already got that part :P
just i cant seem to get the 3d sound to play

and man i sure hope playing a 1/10 of a second sound 30 times in 1 second doesnt lag. If thats the case, ill have to redo it again. What im going for is it shoots every .06 when you hit T and does it consantly until ur magazine is empy or u hit t again and it stops and makes a finishing echo sound.
05-04-2006, 01:58 AM#5
Linera
Trigger:
Sound - Play Sound at 100.00% volume, attached to Unit
05-04-2006, 02:09 AM#6
xXx-Tricky-xXx
>.< still no sound. :(

I dont understand, if i just use play sound trigger it works but it wont work when playing it on a unit or an area.
05-04-2006, 02:36 AM#7
Linera
Its possible that they may only work while cinematic mode is on(sure would be a dumb reason though
05-04-2006, 03:17 AM#8
xXx-Tricky-xXx
>.< i hope not.
05-04-2006, 05:43 AM#9
Mystic Prophet
hmm as a side question. Is there anyway to get a sound to play everywhere but only to one player? I would test it myself but my friends aren't on at the moment to test it with, and I don't know how long it would take me to figure it out.
05-04-2006, 04:27 PM#10
Soultaker
Yes there is..

http://www.wc3jass.com/viewtopic.php...light=soundfor

Hope that helped ya =)

- Soultaker
05-04-2006, 04:47 PM#11
Tim.
I know your problem, and again, it's not really possible. Warcraft has a built in check that if too many sounds are played, then wait for them to finish before accepting any more sounds. You'll need to make a sound effect that lasts 1 second and sounds like a ton of shots. Won't matter because of the lag no one will be able to make less then 1 second's worth of shots anyway.
05-04-2006, 05:44 PM#12
xXx-Tricky-xXx
well the sound lasts .082 seconds. But is what you said you mean as like will player 1 and player 2 sounds both work if there shooting each other and they both hear the sounds that were created from each other shooting. Or will say player 2's sound go over player 1's sound and vice versa.

What do you mean by the lag though? Sounds cause lag?
05-05-2006, 12:12 AM#13
Tim.
If you set them up how they should be, they would be 3d. So that anyone in the relative facinity could hear the shots. Now imagine 12 players all shooting 60 rounds at each other from within close range. The sound will overlap for about half a second, then you'll only hear a few scatter sounds.

Yes, sounds cause lag.
05-05-2006, 02:01 AM#14
xXx-Tricky-xXx
>.< man so this whole things scrapped then.
I dont see a way to do this then.
If I make it play a 30 round sound when u shoot, will casting an ability with an ending sound stop it?
And also if not using triggers for sounds, then everything gets screwed up when someone dies or some other sounds, and that the 30 rounds sound would be like 400kb and dont want to do MP3 because then nomatter what you would hear them.