Thread Tools Display Modes
05-28-10, 12:04 PM   #1
Aloo
A Defias Bandit
Join Date: Mar 2010
Posts: 3
Display HP/Mana numbers, not %

As the title says. I want actual numbers and not percentages. Is this at all possible?

thanks.
 
05-28-10, 12:32 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
That actual numbers for you, the target, your pet and the ToT are all in the HUD. Also the focus. If you want actual numbers for the other unit frames, you'll have to modify the layout files in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} ] where {panel mode} is one of Solo, Party, Raid10, Raid15, etc. To make the change from percent to actual, you'll have to look for pct_health and pct_power and replace them with cur_health and cur_power for the unit frames you want to modify.
__________________

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/
 
05-29-10, 03:41 PM   #3
Aloo
A Defias Bandit
Join Date: Mar 2010
Posts: 3
Originally Posted by spiel2001 View Post
That actual numbers for you, the target, your pet and the ToT are all in the HUD. Also the focus. If you want actual numbers for the other unit frames, you'll have to modify the layout files in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} ] where {panel mode} is one of Solo, Party, Raid10, Raid15, etc. To make the change from percent to actual, you'll have to look for pct_health and pct_power and replace them with cur_health and cur_power for the unit frames you want to modify.
I feel like I may be missing something but, where am I making those changes? I looked in that specified directory and there's no files with that particular listing. So where am I adding "cur_health" and "cur_power?"

Thanks for the quick response.
 
05-29-10, 03:58 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
There are no files in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Party ] or [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Raid10 ], etc?

As for which file... whichever one is the unit frame you want to see the full health/power numbers for.

For example, if you want to see full health and mana on the player unit frame in the party mode unit frame panel, you would make the change in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Party > nUI_UnitSkin_Party_Player.lua ]
__________________

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/
 
05-29-10, 07:20 PM   #5
Aloo
A Defias Bandit
Join Date: Mar 2010
Posts: 3
Originally Posted by spiel2001 View Post
There are no files in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Party ] or [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Raid10 ], etc?

As for which file... whichever one is the unit frame you want to see the full health/power numbers for.

For example, if you want to see full health and mana on the player unit frame in the party mode unit frame panel, you would make the change in [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > Party > nUI_UnitSkin_Party_Player.lua ]
Awesome! Thank you, I can't check how to do it now because I'm at work but I assume I can make the changes in a simple "TextEdit" type application.

Thanks again.
 
11-05-11, 03:11 PM   #6
sazia
A Kobold Labourer
Join Date: Nov 2011
Posts: 1
help

you said interface > then nui and then layouts but i dont see Nui between my addons there is there another way to change it ?
 
11-05-11, 03:35 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,934
The only way to change nUI version 5 is via the lua files as explained.

You should see a folder tree as follows inside your wow folder.

\Interface\AddOns\nUI\Layouts\Default\UnitPanels\Solo

This is where the settings are for the Unit Panels for Solo play. There is a Party and various Raid ones to suit other displays but for testing purposes Solo works well.

In that folder there are a bunch of files that contain the settings for the different sections of the Unit Panels.

nUI_UnitSkin_SoloPlayer.lua

Is the file for your own unit frame. In that file there is a section starting pct_health = which contains the settings relating to the display of health as a percent. Its possible that changing the line enabled = true for that section to false will do what you what.

The mana/power etc display is under the setting block starting with pct_power =. Similar changes will do the same here as was done with the health changes.

I haven't personally played with this setting myself but it will hopefully do what you want.

Once you have made the change save the file and reload the UI in wow and it should use the changes you made in the game. Once you see it working in Solo you just need to do similar changes in the Party and Raid displays you may need it displayed for too.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Display HP/Mana numbers, not %


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