Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(8 Kb)
Download
Updated: 05-17-13 12:07 PM
Pictures
File Info
Updated:05-17-13 12:07 PM
Created:05-17-13 08:29 AM
Downloads:600
Favorites:11
MD5:

rActiveSpellAlert

Version: 50200.02
by: zork [More]


Intro

rActiveSpellAlert is a simple wrapper that helps adding unit buffs and debuffs to the Blizzard SpellActivationOverlayFrame.

Currently runs in local scope.
Ingame Slash Command
/rasa
/rasa lock
/rasa unlock
/rasa reset
Spell Config Attributes
Lua Code:
  1. spellConfig = {
  2.       spellid = 12880,    --spell id
  3.       unit    = "player", --unit that spell should be tracked on
  4.       caster  = nil,      --the unit that casted the spell
  5.       useSpellIconAsTexture = false, --will override the texture setting and use the spell icon texture instead
  6.       texture = "TEXTURES\\SPELLACTIVATIONOVERLAYS\\molten_core", --the texture that you want to display
  7.       anchor  = "TOP",    --texture anchor point
  8.       scale   = 1,        --texture scale
  9.       color   = { r=1, g=1, b=1, }, --texture vertex color
  10.       vFLip   = false,    --texture vertical flip
  11.       hFlip   = false,    --texture horizontal flip
  12.     }

AddBuff
Lua Code:
  1. rASA:AddBuff(spellConfig)
AddDebuff
Lua Code:
  1. rASA:AddDebuff(spellConfig)
SVN
http://code.google.com/p/rothui/sour...tiveSpellAlert

50200.02
- Making the drycode work
- Added debugging functionality
- Added move/resize functionality
- Added rLib dependency

50200.01a
- fixing some typos :)

50200.01
- initial release
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
50200.01a
3kB
zork
05-17-13 08:46 AM


Post A Reply Comment Options
Unread 05-19-13, 08:56 PM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
That addon is actually still around apparently

Also what's the chance of cooldown support?
Last edited by 10leej : 05-21-13 at 12:14 PM.
10leej is offline Report comment to moderator  
Reply With Quote
Unread 05-19-13, 08:55 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
There used to be an addon that added timers to the spell activation overlay frame: "Spell Overlay Timer", iirc. Can't remember right now how it did it or if it's still around. Was very helpful nonetheless.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Dawn is offline Report comment to moderator  
Reply With Quote
Unread 05-19-13, 08:19 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
I don't think this would fit the intention of this mod. But on the other hand it shouldn't be that hard to copy-cat the whole AnimationGroup code from the overlay template. Thus it would be possible to create independent texture animations anywhere you want them in any size.

https://github.com/tekkub/wow-ui-sou...ionOverlay.xml
https://github.com/tekkub/wow-ui-sou...ionOverlay.lua

A text cooldown display is another story. It requires a form of OnUpdate script. But the Blizzard animationgroup system is exactly this on the C-side. So it may be possible to set up an OnLoop script that fires on the pulse effect to handle those timer updates.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 05-19-13 at 08:20 AM.
zork is online now Report comment to moderator  
Reply With Quote
Unread 05-19-13, 07:54 AM  
Dawn
A Molten Giant
 
Dawn's Avatar
AddOn Author - Click to view AddOns

Forum posts: 907
File comments: 949
Uploads: 24
I used to track Predator's Swiftness on my druid way with something like this, but never got around expanding the code to allow for tracking various buffs/debuffs/procs. Good job.

Btw, I think it would be really really nice to have an option to also show the duration and/or display the info as duration (text, with different colors) only.
__________________
Rock: "We're sub-standard DPS. Nerf Paper, Scissors are fine."
Paper: "OMG, WTF, Scissors!"
Scissors: "Rock is OP and Paper are QQers. We need PvP buffs."

"neeh the game wont be remembered as the game who made blizz the most money, it will be remembered as the game who had the most QQ'ers that just couldnt quit the game for some reason..."

Dawn is offline Report comment to moderator  
Reply With Quote
Unread 05-17-13, 06:08 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1599
File comments: 2310
Uploads: 50
So, a rival to nibSPAC appears. /pets evil cat
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 05-17-13, 05:51 PM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
Originally Posted by zork
Why? You can use any texture.
That's a good point, I suppose I need to pay more attention before I make a post....
10leej is offline Report comment to moderator  
Reply With Quote
Unread 05-17-13, 05:38 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
Why? You can use any texture.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Unread 05-17-13, 04:25 PM  
10leej
A Firelord
 
10leej's Avatar
AddOn Author - Click to view AddOns

Forum posts: 487
File comments: 355
Uploads: 20
I wasn't aware we could add to the SpellActivationOverlay definately gonna play around with this.

Probably wouldn't be a bad idea to give a link to the Blizzard images rather than a filepath in the text file for the people that need a better idea as to what their looking at.
Last edited by 10leej : 05-17-13 at 04:36 PM.
10leej is offline Report comment to moderator  
Reply With Quote
Unread 05-17-13, 12:10 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
Ok. Addon is working now. Fixed the drycode.

Added slash commands for moving/resizing of the spell alert frame.
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: