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

[Spell] JASS sound not playing [Reforged]

Status
Not open for further replies.
Level 12
Joined
May 16, 2020
Messages
660
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?
 
Level 19
Joined
Jan 1, 2018
Messages
741
Since 1.32 internal sounds use .flac extension, but in your script you use .wav, try changing that.
 
Level 19
Joined
Jan 1, 2018
Messages
741
Two more things you could try: disable the 3D sound checkbox, and use forward slash instead of backslash (Abilities/Spells/Items/AlamTomes.flac).
 
Level 19
Joined
Jan 1, 2018
Messages
741
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.
Top