|
|
#1101 |
|
Member
Join Date: Sep 2009
Posts: 21
|
Quote:
---kgClassColorPanel--- <OnLoad> local _, class = UnitClass("player"); if class == "DRUID" then self.bg:SetVertexColor(1, 0.49, 0.04, self.bg:GetAlpha()) elseif class == "HUNTER" then self.bg:SetVertexColor(0.33, 0.86, 0.00, self.bg:GetAlpha()) end If the texture is grayscale, this should blend your color into the texture, which may work to colorize those images in your background. If you have textures in different files, you can use SetTexture to have class-specific backgrounds. ---kgClassArtPanel--- <OnLoad> local _, class = UnitClass("player"); if class == "DRUID" then self.bg:SetTexture("Interface\\Art\\DruidArt.tga") elseif class == "HUNTER" then self.bg:SetTexture("Interface\\Art\\HunterArt.tga" ) end This is the basic idea. You can add classes or even use character names if you have two characters with the same class but want different art. |
|
|
|
|
|
#1102 |
|
Legendary Member
Join Date: May 2006
Posts: 6,102
|
well, your screenshot is super tiny, so it's hard to see what you're referring to. But... If the color is changing on both characters, that means that you have both characters using either a) the same layout or b) the same profile.
|
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 3 (0 members and 3 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 12:44 AM.
WowAce Forums







