promotional bannermobile promotional banner
premium banner
Plays audio from SharedMedia custom type 'lustaudio' when the player presses a lust spell. Only works for player who pressed the button.

Description

LustAudio plays a sound when a bloodlust effect is activated. It detects lust by watching for sated/exhaustion debuffs (Sated, Exhaustion, Temporal Displacement, Insanity, Fatigued) to appear on your character. Audio plays on the not-sated to sated transition and stops when combat ends.

Configure the sound and audio channel via /la or the addon settings panel. Works with:

57723  -- Exhaustion
57724  -- Sated
80354  -- Temporal Displacement
95809  -- Insanity (Hunter Pet)
160455 -- Fatigued (Hunter Pet)
264689 -- Fatigued (Hunter Pet)
390435 -- Exhaustion

Adding Custom Audio

LustAudio uses a custom SharedMedia type called lustaudio so the sound picker only shows sounds meant for lust, rather than every sound registered with SharedMedia.

You can add your own audio files by creating a small addon called SharedMedia_MyMedia. More detailed instructions can be found within the SharedMedia addon.

Setup

  1. Follow the instructions within the SharedMedia addon to create your SharedMedia_MyMedia addon.

  2. Place your audio files (.mp3 or .ogg) anywhere inside the SharedMedia_MyMedia/lustaudio subfolder:

   SharedMedia_MyMedia\lustaudio\MySound.mp3
  1. Add a register line to MyMedia.lua for each audio file. You must register to the lustaudio type (not sound):
   LSM:Register("lustaudio", "My Sound Name",
       [[Interface\AddOns\SharedMedia_MyMedia\lustaudio\MySound.mp3]])
  1. Restart the game (or reload the UI with /reload). Your new sounds will appear in the LustAudio sound picker.

MyMedia.lua Examples

LSM:Register("lustaudio", "Air Horn",
    [[Interface\AddOns\SharedMedia_MyMedia\lustaudio\AirHorn.mp3]])

LSM:Register("lustaudio", "Hype Music",
    [[Interface\AddOns\SharedMedia_MyMedia\lustaudio\HypeMusic.ogg]])

Notes

  • The first argument must be "lustaudio", not "sound". The sound type contains hundreds of entries and is not used by this addon.
  • The second argument is the display name shown in the picker.
  • The path uses backslashes and must be wrapped in [[ ]].
  • Supported formats are .mp3 and .ogg.