Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-settings.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /nfsmnt/hosting2_1/2/5/2511f21f-9ae7-4244-9bb2-071fd092192e/3ice.hu/web/blog/wp-includes/theme.php on line 623
How to play sounds in Warcraft? (Imported or Internal) | Warcraft III World Editor Tutorials Map Making Help Blog

Google Translate:

Script by 3ICE.

Categories

Archives

Affiliates

  • 18Dec

    Sounds are an important part of Warcraft maps, giving audible feedback to the player. For example every time you complete a quest, the QuestCompleted sound is played (in campaigns).

    To play your own sounds, all you have to do is invoke the Sound Editor by pressing F5:

    Warcraft World Editor Sound Editor
    The Sound Editor

    Then either import your own sounds (WAV or MP3 format) by clicking File → Import Sound… (CTRL + I) or pick some from the 6311 built-in sound-effects.

    After importing/picking is done, right click on a file and select Use as sound:

    World Editor Sound Right Click Use As
    Right click → Use as sound

    It is important that 3D sound in the Sound Properties is not checked:

    World Editor Sound Properties 3D Unchecked
    3D Sound must be unchecked

    And finally playing the sound is as simple as using the Sound - Play Sound function:

    World Editor Trigger Play Sound
    Trigger that Plays a Sound

    Posted by 3ICE @ 9:48 am

17 Responses

WP_Cloudy
  • Thurst4blood Says:

    Nice I wanted to get sounds working on World Editor.

    Thanks,
    Thurst4blood

  • Nicolas Says:

    This is not multi-instanceable, but useful for GUI.

    Edited by 3ICE: Removed fake e-mail address and website, removed all flaming, fixed spelling mistakes.

  • 3ICE Says:

    Hi,

    Actually, MUI (If you can't spell it, just abbreviate it.) is not affected here.

    All I'm doing in that trigger is playing a sound 5 seconds into the game for everyone to hear.

    –3ICE

    p.s.: Sorry about the late response, your comment was marked as spam (because of your fake website, invalid e-mail, lots of flaming), by Akismet and I only found it today. (Akismet is a wonderful service by the way, this is my first false positive with them and I have thousands of spam caught.)

  • omas Says:

    Hi, please i have problem in my warcraft 3…..i watch ,,NARUTO´´ its anime serial and i try creat my map with naruto models and ofcrourse with ,,jutsu´´ sounds….. please help me i have one character and i have 3 sounds…..but when i use spell…all sounds are playing. I want know how fix this…… i want use spell and have the right sound no all 3 in one time….

    Please help me….. Write me on this Email: -removed-….Thank for all help….

    Edited by 3ICE: Removing email.

  • 3ICE Says:

    Hi,

    Would you like a random sound to be played from a pool of 3 possible choices every time the spell is cast?

    If yes, you can achieve that by generating a random number between 1 and 3, then checking which number it was; 1, 2 or 3. If it was 1, play sound1, if it was 2, play sound2, if it was 3, play sound3.

    If this was not your goal, please explain further.

    –3ICE

    p.s.: There is an [ENTER] key to the right of the period key. Try replacing your dots ("……") with new lines. It's a first step towards achieving proficiency in English grammar, style, and usage.

  • TOmas Says:

    For eplain i shere here link what i think youtube/watch?v=5md0XHBc2cI . Here is one hero… i think you will undestand what i want..

  • 3ICE Says:

    I watched the video but I don't see where playing 1 of 3 sounds comes in.

  • TOmas Says:

    He use spell and the spell have sound… when he activate the spell auto. the hero start saying spell name…for explain name of Spell: Fuuton Rasen Shuriken
    Hero say: Fuuton rasen shurike
    I want this effect.

  • 3ICE Says:

    Ah!

    You can sovle that with a trigger:

    SPELL1
        Events
            Unit - A unit Begins casting an ability
        Conditions
            (Ability being cast) equals to [SPELL1]
        Actions
            Sound - Play [SOUND1]

  • TOmas Says:

    How can i creat water wall…but i want spell…..and when is water reales i want use i same time light psell…..It does Xdmg and throw him away…. can you help me with this?

    youtube/watch?v=72qkhMc0-ZE something like this but ofcourse in WArcraft …. :D

    Edited by 3ICE: Merged doublepost

  • 3ICE Says:

    Hi,

    This is not a help forum, but a blog post about sounds.

    Go here (3ICE's Map Vault) or here (3ICE's Warcraft 3 World Editor Help Forum) for help.

  • jon Says:

    I have a problem playing sounds, can you please help?
    my code is like this
    Sound play
    events:
    unit-a unit starts the effect of an ability
    conditions:
    (ability being cast) is equal to [raikiri]
    actions:
    sound- play raikirisound

    I also tried attaching it into the caster
    actions:
    sound-play raikirisound at 100% attached to casting unit

    at the first two or third execution of the spell it played, but after casting it four times and above, it doesn't play anymore.
    how do I fix that? please help.

  • 3ICE Says:

    I'd have to see the map.

  • Bastian Says:

    In my Editor i cant even choose 3D Sound and where you have channel 1 I have channel 2. why ? i'm trying to make a sound for a spell….

  • 3ICE Says:

    I assume 1 channel means mono, and 2 channels mean stereo.

    Stereo sounds can't be 3D sounds because 3D sounds are simulated by taking a mono sound and playing it through both speakers (thus making it stereo) but with different intensity in each, creating the 3D effect.

    At least that's what I think.

    Convert your 2 channels sound file into 1 channel with Audacity. (First result on google.)

  • Strynix Says:

    hi i've got problem with playing imported sound,when my first cinematic started there is no sound to play
    Events
    Map initialization
    Conditions
    Actions
    Cinematic - Turn cinematic mode On for (All players)
    Sound - Stop music Immediately
    Sound - Stop the currently playing music theme
    Cinematic - Send transmission to (All players) from Arthas (wielding Frostmourne) 0000 named Arthas Menethil: Play ArthasSound1 and display go to next link,. Modify duration: Set to 29.00 seconds and Wait
    Cinematic - Turn cinematic mode Off for (All players)

  • 3ICE Says:

    Can I see the map?

    Post it over at the Map Vault

    –3ICE

Leave a Comment

Please note: If you post more than 5 URLs, then automated moderation will delay your comment for investigation. There is no need to resubmit the comment as it will be approved if found to be appropriate.