• 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!

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