Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-04-11, 04:30 PM   #12
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
nUI has a built in ability to create vertical health and power bars as well as horizontal... plus the bars can all grow from left to right, right to left, top to bottom, bottom to top or outside to center.

He is using the ability to do vertical bars that grow from the bottom. Look at the ["Health"] section in the [ Interface > nUI > Layouts > HUDLayouts > {hud mode} > nUI_HUDSkin_{hud mode}_Player.lua ] configuration file for an example of how it is done. Pay attention to the bar = {} section in particular. The orient = "BOTTOM" option means that the bar grows vertically up from the bottom of the bar. The texture and overlay fields are the graphics used to display the bar background and "transparent" overlay, respectively. The min_offset and max_offset specify how from from the bottom of the graphic the actual bar starts and ends.

So, I presume he created a custom graphic to replace the one that I created for the HUD and then changed the min and max offsets them moved the bars down closer to the dashboard.
__________________

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 » General » nUI: Movies and Screen Captures » Showoff your Screenshots !!


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