Warcraft III World Editor Tutorial – 06: Sound Effects

This tutorial will show you how to make someone say one of the sounds supplied with the game

Simply, all we need to do is add the sound and place a small trigger.

First, create a new map and delete all of the starting triggers.

Now, we need to add our sound. Lets make a peasant shout ‘Let’s Get P*ssed!’. To add the sound, go into the sound editor, and find the sound. To save you the trouble, it is in:

Internal Sounds (3766) – Units – Human – HeroMountainKing – HeroMountainKingPissed7

Double click to play it if you want to hear it. To add it to your game, click the ‘Use Internal Sound’ button at the top of the sound editor – first button, or by pressing (CTRL + U).

The sound should now be on the right hand side of the screen. For better stability, change the variable name of the sound to: ‘HMKP7’.

To do this, simply double click on the sound (on the right of the screen), and change the variable name (presently ‘HeroMountainKingPissed7’) to ‘HMKP7’.

I have found that sometimes when variables have long names, they are left out of the game for some reason.

Now we have our sound, we need to add it to the game. If you are using it in the middle of a cinematic, use ‘Method 1’. If you are just adding it as a random sound, use ‘Method 2’. If you are adding it as a sound coming from someone without being in a cinematic, use ‘Method 3’.

Method 1

Use the following actions:

In the middle of your cinematic:

Actions:

Cinematic – Send transmission to (All Players) from Peasant 0000 [gen] named Peasant: Play HMKP7 [gen] and display Let’s Get Pissed!. Modify duration: Add 0.00 seconds and Don’t wait

– Sends a transmission to every player, from a peasant (selected) with the name Peasant, the sound HMKP7, and the text ‘Let’s Get Pissed!’. Does not add any time, does not wait for the player.

Wait 1.91 seconds

– This is the length of the sound. You can see the sound lengths in the ‘Sound Editor’.

That’s all there is to adding a sound to a cinematic.

Method 2

Use the following trigger:

Events:

Conditions:

Actions:

Sound – Play HMKP7 [gen]

– Plays the sound ‘Let’s Get Pissed!’. Does not show any text or anything.

Wait 1.91 seconds

– waits for the sound to finish (in case you have other sounds after it etc.)

That’s it for that method! Of course, you need to put some sort of event in etc.

Method 3

Use the following trigger:

Events:

Unit – A unit enters Region 000 [gen]

Conditions:

Actions:

Cinematic – Flash a speech indicator for Peasant 0000 [gen] of colour (100%, 100%, 100%) with 0.00% transparency

– Flashes a circle around the unit that we want to talk.

Game – Display to (All Players) for 1.91 seconds the text: |cffffcc00Peasant|r…

– Shows the following text message:

Peasant (–YELLOW–)

Let’s Get Pissed

– Done with the following value:

|cffffcc00Peasant|r

Let’s Get Pissed

(–BACK TO THE ACTIONS–)

Sound – Play HMKP7 [gen]

– Plays the sound ‘Let’s Get Pissed!’. Does not show any text or anything.

Wait 1.91 seconds

– Waits for the sound to finish (in case you have other sounds after it etc.)

That’s the third method done. I think I’ve covered everything, but if you had something else in mind for adding sounds, don’t hesitate to ask!

Leave a Reply

Your email address will not be published. Required fields are marked *