View Single Post
03-18-09, 12:10 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by wreck View Post
Could you point me to where the target name/class information is rendered for the HUD? I could look at making a plugin that would do this.
Well... to see how a level element is created in a unit frame look for the key word ["Level"] in the file [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Solo > nUI_UnitSkin_SoloPlayer.lua ]

To see how to modify existing default layouts from a mod, check out http://www.wowinterface.com/download...raButtons.html which modifies the existing unit frame skins for the player, target, pet and vehicle to change their aura displays from bars to buttons. You will, of course, have to replace the unit frame skin references with HUD skin references.

Then all you have to do is spin through the HUD element skins you want to add the ["Level"] element to in in the same way.
__________________

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/