Thread Tools Display Modes
03-25-10, 07:05 PM   #1
sconley
An Aku'mai Servant
Join Date: Dec 2006
Posts: 31
Class Name

I would like to see Class name added to the hud similar to the way nUI_HUDLevel adds the level number.
 
03-25-10, 07:16 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Well... it does already use the class color for the class in the name of the target and it does already show the class icon on the unit frames as well as giving the talent spec in the HUD (though I'll confess that can be buggy at present)

So, I'm not sure what the benefit there is. My concern is that there is already bordering on too much info in the HUD.

That said, you could edit [ Interface > AddOns > Layouts > Default > HUDLayouts > {hud mode} > nUI_HUDSkin_{hud mode}_Target.lua ] and add the class yourself with relative ease. Just look for the ["Class"] section in one of the unit frame skins for an example.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
03-25-10, 07:34 PM   #3
sconley
An Aku'mai Servant
Join Date: Dec 2006
Posts: 31
Thanks for posting the instructions.

I PVP a lot, it is easier for me to react to the classname than the class color or class icon. I guess over time I would get used to the class icon.
I've been using ct_unitframes to add the class name to the standard target frame.

thanks again, I'll try that change.
 
03-26-10, 07:41 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Not a problem.

It did just occur to me that nUI's class engine does not currently print the class name, only the icon. I'll have to make sure I fix that in nUI6.

In the meantime, if you add the following to your [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > {hud mode} > nUI_HUDSkin_{hud mode}_Target.lua ] file it will add an easy to see class icon top dead center in the HUD immediately below the target casting bar...

Code:
        ["Class"] =
        {
            anchor =
            {
                anchor_pt   = "TOP",
                relative_to = "$parent_Casting",
                relative_pt = "BOTTOM",
                xOfs        = 0,
                yOfs        = 5,
            },        
            options =
            {
                enabled = true,
                size    = 75,
                inset   = 6,
                strata  = nil,
                level   = 2,
            },
        },
You can change the size of the icon by playing with the "size = 75" element.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Suggestion Box » Class Name


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