• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Custom interface sound working in test map but not when launched from game

I'm making a 40k map and so naturally I'm using custom interface sounds. They're .wav and mono and play fine in the editor. They all work perfectly when I test the map, but when I start up Warcraft 3 and select my map in the menu, the sound I used to replace BigButtonClick.wav doesn't play, it goes back to the default Warcraft 3 one. The other interface sounds work fine, though the ESC menu sounds don't work immediately. There's a menu as soon as you start the map, and the last couple times launched it from the game, it played the default ESC menu sounds until the menu closed and I opened up another menu.

Does anyone have an idea of why this could be?

I use the right click ---> Replace Internal Sound method btw.

EDIT: I tested the sound on a new map and got the same result.

EDIT 2: I have a theory about why this happens. Sound\Interface\BigButtonClick.wav is used on the main menu - so the file with that path is loaded from the main MPQ before any map. And so when the map is started, any sound with that file path will be the default sound already loaded. So, then the question becomes, is it possible to force the map to reload that sound on initialization? Or, can you use triggers or code to change the file path of an imported sound file while the map is in progress?
 

Attachments

  • ClickTest.w3m
    30.3 KB · Views: 2
Last edited:
Top