Thread Tools Display Modes
03-03-11, 01:18 AM   #1
Porsha
A Black Drake
Join Date: Apr 2008
Posts: 88
Skada Class Colors

Anyone else having an issue with Skada not picking up class colors correctly? I have a folder in my UI called Colors. I have changed all the Raid_Class_Colors and have no problems with any other UI except for Skada.

Some thing I need to change in Skada to recognise the new class colors?

I found:
Skada.classcolors = RAID_CLASS_COLORS

But it does nothing. I also tried to change it to

Skada.classcolors = RAID_CLASS_COLORS[select(2, UnitClass('player'))]

But all that does is make the text white.

Thanks for any help
  Reply With Quote
03-03-11, 02:24 AM   #2
nin
A Cobalt Mageweaver
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 213
What are you using too modify your classcolors?

If you're using phanx classcolors for example i think you need too set skada too look for CUSTOM_CLASS_COLORS instead of RAID_CLASS_COLORS.

I have edited the RAID_CLASS_COLORS table myself and that works for me in skada.

-_-V
  Reply With Quote
03-03-11, 09:25 AM   #3
Toran
A Nerdscale Dorkin
 
Toran's Avatar
Premium Member
Join Date: May 2006
Posts: 143
Yes I'd advise trying "CUSTOM_CLASS_COLORS" wherever you see "RAID_CLASS_COLORS".
  Reply With Quote
03-03-11, 12:37 PM   #4
brotherhobbes
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 313
have you tried an addon like:
http://www.wowinterface.com/download...assColors.html
  Reply With Quote
03-03-11, 03:32 PM   #5
Porsha
A Black Drake
Join Date: Apr 2008
Posts: 88
I have a folder named Colors, inside it I have:

RAID_CLASS_COLORS = {
["HUNTER"] = { r = 0.07, g = 0.83, b = 0.13 },
["WARLOCK"] = { r = 0.48, g = 0.24, b = 0.94 },
["PRIEST"] = { r = 1, g = 1, b = 1 },
["PALADIN"] = { r = 0.86, g = 0.03, b = 0.56 },
["MAGE"] = { r = 0.02, g = 0.09, b = 0.98 },
["ROGUE"] = { r = 1, g = 0.80, b = 0.04 },
["DRUID"] = { r = 1, g = 0.27, b = 0.08 };
["SHAMAN"] = { r = 0.31, g = 0.87, b = 0.52 };
["WARRIOR"] = { r = 0.66, g = 0.37, b = 0.22 },
["DEATHKNIGHT"] = { r = 0.96, g = 0.10 , b = 0.08 },

So I need to c/p my colors and replace RAID_CLASS_COLORS with

CUSTOM_CLASS_COLORS = {
["HUNTER"] = { r = 0.07, g = 0.83, b = 0.13 },
["WARLOCK"] = { r = 0.48, g = 0.24, b = 0.94 },
["PRIEST"] = { r = 1, g = 1, b = 1 },
["PALADIN"] = { r = 0.86, g = 0.03, b = 0.56 },
["MAGE"] = { r = 0.02, g = 0.09, b = 0.98 },
["ROGUE"] = { r = 1, g = 0.80, b = 0.04 },
["DRUID"] = { r = 1, g = 0.27, b = 0.08 };
["SHAMAN"] = { r = 0.31, g = 0.87, b = 0.52 };
["WARRIOR"] = { r = 0.66, g = 0.37, b = 0.22 },
["DEATHKNIGHT"] = { r = 0.96, g = 0.10 , b = 0.08 },

inside my Colors folder or add this to Skada folder?

More serching I found this insde Skada.lua:

if type(CUSTOM_CLASS_COLORS) == "table" then
Skada.classcolors = CUSTOM_CLASS_COLORS
end
end

With all the calls to serch for class colors you would think I would be covered lol

Thank again for the help. I'll start with adding custom class colors to my color folder and go from there.
  Reply With Quote
03-03-11, 05:43 PM   #6
Porsha
A Black Drake
Join Date: Apr 2008
Posts: 88
Originally Posted by brotherhobbes View Post
Thank you, this fixed all my addons hassle free!
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Skada Class Colors


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