• 🏆 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 type and details for wc3 (help needed)

Status
Not open for further replies.
Level 8
Joined
Jul 10, 2008
Messages
353
What setting i must use to save a file .wav or .mp3 in order for it to be suitable to be played by wc3.

I tried 32bit 44100Hz stereo for both by neither works...

JASS:
    set SoundWave1 = CreateSound("war3mapImported\\SoundWave1.mp3", false, true, false,  1, 1, "DefaultEAXON")
    call SetSoundDuration(SoundWave1, GetSoundFileDuration("war3mapImported\\SoundWave1.mp3"))
    call SetSoundVolume(SoundWave1, 127)
    call SetSoundChannel(SoundWave1, 0)
    call SetSoundPitch(SoundWave1, 1)
    call SetSoundDistances(SoundWave1, 99999.0, 99999.00)
    call SetSoundDistanceCutoff( SoundWave1, 99999.00)
    call SetSoundConeAngles(SoundWave1, 0.0, 0.0, 127 )
    call SetSoundConeOrientation(SoundWave1, 0.0, 0.0, 0.0 )

This is the code I use
 
Last edited:
Status
Not open for further replies.
Top