• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Spell] JASS sound not playing [Reforged]

Status
Not open for further replies.
Level 12
Joined
May 16, 2020
Messages
663
Hi guys,

I'm trying to use the following recipe system to combine items: Item Fuse/Disassemble 2.1 (GUI & vJass)

The system has a part where you can change the sound upon combining the items. The problem is that the sound I want to use does not play. Here a pic of the path of sound I want:

123.png


And here I entered this path:
JASS:
    // * If you want to use custom sound, setup it below
    // * "Sound path", "time in second to play sound after combine is done", "volume" and "pitch" of sound
    constant boolean        USE_CUSTOM_SOUND        = true;
    constant real           SOUND_MAX_DISTANCE        = 3500.;
    constant string         SOUND_FILE            = "Abilities\\Spells\\Items\\AlamTomes.wav";
    constant real           SOUND_VOL            = 90.;
    constant real           SOUND_PITCH            = 1.2;
No sound though... some more experimentation showed me that some sounds work and others don't. For example:

Abilities\\Spells\\Items\\AlamTomes.wav --> does NOT play a sound in-game.
Abilities\\Spells\\Other\\CrushingWave\\CrushingWaveCaster1.wav --> DOES play a sound in-game.

Is this some kind of internal bug with Reforged?
 
Since 1.32 internal sounds use .flac extension, but in your script you use .wav, try changing that.
 
Two more things you could try: disable the 3D sound checkbox, and use forward slash instead of backslash (Abilities/Spells/Items/AlamTomes.flac).
 
I checked if the sound file exists in my 1.31 installation, and found the path is abilities\spells\items\aiam\tomes.wav. Note that it's spelled 'AIAM', not 'ALAM'.
 
Status
Not open for further replies.
Back
Top