Loot SFX: Difference between revisions

From Path of Diablo Wiki
No edit summary
No edit summary
Line 39: Line 39:
Export files as 16 bit .wav
Export files as 16 bit .wav


Place the file in the following folder structure: (wherever Diablo II is installed)/Path of Diablo/data/global/sfx/Item
Place the file in the following folder structure: (wherever Diablo II is installed)/Path of Diablo/filter


The file must be named the exact same way as an existing (and supported) file. See Default Pack for the list of supported file names.
(Only 16-bit .wav @ 22050 Hz are supported)


(Only 16-bit .wav @ 22050 Hz are supported)
The file can then be played via a loot filter. The code to play a sound should look like:
 
{| class="wikitable" border="1"
|-
|-
| Sound[FANCY_SOUND]: "myfilter\filename"
|-
| ItemDisplay[MAP]: %NAME%%NOTIFYSOUND(FANCY_SOUND)%
|}