Thread Tools Display Modes
02-09-17, 02:24 PM   #1
feraldrood
A Theradrim Guardian
 
feraldrood's Avatar
Join Date: Dec 2008
Posts: 62
Actionbar Spell proc overlay

I want to find a way to change the scale and texture of the spellactivationoverlay (shiny gold box) around my icons on actionbars. Any help getting pointed in the right direction would be appreciated.

I am using a masque skin which makes my icons smaller than default, this is great- however the cooldown spark and glow around proc'ed abilities is still set to default scale which looks horrendous

not sure where to change these things, halp!

thanks
  Reply With Quote
02-09-17, 04:27 PM   #2
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
That would be the Masque skin's job (I think). Check the documentation for Masque over on wowace. Then check the skin that you use to see if it has support for that.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
05-12-17, 07:58 PM   #3
StormFX
A Flamescale Wyrmkin
 
StormFX's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 109
Hah! You're still around, Jeffy? *points at outdated skins*

@Feraldrood: Skins should have the capability of setting the dimensions of the "spell alert". At least I think I added that in. Damn it, now I need to check. :/ Too focused on getting the icon mask feature implemented.
  Reply With Quote
05-13-17, 02:06 PM   #4
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Yeah, Storm, still around.. I haven't updated my skins because my computer got well and truly fried in late August of last year (2016) and I just don't really know when I'll have the rezources to replace it.

Posted with an old Acer Iconia A100 tablet (and I mean old - it was manufactured sometime in 2012 and it's stuck on Android 4.0.3!)
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!
  Reply With Quote
05-14-17, 09:18 PM   #5
StormFX
A Flamescale Wyrmkin
 
StormFX's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 109
Originally Posted by jeffy162 View Post
Yeah, Storm, still around.. I haven't updated my skins because my computer got well and truly fried in late August of last year (2016) and I just don't really know when I'll have the rezources to replace it.

Posted with an old Acer Iconia A100 tablet (and I mean old - it was manufactured sometime in 2012 and it's stuck on Android 4.0.3!)
Good to see ya. If WoWI had a "let this author help", I'd be more than happy to update them for ya. Not sure it has that, though. Most probably just need a ToC bump.
  Reply With Quote
05-15-17, 08:17 AM   #6
Aftermathhqt
A Molten Giant
 
Aftermathhqt's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 784
This should work

Lua Code:
  1. local function StartButtonHighlight(self)
  2.     if (self.overlay) then
  3.         self.overlay:Hide()
  4.         ActionButton_HideOverlayGlow(self)     
  5.     end
  6.  
  7.     if not (self.Animation) then
  8.         local NewProc = CreateFrame("Frame", nil, self)
  9.         NewProc:SetAllPoints(self)
  10.         NewProc:SetFrameLevel(self:GetFrameLevel() + 5)
  11.         NewProc:SetBackdrop({
  12.             bgFile = "Interface\\Buttons\\WHITE8x8",
  13.             insets = {top = A.Scale(1), left = A.Scale(1), bottom = A.Scale(1), right = A.Scale(1)},
  14.         })
  15.         NewProc:SetBackdropColor(CustomClassColor[1], CustomClassColor[2], CustomClassColor[3], 0.8)
  16.    
  17.         self.NewProc = NewProc
  18.  
  19.         local Animation = self.NewProc:CreateAnimationGroup()
  20.         Animation:SetLooping("BOUNCE")
  21.  
  22.         local FadeOut = Animation:CreateAnimation("Alpha")
  23.         FadeOut:SetFromAlpha(0.8)
  24.         FadeOut:SetToAlpha(0)
  25.         FadeOut:SetDuration(0.40)
  26.         FadeOut:SetSmoothing("IN_OUT")
  27.  
  28.         self.Animation = Animation
  29.     end
  30.  
  31.     if not (self.Animation:IsPlaying()) then
  32.         self.Animation:Play()
  33.         self.NewProc:Show()
  34.     end
  35. end
  36.  
  37. local function StopButtonHighlight(self)
  38.     if (self.Animation and self.Animation:IsPlaying()) then
  39.         self.Animation:Stop()
  40.         self.NewProc:Hide()
  41.     end
  42. end
  43.  
  44. hooksecurefunc("ActionButton_ShowOverlayGlow", StartButtonHighlight)
  45. hooksecurefunc("ActionButton_HideOverlayGlow", StopButtonHighlight)
  Reply With Quote
05-15-17, 09:08 AM   #7
jeffy162
A Pyroguard Emberseer
 
jeffy162's Avatar
AddOn Author - Click to view addons
Join Date: May 2009
Posts: 2,364
Originally Posted by StormFX View Post
Good to see ya. If WoWI had a "let this author help", I'd be more than happy to update them for ya. Not sure it has that, though. Most probably just need a ToC bump.
Thank you Storm, but, unfortunately my ClassButtons skins (in both Masque and Minimap Button Frame) are going to need some graphical updates as well, so, thanks but no thanks. My son was supposed to update some of my skins but I haven't heard from him in a while. Guess RL has him "trapped". LOL.

My tablet finally gave up the ghost so I'm posting this with an old LG VS876 cell phone.
__________________
Ahhhh, the vagueries of the aging mind. Wait.... What was I saying?


Carbonite <----- GitHub main module (Maps ONLY) download link. The other modules are also available on GitHub.
Carbonite-CLASSIC<----- GitHub link to Carbonite Classic. Thanks to ircdirk for this!

Last edited by jeffy162 : 05-15-17 at 09:27 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Actionbar Spell proc overlay

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off