• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Removing the sound that is played when an ability is clicked

Status
Not open for further replies.
Level 6
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:

Uncle

Warcraft Moderator
Level 72
Joined
Aug 10, 2018
Messages
7,761
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.
 
Level 6
Joined
Jul 12, 2021
Messages
97
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>
 
Level 6
Joined
Jul 12, 2021
Messages
97
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.
Top