WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   Display HP/Mana numbers, not % (https://www.wowinterface.com/forums/showthread.php?t=32792)

Aloo 05-28-10 12:04 PM

Display HP/Mana numbers, not %
 
As the title says. I want actual numbers and not percentages. Is this at all possible?

thanks.

spiel2001 05-28-10 12:32 PM

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.

Aloo 05-29-10 03:41 PM

Quote:

Originally Posted by spiel2001 (Post 189946)
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.

spiel2001 05-29-10 03:58 PM

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 ]

Aloo 05-29-10 07:20 PM

Quote:

Originally Posted by spiel2001 (Post 190088)
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.

sazia 11-05-11 03:11 PM

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 ?

Xrystal 11-05-11 03:35 PM

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.


All times are GMT -6. The time now is 10:18 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI