Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(2 MB)
Download
Updated: 05-27-11 07:42 AM
Pictures
File Info
Updated:05-27-11 07:42 AM
Created:02-24-11 10:12 PM
Downloads:3,421
Favorites:8
MD5:

SexySound(vocal alert of spell cooldown finishing)

Version: 1.0
by: ChrisHopeless [More]

What's new?

  • Works with 4.1 and add sound effect for Word of Glory.(I want that spell to be changed back.......)
    Three spell have their cooldown animation now. They are Avenging wrath, Zealotry and Divine Shield. You can see those animation in screen shot area


Call for human sound.
For TTS voice sounds ugly. I'm calling for volunteers who devote himself / herself to dub these spells. Moreover, I express specially thanks to guys who offer me language packages beside Chinese and English. You could send me package to chris820313@yahoo.com.cn. I'm looking forward to hear from you
======================================================
Hello everyone. From long time ago have I had an idea to write such thing which could remind you something important, like a cooldown finish, by speaking words out. Now, TTS, text to speech, makes my idea into reality.
This addon performs a spell name speaking when spell you tracking is available. Like, if CD of 'hand of freedom' has ended, it will say 'Hand of freedom' in voice.
Configuration area in SoundConfiguration.lua
Code:
local Region = GetLocale()
local MediaPath = [[Interface\AddOns\SexySound\Sound\]]
if Region == "zhTW" or Region == "zhCN" then
    MediaPath = MediaPath..[[Chinese\]]
else 
    MediaPath = MediaPath..[[English\]]
end
SpellMap = {
    [1] = {
        ["SpellID"] = 31884,  -- 復仇之怒
        ["AlertSound"] = MediaPath.."Avenging Wrath.mp3",
        ["Enable"] = true,
        ["Animation"] = { -- spell animation table
            ["Path"] = "SPELLS\\Frostmourne_shatters.m2", --animation model
            ["Seq"] = 0, --animation sequence of model
            ["Time"] = .9, --total animation time
            ["Position"] = {0,1,-40}, --animation coordinate
            ["Camera"] = 0, --animation camera
            ["Scale"] = .25, --animation scale
            ["Facing"] = 0 --animation facing 
        }
    },
    [2] = {
        ["SpellID"] = 85696,  -- 狂熱精神
        ["AlertSound"] = MediaPath.."Zealotry.mp3",
        ["Enable"] = true,
        ["Animation"] = {
            ["Path"] = "SPELLS\\Intervenetrail.m2",
            ["Seq"] = 0,
            ["Time"] = 2.5,
            ["Position"] = {0.55,-0.4,20},
            ["Camera"] = 0,
            ["Scale"] = 3,
            ["Facing"] = math.pi *3 / 2
        }
    },
    [3] = {
        ["SpellID"] = 35395,  -- 十字軍打擊
        ["AlertSound"] = MediaPath.."Crusader Strike.mp3",
        ["Enable"] = false,
    },
    [4] = {
        ["SpellID"] = 853,  -- 制裁
        ["AlertSound"] = MediaPath.."Hammer of Justice.mp3",
        ["Enable"] = true,
    },
    [5] = {
        ["SpellID"] = 633,  -- 聖療
        ["AlertSound"] = MediaPath.."Lay on Hands.mp3",
        ["Enable"] = true,
    },
    [6] = {
        ["SpellID"] = 1022,  -- 保護
        ["AlertSound"] = MediaPath.."Hand of Protection.mp3",
        ["Enable"] = true,
    },
    [7] = {
        ["SpellID"] = 498,  -- 聖佑
        ["AlertSound"] = MediaPath.."Divine Protection.mp3",
        ["Enable"] = true,
    },
    [8] = {
        ["SpellID"] = 642,  -- 無敵
        ["AlertSound"] = MediaPath.."Divine Shield.mp3",
        ["Enable"] = true,
        ["Animation"] = {
            ["Path"] = "SPELLS\\Wrongfully_accused_impact.m2",
            ["Seq"] = 0,
            ["Time"] = 2.5,
            ["Position"] = {0.55,-.2,-100},
            ["Camera"] = 1,
            ["Scale"] = 0.25,
            ["Facing"] = 0
        }
    },
    [9] = {
        ["SpellID"] = 24275,  -- 飛錘斬殺
        ["AlertSound"] = MediaPath.."Hammer of Wrath.mp3",
        ["Enable"] = true,
    },
    [10] = {
        ["SpellID"] = 96231,  -- 責難
        ["AlertSound"] = MediaPath.."Rebuke.mp3",
        ["Enable"] = true,
    },
    [11] = {
        ["SpellID"] = 1044,  -- 自由
        ["AlertSound"] = MediaPath.."Hand of Freedom.mp3",
        ["Enable"] = true,
    },
    [12] = {
        ["SpellID"] = 86150,  -- 小金人 / 遠古守衛者
        ["AlertSound"] = MediaPath.."Guardian of Ancient Kings.mp3",
        ["Enable"] = true,
    },
    [13] = {
        ["SpellID"] = 6940,  -- 犧牲
        ["AlertSound"] = MediaPath.."Hand of Sacrifice.mp3",
        ["Enable"] = true,
    },
    [14] = {
        ["SpellID"] = 20066,  -- 懺悔
        ["AlertSound"] = MediaPath.."Repentance.mp3",
        ["Enable"] = true,
    },
    [15] = {
        ["SpellID"] = 20271,  -- 審判
        ["AlertSound"] = MediaPath.."Judgement.mp3",
        ["Enable"] = false,
    },
    [16] = {
        ["SpellID"] = 28730,  -- 奧洪
        ["AlertSound"] = MediaPath.."Arcane Torrent.mp3",
        ["Enable"] = true,
    },
}
To add your spell into addon, simply add [num] = {
["SpellID"] = your id
["AlertSound"] = MediaPath.."your sound.mp3",
["Enable"] = true,
}, into SpellMap table


Language package support:
Chinese
English


localization tip:
1. if Region == "your region" then
MediaPath = MediaPath..[[Your language package location\]]
2. Download a TTS package, like franch.
3. Download a text to mp3 sofware.
4. Make your own sound for spell
5. Download Mp3Gain to change volume of your sound file.
6. put those files into your own language package.


=======================
To animation:
Animation is complex thing. It needs many effort to build one making you feel well. Here are some tips:
1. animation table is like:
["Animation"] = {
["Path"] = "SPELLS\\Frostmourne_shatters.m2",
["Seq"] = 0,
["Time"] = .9,
["Position"] = {0,1,-40},
["Camera"] = 0,
["Scale"] = .25,
["Facing"] = 0
}
if you don't want it, remove the entire animation table. if you want to add animation to some spell, you add it freely. REMEMBER: if you add an animation table, all elements are required. They are Path Seq Time Position Camera Scale and Facing.

2. for Seq. some model have several animation. you can indicate the seq num of it.

3. for Position. Position has 3 parameters which are X Y Z. X = 0 and Y = 0 at the BOTTOMLEFT corner of your model frame, which in this Addon BOTTOMLEFT corner is same as screen. X increases when moving right, Y increases when moving up. Z increases when moving model close, otherwise, decreases when moving far.

4. for Camera. Three of cameras are available, 0,1,2 for detail, visit WoWWili SetCamera API. In most time, you make it to 0.

5. facing. you can rotate model by changing facing parameter. Like 90 degree by setting facing = math.pi / 2

6. ANIMATION REQUIRES INCREDIBLE PATIENT TO MAKE IT LOOKS COOL. SO IF YOU WANT MAKE ONE. FIRST ASK YOURSELF WHETHER YOU COULD ENDURE 3 - 4 HOURS TO EDIT THOSE PARAMETERS.

7. Crusader strike is a good spell to test animation. Any newly added animation could use this spell as testing, or you will wait long time for spell cool down,

8. when Change parameters, REMEMBER TO /Reload

Optional Files (1)
File Name
Version
Size
Author
Date
Type
v1.2
919kB
07-29-11 11:52 AM
Addon


Archived Files (2)
File Name
Version
Size
Author
Date
1.0 beta with a
2MB
ChrisHopeless
02-25-11 09:55 PM
1.0 beta
2MB
ChrisHopeless
02-24-11 10:12 PM


Post A Reply Comment Options
Unread 10-02-11, 07:51 AM  
samvx
A Defias Bandit
 
samvx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 75
Uploads: 5
Question addon voice

Hey guys .... it is not a good place to ask but I've searched a lot and find nothing. Anyone know an addon that announces when a skill ready, but with woman's voice. not only paladin, but any kind ... thanks
Last edited by samvx : 10-02-11 at 07:51 AM.
samvx is offline Report comment to moderator  
Reply With Quote
Unread 08-03-11, 11:39 AM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Re: New Voice Overs!

Originally posted by Grim077
New Voice Overs Here: http://www.wowinterface.com/download...oiceOvers.html
WELL DONE!!!!!
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
ChrisHopeless is offline Report comment to moderator  
Reply With Quote
Unread 07-29-11, 01:21 AM  
Grim077
A Deviate Faerie Dragon
 
Grim077's Avatar
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 15
Uploads: 1
Talking New Voice Overs!

__________________
I see you, But you can't see me!
Grim077 is offline Report comment to moderator  
Reply With Quote
Unread 06-25-11, 06:22 PM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Originally posted by Maeve89
dont work at french realm
Do all spell alerts not work, or just some special one?
I use this addon at Taiwan realm and it works fine.

All spell alerts are based on ID. They should work theoretically at any realm.
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
Last edited by ChrisHopeless : 06-25-11 at 06:25 PM.
ChrisHopeless is offline Report comment to moderator  
Reply With Quote
Unread 06-24-11, 06:24 AM  
Maeve89
A Murloc Raider

Forum posts: 6
File comments: 11
Uploads: 0
dont work at french realm
Maeve89 is offline Report comment to moderator  
Reply With Quote
Unread 04-17-11, 10:44 PM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Re: For priests?

Hello Judderman,
I check the spell id and come out with the same point: the ID is correct.
For why it doesn't play your sound, make sure you put your sound at correct path, which might be "Interface\AddOns\SexySound\Sound\English\" for your language region.

if could, send me a screenshot of you sound file path. I may help you then.

or

make sure you have downloaded the newest version of this addon.

Originally posted by Judderman
Hi there,

I came along to this thread after searching high and low for an addon that would play a custom sound when a spell was on cooldown. From my point of view all i relly need it for is to allert me with a sound when prayer of mending is on cooldown.

so taking you mod i edited the SoundConfiguration.lua to read:

local Region = GetLocale()
local MediaPath = [[Interface\AddOns\SexySound\Sound\]]
if Region == "zhTW" or Region == "zhCN" then
MediaPath = MediaPath..[[Chinese\]]
else
MediaPath = MediaPath..[[English\]]
end
SpellMap = {
[1] = {
["SpellID"] = 33076, -- PoM
["AlertSound"] = MediaPath.."Avenging Wrath.mp3",
["Enable"] = true,
}

i checked wowhead for the spell id and believe it to be correct, however in game this does not produce any sound when my PoM is on cooldown, I aimed to change the sound file later on once i had it working - when i put it in my addond dir, it does show up in-game (on the addons page)

any ideas? i know its a paladin mod - and as you can probably guess i'm not a coder in any way.

any help would be much apreciated.
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
ChrisHopeless is offline Report comment to moderator  
Reply With Quote
Unread 04-09-11, 07:16 AM  
Judderman
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
For priests?

Hi there,

I came along to this thread after searching high and low for an addon that would play a custom sound when a spell was on cooldown. From my point of view all i relly need it for is to allert me with a sound when prayer of mending is on cooldown.

so taking you mod i edited the SoundConfiguration.lua to read:

local Region = GetLocale()
local MediaPath = [[Interface\AddOns\SexySound\Sound\]]
if Region == "zhTW" or Region == "zhCN" then
MediaPath = MediaPath..[[Chinese\]]
else
MediaPath = MediaPath..[[English\]]
end
SpellMap = {
[1] = {
["SpellID"] = 33076, -- PoM
["AlertSound"] = MediaPath.."Avenging Wrath.mp3",
["Enable"] = true,
}

i checked wowhead for the spell id and believe it to be correct, however in game this does not produce any sound when my PoM is on cooldown, I aimed to change the sound file later on once i had it working - when i put it in my addond dir, it does show up in-game (on the addons page)

any ideas? i know its a paladin mod - and as you can probably guess i'm not a coder in any way.

any help would be much apreciated.
Judderman is offline Report comment to moderator  
Reply With Quote
Unread 02-26-11, 06:36 AM  
Angrysteel
A Murloc Raider

Forum posts: 6
File comments: 206
Uploads: 0
Ya, there is currently no way to adjust the volume for individual sounds. Its an all or nothing type of thing with WoW addons.

There are many programs you can use like ChrisHopeless was explaining. I personally use Audacity when i need to change the volume of addon files.
Angrysteel is offline Report comment to moderator  
Reply With Quote
Unread 02-25-11, 09:17 PM  
ChrisHopeless
A Kobold Labourer
 
ChrisHopeless's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 52
Uploads: 7
Re: excellent!

If you want to volume up the voice, you may download a software named MP3Gain. This software can volume up MP3 files by increasing the DB value, whereas damaging the quality of them. However, it does volume up..as you wish.

I feel sorry for that I have not known any way to only volume up addon voice. This addon use WoW API PlaySoundFile. In that API, no parameter shows me the volume option.

Therefore, volume up the voice file is best choice, if you don't want to hear aloud WoW sound.


Originally posted by Vaniboo
Hi, this is so awesome, i was just missin so much tts, and you give us this
i really love you <3

Now, i have just 1 question, how can i turn the volume up for the addon voice?
(pls dont tell me i ve to set the volume up for all the sounds on the game, cuz i use headphones)

tyvm!
__________________
When history witnesses a great change, Razgriz reveals itself. First, as a dark demon. As a demon, it uses its power to rain death upon the land, and then it dies. However,When demon sleeps, man turns on man. Soon their own blood and madness cover the earth. Despair awakens the demon from abyss. Behold Razgriz! Its wings are now ablaze in majestic light!
ChrisHopeless is offline Report comment to moderator  
Reply With Quote
Unread 02-25-11, 08:48 PM  
Vaniboo
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
excellent!

Hi, this is so awesome, i was just missin so much tts, and you give us this
i really love you <3

Now, i have just 1 question, how can i turn the volume up for the addon voice?
(pls dont tell me i ve to set the volume up for all the sounds on the game, cuz i use headphones)

tyvm!
Vaniboo is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: