• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Sound Pitches Resetting

Status
Not open for further replies.
Level 21
Joined
Aug 13, 2011
Messages
739
I use a lot of internal sounds which use a variety of pitches in my singleplayer map to make them sound different. They all work properly, but my map has a high difficulty curve and could benefit from using Warcraft's default saving and loading.

The problem is that when a saved game is loaded, the pitches are reset to their default settings (like in the attached example map). Is there a way to prevent pitch resetting or to change the pitches in-game? I'd prefer not to have to import sounds and crank up the file size of the map if I don't need to.
 

Attachments

  • Sound Pitches.w3x
    9.4 KB · Views: 39
Level 26
Joined
Aug 18, 2009
Messages
4,097
Yes, you can change the pitch of sounds ingame. Infact, the configurations you commit in the sound editor are translated to jass lines for map init.

native SetSoundPitch (sound soundHandle, real pitch) returns nothing

or GUI

  • Sound - Set Sound Pitch
However, there is no GetSoundPitch-function.
 
Status
Not open for further replies.
Top