Thread Tools Display Modes
03-07-10, 04:34 PM   #1
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 384
Buffsorting blizzard default buffs. (Skinning consolidatedbuff button)

Question #1:
Is there a simple way to sort the default blizzard buttons by time descending?
[Buff 1: 49min] - [Buff 2: 43min] - [Buff 3: 19sec] - [Buff 4: 5sec]

Question #2:
I've skinned the default buff buttons, debuff buttons and weapon enchant buttons, however I cant figure out how to skin the consolidated buff button.
- Alternatively: What's the name of the consolidated buff texture from the mpq?
__________________

  Reply With Quote
03-07-10, 05:38 PM   #2
Gandoch
A Wyrmkin Dreamwalker
 
Gandoch's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 50
Originally Posted by sacrife View Post
Question #2:
I've skinned the default buff buttons, debuff buttons and weapon enchant buttons, however I cant figure out how to skin the consolidated buff button.
- Alternatively: What's the name of the consolidated buff texture from the mpq?
Interface\BUTTONS\BuffConsolidation.blp

Also, this might help...
Code:
--[[
ConsolidatedBuffs - The frame
ConsolidatedBuffsCount - The string
ConsolidatedBuffsIcon - The icon
]]

ConsolidatedBuffsIcon:SetTexture("Path\\ToYour\\Texture")
ConsolidatedBuffsIcon:SetTexCoord(0, 1, 0, 1) -- Depending on how you make the image
Since the original image has two icons in it, you need to either make an equally sized double-icon image to replace it, or set the texture coordinates.

Last edited by Gandoch : 03-07-10 at 05:41 PM.
  Reply With Quote
03-08-10, 02:50 AM   #3
sacrife
An Onyxian Warder
 
sacrife's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 384
Thanks for the information. I found the button by using the wowtools. And edited it to fit my needs. Looks awesome now

Now I just need a simple way to sort the buffs by timer and I'm set
__________________

  Reply With Quote
03-08-10, 03:13 AM   #4
Gandoch
A Wyrmkin Dreamwalker
 
Gandoch's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 50
Originally Posted by sacrife View Post
Thanks for the information. I found the button by using the wowtools. And edited it to fit my needs. Looks awesome now

Now I just need a simple way to sort the buffs by timer and I'm set
Let us (by which I mean me) know if you do.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Buffsorting blizzard default buffs. (Skinning consolidatedbuff button)


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