Thread Tools Display Modes
03-24-09, 10:36 AM   #1
JJLodge
A Fallenroot Satyr
Join Date: Nov 2007
Posts: 24
Heath/mana values

Hi all

A quick question pls

The health and mana values are in % is there anyway to change this to the exact value in numbers pls?

thanks for your help
 
03-24-09, 11:27 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Where are you talking about specifically?

Health values are displayed as actual values in all unit frames to the best of my knowledge. You are correct about mana however, in most unit frames.
__________________

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-24-09, 11:31 AM   #3
JJLodge
A Fallenroot Satyr
Join Date: Nov 2007
Posts: 24
yes it displayes the players health example ( 15000/15000 ) but on the accual grafic of the health and mana bar it says 100% just wanted this to say the exact amout of health and mana instead of the percentage

thanks for reply
 
03-24-09, 12:38 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Then you would need to edit the unit skins in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > * > nUI_UnitSkin*.lua ] and move the text to where you want it to be.
__________________

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/
 
04-08-09, 11:10 PM   #5
Deadlybeef
A Murloc Raider
Join Date: Apr 2009
Posts: 6
i too have a need for nui to show me how much mana i actually have / have left instead of just a percentage. i love nui it has all the tools i use while playing and is very easy to use and looks amazing but it drives me absolutely nuts not knowing how much mana i actually have. as a resto druid i've gotten so used to seeing my actual mana value to gage when to pot or sit back and regen a bit and overall know how much healing i can put out before slowing my casting or healing based on that value.

i'll be honest i know absolutely nothing about changing addon coding , and would really appreciate any help you can give me in this. or perhaps there is another mod out there that will work alongside nui to add this function to this beautiful addon.

ty very much for your time
V/R deadlybeef
 
04-09-09, 04:05 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
The total mana (power) amount is already displayed on the HUD along with percent mana (power). The percent was put in the unit frames only as an aid to those who do not use the HUD. It is possible to display the total amount instead of percent if you're one of those... keeping in mind that space is at a premium in most of the unit frames. You will need to edit the skin for the frames in question to do so, however, as there is no GUI config for all of these frames and features yet.

For example, if you want to see current mana remaining in your solo player unit frame instead of percent mana, then you would edit [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Solo > nUI_UnitSkin_SoloPlayer.lua ] -- look for the ["Power"] section and change "pct_power =" to read "cur_power =" and voila, you'll be looking at the current power instead of percent.

There's two caveats to that... 1) if you do this, then the next time you update your version of nUI, you'll have to do it again. Until nUI's support for full skinning is enabled, you have to edit source to make changes instead of editing your saved variables, so that's a problem. 2) the size of the remaining mana text is larger (longer) than the size of the percent mana text which means it will overlap the power bar and the right edge of the unit frame sometimes
__________________

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/

Last edited by spiel2001 : 04-09-09 at 04:09 AM.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Heath/mana values

Thread Tools
Display Modes

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