Page 1 of 1

Help with 3D sound!

Posted: Tue Nov 20, 2012 10:55 am
by Say41Plz
Hey there, I'm new here~!
I just found out this site and it seems you know a lot about World Editor, please help me!

My problem is that I want to play an imported sound when a unit starts and finishes casting an ability.
Saber Ult Act Saber Ult Act
t_eve Events t_uni Unit - A unit Finishes casting an ability t_co Conditions t_if (Ability being cast) Equal to Excalibur t_act Actions t_sou Sound - Play Excalibur_Finish <gen> at 100.00% volume, attached to (Triggering unit)
So far everything runs ok.
The problem is that I want the sound to be 3D, and when I tag the 3D option in the Sound editor, the sound does not play.

Thanks in advance.

PS: By the way, I'd appreciate comments about the characters synergy and abilities, as well as if the MUI triggers (is that MUI?) are well made.

Sorry for my english, is not too stronk.

Stuff imported and credits:

Models, effects and UI
Spoiler:
-Saber model: EbonyStallion, ChelyzMarx, TYPE-MOON http://chaosrealm.info/topic/8016028/1/ EDIT: I forgot to mention that I modified the original model. Changed the "Attack - 3" animation to "Attack Slam" as well as changing particle emitters that were used in "Spell Channel" and "Spell Throw" from "Add Alpha" to "Additive"; otherwise, it looked awful in-game (also increased the size of such particle emitters to compensate the lose of bright).
-Excalibur effect: ??? (downloaded some time ago, don't remember key words, sorry)
-Light Nova effect: JetFangInferno http://www.hiveworkshop.com/forums/mode ... t%26r%3D20
-Green Heal effect: HammerFist132 http://www.hiveworkshop.com/forums/mode ... t%26r%3D20
-Hurrican wave effect: Callahan http://www.hiveworkshop.com/forums/mode ... t%26r%3D20
-Tornado Missile: BurninRose http://www.hiveworkshop.com/forums/mode ... t%26r%3D20
-Clock UI: HappyTauren http://www.hiveworkshop.com/forums/mode ... t%26r%3D20
-Confirmation: Epsilon http://www.hiveworkshop.com/forums/mode ... %3DEpsilon
Sound & Music
Spoiler:
-Sword of Promised Victory (Yakusokusareta Shouri no Tsurugi): TYPE-MOON, 41 (shortened it and dropped quality)
-oath sign: eufonis, 41 (dropped the quality)
-Saber "Excalibur" voice - Fate Zero chap 15

Re: Help with 3D sound!

Posted: Wed Nov 21, 2012 6:51 am
by 3ICE
Hi and welcome,

A quick Google search revealed that MP3 audio files aren't supported in 3D mode. Positional information can only be added to WAV sounds.
This makes sense as any transformation done to an MP3 is far more work than with WAV.

But if you switch to WAV files to get 3D, protection won't be as efficient, map size wise.

So there is no good solution...

If you want MUI, you should switch to JASS or at least local variables via custom script. At the moment if two Sabers begin channeling their ultimate abilities at the same time, one will break. But if you only ever allow one Saber per game, MUI will not be a concern for you at all.

Music in maps is generally a bad idea. Ridiculous file size and it gets repetitive quick.
I know very few good maps that have music in them. One is RaoDaoZao's single player RPG: When the Freedom Slips Away.

I'll continue this in a few hours, when I come back.

Re: Help with 3D sound!

Posted: Thu Nov 22, 2012 11:28 pm
by Say41Plz
So, I should make the sound wav/keep it as it is, learn JASS and remove the music (I was thinking doing the same, actually, as most people play with the music they like anyways).

Why is it that the ultimate is not MUI? I'm newbie when it comes to MUI, so I don't see where does it break.

Re: Help with 3D sound!

Posted: Fri Nov 23, 2012 9:35 am
by 3ICE
Add two heroes and cast their ultimate at the same time. Only one sound will play. And if you time it just right, one of the Excaliburs will strike at coordinates (0; 0) instead of the target point.

Re: Help with 3D sound!

Posted: Fri Nov 23, 2012 12:48 pm
by Say41Plz
I used wav sounds (22.5, mono) instead, nothing really changed.
So I should use a unit group or set the point array to key triggerunit instead?