Download
(4Kb)
Download
Updated: 03-04-18 06:32 AM
Addon for:
OPie.
Pictures
File Info
Updated:03-04-18 06:32 AM
Created:04-02-13 11:52 PM
Downloads:7,049
Favorites:30
MD5:

OPie Masque  Popular! (More than 5000 hits)

Version: 7.3.5.0
by: Phanx [More]

I am no longer developing or maintaining World of Warcraft addons. I haven't played in years, and don't have the time or interest to continue working on addons for a game I don't play anymore. If you are an addon author interested in continuing one of my addons, please see https://phanx.net/addons/. If you are an addon user, sorry, but there won't be any more fixes or updates from me.
Adds Masque skinning support to OPie.
OPie dropped built-in Masque support in version Lime 1. This plugin restores it. Obviously, you must have both Masque and OPie installed. There are no options*. Just install it, and you will once again be able to use Masque to skin OPie.

Also, you will be able to modify the numeric cooldown text using OmniCC (and if you don't have OmniCC or something like it installed, you won't see numeric cooldown text at all).

Only tested with my personal (unreleased) Masque skin. If something looks wrong with the skin you're using, please post a comment with a link to the skin, and a screenshot showing the skin on both your action bar and OPie. My goal is that OPie buttons should look as much like normal action buttons as possible.

* There is now one option, for controlling the visiblity of OPie's color highlighting, because some Masque skins have really ugly "highlight" textures. If you don't like how the color highlight looks, open Addon.lua and Notepad and change the value of the SPECIAL_COLOR_ALPHA variable at the top. A value of 0 will completely hide the coloring, 1 will make it fully visible, and anything in between will make it partly transparent.

Version 7.3.5.0
  • Updated for WoW 7.3

Version 7.1.0.0
  • Updated for WoW 7.1

Version 7.0.3.0
  • Updated for WoW 7.0

Version 6.1.0.10
  • Updated for WoW 6.1

Version 6.0.3.9
  • Fixed cooldown spinner appearance when not using OmniCC or a similar addon.

Version 6.0.2.20
  • Updated for WoW 6.0

Version 5.4.8.17
  • Updated for changes in OPie versions up to Plum 5.

Version 5.4.7.12
  • Updated for changes in Masque version Nougat 1. Not backwards compatible with older Masque versions.

Version 5.4.2.11
  • Added an option (Lua config only) for controlling the opacity of OPie's color highlighting, due to some Masque skins having ugly highlight textures and looking terrible.

Version 5.3.0.8
  • Updated for changes in OPie Lime 6

Version 5.3.0.7
  • Updated for WoW 5.3
  • Now prevents OPie from blacking out slices while on cooldown
  • Fixed an error with using Broker plugins as OPie slices

Version 5.2.0.4
  • Fixed a graphical issue with cooldowns

Version 5.2.0.3
  • First public release
Post A Reply Comment Options
Unread 01-24-15, 01:48 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 6.0.3.9
  • Fixed cooldown spinner appearance when not using OmniCC or a similar addon.
  • Reset version numbering to count releases instead of SVN revisions.

The "black flash" appears to be some issue with the cooldown widget type and scale changes. Presumably there's some way to work around it, since it doesn't occur with OmniCC, but fixing it isn't a high priority at this time since it's such a minor issue.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 01-19-15, 03:15 PM  
silkfire
A Fallenroot Satyr

Forum posts: 20
File comments: 21
Uploads: 0
I've managed to fix it so that the cooldown looks quite okay. The only problem is that the entire icon is overlayed with a dark square for a split second (looks like a blink) when you hover upon an icon with your mouse. I think it has to do with that for 0.4 sec, the time it takes for the icon to grow from a small icon to a large icon, the cooldown swipe has to be updated as well. This is taken care of in OPie but not in OPie Masque.

Also during the animation right when you open the ring, all icons are overlayed black. When they arrive at their position 0.5 sec later this is when the cooldown swipe is seen.



My altered code:

Code:
function prototype:SetUsable(usable, usableCharge, cd, nomana, norange)
	local state = usable and STATE_USABLE or (norange and STATE_NORANGE or (nomana and STATE_NOMANA or STATE_UNUSABLE))
	if state == self.ustate then return end
	self.ustate = state
	if state == STATE_NORANGE then
		self.icon:SetVertexColor(0.8, 0.1, 0.1)
	elseif state == STATE_NOMANA then
		self.icon:SetVertexColor(0.5, 0.5, 1)
	elseif state == STATE_UNUSABLE and cd ~= true then
		self.icon:SetVertexColor(0.4, 0.4, 0.4)
	else
		self.icon:SetVertexColor(self.iconr or 1, self.icong or 1, self.iconb or 1)
	end
end

function prototype:SetCooldown(remain, duration, usable)
	if duration and remain and duration > 0 and remain > 0 then

		local start = GetTime() + remain - duration
		self.cooldown:SetSwipeColor(0, 0, 0, 0.8)
		self.cooldown:SetDrawEdge(false);
		self.cooldown:SetCooldown(start, duration)
		self.cooldown:Show()
	else
		self.cooldown:Hide()
	end
end
I inverted the cooldown overlay because this is how it is rendered for example on action bar buttons. For this, you need to have an extra check in the SetUsable function.
Report comment to moderator  
Reply With Quote
Unread 01-19-15, 09:43 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
I noticed the same thing the other day when I had OmniCC turned off for some unrelated debugging, but I'll have to do some more investigation to figure out what the problem is.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 01-18-15, 10:02 AM  
silkfire
A Fallenroot Satyr

Forum posts: 20
File comments: 21
Uploads: 0
Phanx, is there some way to remove the white cooldown overlay that seems to have been introduced in one of the recent OPie versions (i.e. combination of OPie + OPie Masque creates this, without OPie Masque you don't see the overlay)?

I've tried modifying the SetCooldown function but never succeeded in achieving anything meaningful...

Last edited by silkfire : 01-18-15 at 10:03 AM.
Report comment to moderator  
Reply With Quote
Unread 10-16-14, 04:51 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 6.0.2.20
  • Updated for WoW 6.0
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 09-01-14, 10:35 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.4.8.17
  • Updated for changes in OPie version series Orange and Plum.

Would be really nice if every OPie update didn't break backwards compatibility with the addition of totally non-critical methods that I'm just going to point at "do nothing" functions anyway. I guess that's what I get for writing the only OPie constructor plugin in existence.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 08-31-14, 09:03 PM  
kittykatmax
A Fallenroot Satyr
 
kittykatmax's Avatar

Forum posts: 21
File comments: 227
Uploads: 0
43x OPieMasque-5.4.7.12\Addon.lua:208: Expected function for indicator key

FYI:

Code:
43x OPieMasque-5.4.7.12\Addon.lua:208: Expected function for indicator key "SetEquipState", got nil.
<in C code>
OPie-Plum 4\OPieUI.lua:364: in function "SetIndicatorConstructor"
OPieMasque-5.4.7.12\Addon.lua:208: in main chunk

Locals:
self = <table> {
 GetTexColor = <function> defined @Interface\AddOns\OPie\OPieUI.lua:355
 SetDisplayOptions = <function> defined @Interface\AddOns\OPie\OPieUI.lua:348
 SetIndicatorConstructor = <function> defined @Interface\AddOns\OPie\OPieUI.lua:358
 SetQuestHint = <function> defined @Interface\AddOns\OPie\OPieUI.lua:352
}
func = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:149
s = OPieSliceButton1 {
 FlyoutBorderShadow = OPieSliceButton1FlyoutBorderShadow {
 }
 __MSQ_Cooldown = OPieSliceButton1Cooldown {
 }
 __MSQ_Background = false
 icon = OPieSliceButton1Icon {
 }
 __MSQ_BaseFrame = <unnamed> {
 }
 SetOuterGlow = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:133
 SetBinding = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:101
 SetActive = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:129
 count = OPieSliceButton1Count {
 }
 SetIconTexCoord = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:31
 glowTextures = <table> {
 }
 __MSQ_NormalSkin = <table> {
 }
 __MSQ_Shape = "Square"
 SetIconVertexColor = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:36
 border = OPieSliceButton1Border {
 }
 flash = OPieSliceButton1Flash {
 }
 SetIcon = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:27
 SetOverlayIcon = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:68
 __MSQ_NormalTexture = <unnamed> {
 }
 SetCount = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:84
 SetUsable = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:44
 SetHighlighted = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:125
 normalTexture = OPieSliceButton1NormalTexture {
 }
 0 = <userdata>
 SetCooldownFormattedText = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:121
 SetDominantColor = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:59
 hotkey = OPieSliceButton1HotKey {
 }
 FlyoutBorder = OPieSliceButton1FlyoutBorder {
 }
 SetFrameLevel = <function> defined =[C]:-1
 SetCooldown = <function> defined @Interface\AddOns\OPieMasque\Addon.lua:111
 FlyoutArrow = OPieSliceButton1FlyoutArrow {
 }
 cooldown = OPieSliceButton1Cooldown {
 }
 SetNormalTexture = <function> defined =[C]:-1
}
(for generator) = <function> defined =[C]:-1
(for state) = <table> {
 SetShown = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:56
 SetIconVertexColor = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:75
 GetScale = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:56
 SetDominantColor = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:94
 SetIcon = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:61
 SetOverlayIcon = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:110
 SetPoint = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:56
 SetScale = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:56
 SetOuterGlow = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:161
 SetBinding = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:125
 SetEquipState = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:164
 SetActive = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:158
 SetParent = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:56
 SetCooldownTextShown = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:152
 SetIconTexCoord = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:66
 SetHighlighted = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:155
 SetCooldown = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:128
 SetCount = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:122
 SetUsable = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:78
}
(for control) = "SetEquipState"
k = "SetEquipState"
v = <function> defined @Interface\AddOns\OPie\Libs\Mirage.lua:164
tk = "nil"
te = "function"
mainFrame = <unnamed> {
 0 = <userdata>
}
T = <table> {
 Mirage = <table> {
 }
 ActionBook = <table> {
 }
 OPieUI = <table> {
 }
 Niji = <table> {
 }
 Evie = <table> {
 }
}
CreateIndicator = <function> def
Last edited by kittykatmax : 08-31-14 at 09:03 PM.
Report comment to moderator  
Reply With Quote
Unread 08-18-14, 06:08 PM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 18
File comments: 213
Uploads: 0
Originally Posted by Irongunner
The addon seems to break with OPie Orange 1 and Plum 1-3. Last compatible seems to be Nougat 3.
Yup. Foxlit, why you gotta keep breakin' this?
Last edited by tordenflesk : 08-18-14 at 06:08 PM.
Report comment to moderator  
Reply With Quote
Unread 08-18-14, 01:54 PM  
Irongunner
A Deviate Faerie Dragon

Forum posts: 11
File comments: 6
Uploads: 0
The addon seems to break with OPie Orange 1 and Plum 1-3. Last compatible seems to be Nougat 3.
Report comment to moderator  
Reply With Quote
Unread 04-05-14, 07:15 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.4.7.12
  • Updated for changes in Masque version Nougat 1. Not backwards compatible with older Masque versions.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 04-02-14, 08:19 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Thanks, I'll take a look. I see Foxlit is still not updating OPie here on WoWI, and I generally only run the Curse Client to check for non-WoWI updates every few weeks when I remember, or after major patches.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 04-02-14, 05:16 PM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 18
File comments: 213
Uploads: 0
Nougat 1 appears to break this. I've downgraded so i don't have the errors handy unfortunately.
Last edited by tordenflesk : 04-02-14 at 05:17 PM.
Report comment to moderator  
Reply With Quote
Unread 12-11-13, 02:16 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.4.2.11
  • Added an option (Lua config only) for controlling the opacity of OPie's color highlighting, due to some Masque skins have ugly highlight textures and looking terrible.
See the addon description for instructions.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 07-21-13, 01:21 AM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Version 5.3.0.8
  • Updated for changes in OPie Lime 6

Thanks for the report.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 07-20-13, 08:00 PM  
tordenflesk
A Deviate Faerie Dragon

Forum posts: 18
File comments: 213
Uploads: 0
Error when used with Opie Lime 6
Code:
2x OPieMasque-5.3.0.7\Addon.lua:166: Expected function for indicator key "SetUsable", got nil.
<in C code>
OPie-Lime 6\OneRingIndication.lua:683: in function "SetIndicatorConstructor"
OPieMasque-5.3.0.7\Addon.lua:166: in main chunk

Locals:
self = <table> {
 Show = <func> @OPie\OneRingIndication.lua:624
 SetIndicatorConstructor = <func> @OPie\OneRingIndication.lua:677
 SetQuestHint = <func> @OPie\OneRingIndication.lua:671
 SetDisplayOptions = <func> @OPie\OneRingIndication.lua:667
 GetTexColor = <func> @OPie\OneRingIndication.lua:674
 Hide = <func> @OPie\OneRingIndication.lua:659
}
func = <func> @OPieMasque\Addon.lua:107
s = OPieSliceButton1 {
 FlyoutBorderShadow = OPieSliceButton1FlyoutBorderShadow {}
 __MSQ_Cooldown = OPieSliceButton1Cooldown {}
 __MSQ_Background = false
 icon = OPieSliceButton1Icon {}
 __MSQ_BaseFrame = <unnamed> {}
 SetOuterGlow = <func> @OPieMasque\Addon.lua:91
 SetActive = <func> @OPieMasque\Addon.lua:87
 count = OPieSliceButton1Count {}
 SetIconTexCoord = <func> @OPieMasque\Addon.lua:26
 glowTextures = <table> {}
 normalTexture = OPieSliceButton1NormalTexture {}
 __MSQ_Shape = "square"
 SetIconVertexColor = <func> @OPieMasque\Addon.lua:31
 border = OPieSliceButton1Border {}
 flash = OPieSliceButton1Flash {}
 SetIcon = <func> @OPieMasque\Addon.lua:22
 SetOverlayIcon = <func> @OPieMasque\Addon.lua:44
 __MSQ_NormalTexture = <unnamed> {}
 SetCount = <func> @OPieMasque\Addon.lua:60
 SetHighlighted = <func> @OPieMasque\Addon.lua:82
 0 = <userdata>
 SetBindingText = <func> @OPieMasque\Addon.lua:64
 __MSQ_NormalSkin = <table> {}
 SetDominantColor = <func> @OPieMasque\Addon.lua:36
 SetCooldownFormattedText = <func> @OPieMasque\Addon.lua:78
 hotkey = OPieSliceButton1HotKey {}
 __MSQ_NormalColor = <table> {}
 FlyoutBorder = OPieSliceButton1FlyoutBorder {}
 SetFrameLevel = <func> =[C]:-1
 SetCooldown = <func> @OPieMasque\Addon.lua:68
 FlyoutArrow = OPieSliceButton1FlyoutArrow {}
 cooldown = OPieSliceButton1Cooldown {}
 SetNormalTexture = <func> =[C]:-1
}
(for generator) = <func> =[C]:-1
(for state) = <table> {
 SetShown = <func> @OPie\OneRingIndication.lua:72
 SetIconVertexColor = <func> @OPie\OneRingIndication.lua:91
 GetScale = <func> @OPie\OneRingIndication.lua:72
 SetDominantColor = <func> @OPie\OneRingIndication.lua:111
 SetIcon = <func> @OPie\OneRingIndication.lua:77
 SetOverlayIcon = <func> @OPie\OneRingIndication.lua:127
 SetPoint = <func> @OPie\OneRingIndication.lua:72
 SetScale = <func> @OPie\OneRingIndication.lua:72
 SetBindingText = <func> @OPie\OneRingIndication.lua:142
 SetCooldownFormattedText = <func> @OPie\OneRingIndication.lua:163
 SetOuterGlow = <func> @OPie\OneRingIndication.lua:172
 SetParent = <func> @OPie\OneRingIndication.lua:72
 SetActive = <func> @OPie\OneRingIndication.lua:169
 SetIconTexCoord = <func> @OPie\OneRingIndication.lua:82
 SetHighlighted = <func> @OPie\OneRingIndication.lua:166
 SetCooldown = <func> @OPie\OneRingIndication.lua:145
 SetCount = <func> @OPie\OneRingIndication.lua:139
 SetUsable = <func> @OPie\OneRingIndication.lua:94
}
(for control) = "SetUsable"
k = "SetUsable"
v = <func> @OPie\OneRingIndication.lua:94
tk = "nil"
te = "function"
ORI_Frame = <unn
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: