• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Removing the sound that is played when an ability is clicked

Status
Not open for further replies.
Level 7
Joined
Jul 12, 2021
Messages
97
Everytime an instant ability is used a sound is played. If it isn't an instant ability a sound is made when you click or press the hotkey for that ability. I want to remove that sound for an ability based on Berserk. Is it possible?
 
Last edited:
You'll have to replace the sound file with an empty sound. This will be a global change that will affect all abilities.

There's no difference between Instant and non-Instant abilities in this case. They all play the same sound when you press the button whether that be manually or with a hotkey.
 
There's no difference between Instant and non-Instant abilities in this case. They all play the same sound when you press the button whether that be manually or with a hotkey.
Well I meant that when an ability isn't instant, the sound isn't played when you use the ability, it is played when you the button is pressed. Example - Holy Light:
1. The button is pressed (by a click or hotkey). The generic ability sound is played.
2. The target unit is selected and the ability is casted. No generic ability sound played.

You'll have to replace the sound file with an empty sound. This will be a global change that will affect all abilities.
Well, if it works like that, then I guess the solution is to remove the sound globally. Then with triggers add the sound to all the abilities except for the one I don't want to have sound.
Do you know if doing this will be taxing for Warcraft 3?



EDIT: I just tried the solution I proposed. Unfortunately, the sound is played with delay. It won't work smoothly because of that. Here is the trigger:
  • Attack button
    • Events
      • Game - Button for ability Attack and order Orc Troll Berserker - Berserk pressed.
    • Conditions
    • Actions
      • Sound - Play MouseClick101 <gen>
 
You'll probably have to settle for replacing the sound for everything.
Does someone has any idea on how to remove the sound delay that happens when you play the sound with triggers? Because it's really bad :/ or at least it is for my standards.
  • Attack button
    • Events
      • Game - Button for ability Attack and order Orc Troll Berserker - Berserk pressed.
    • Conditions
    • Actions
      • Sound - Play MouseClick101 <gen>

Thanks for your very useful help!
 
Last edited:
Status
Not open for further replies.
Back
Top