WoWInterface (
-   AddOn Search/Requests (
-   -   blizzard unitframes classcolors (

Tolchock 01-07-13 02:52 PM

blizzard unitframes classcolors
hey there,

I'm looking for an lightweight addon, which changes just the green health bar of the standard blizzard frames, in the color of the targeted class.

Is there such an addon?

Thanks in advance!

10leej 01-07-13 03:51 PM

Semi Class Color Health Bar

Seerah 01-07-13 04:38 PM

You could also see if this still works: (be sure to check "Load Out of Date AddOns")

Or there are these options with more features included:

Tolchock 01-07-13 05:47 PM

Thank's for your answers, but I changed my mind and now use a script, which changes the player portrait to the class icon.

UFP = "UnitFramePortrait_Update"
UICC = "Interface\\TargetingFrame\\UI-Classes-Circles"
hooksecurefunc(UFP,function(self) if self.portrait then local t = CIT[select(2,UnitClass(self.unit))] if t then self.portrait:SetTexture(UICC) self.portrait:SetTexCoord(unpack(t)) end end end)

Tolchock 01-07-13 06:06 PM

does anyone know how to just hide the totem bar?

tried this:
/script local f = TotemFrame; if f:IsShown() then f:Hide() else f:Show() end

but its not working permanently..

Phanx 01-07-13 11:29 PM


Originally Posted by Tolchock (Post 271482)
Thank's for your answers, but I changed my mind and now use a script, which changes the player portrait to the class icon.

Ugh. I'm guessing you got that on ArenaJunkies or a similar site; the people who write those macros are basically the worst coders of all time. Here is what you posted, but re-written to avoid making horribly named and totally unnecessary global variables and generally making programmers want to puke.


hooksecurefunc("UnitFramePortrait_Update", function(self)
        local unit = self.portrait and self.unit
        if unit then
                local _, class = UnitClass(self.unit)
                local coords = CLASS_ICON_TCOORDS[class]
                if coords then
                        self.portrait:SetTexCoord(coords[1], coords[2], coords[3])

For hiding the totem bar:


TotemFrame.Show = TotemFrame.Hide

If you're stuffing these in macros that you have to activate every time you login, I'd suggest using this page to turn them into a custom mini-addon instead:

Tolchock 01-08-13 05:14 AM

Thank's alot for your effort! I really wish I had the knowledge of that. You are right, got that on arenajunkies, gonna avoid this site at least for addons in future ;)

allenmarton 02-05-13 05:44 AM

hi everyone,nice post,thanks for the info ...

All times are GMT -6. The time now is 02:09 AM.

vBulletin © 2018, Jelsoft Enterprises Ltd
© 2004 - 2017 MMOUI