Thread Tools Display Modes
03-11-09, 02:51 PM   #1
Intravires
A Deviate Faerie Dragon
Join Date: Feb 2009
Posts: 11
HUD life %

Is there an option to see your target's health % is near the top and the target of targets % near the bottom?

Last edited by Intravires : 03-11-09 at 03:09 PM.
 
03-11-09, 04:34 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I'm not sure what you're asking for here... are you asking if there's an option to move where the % health is located? If that's what you're asking, then the only way to do that would be to edit the file [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > {HUD mode} > nUI_HUDSkin_{HUD mode}_Target.lua ] and look for the section "pct_health =" -- you'll find two values in there: xOfs and yOfs which are the X and Y offsets of the text for the percent health... change those to change the location of the text.
__________________

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-12-09, 03:12 PM   #3
Intravires
A Deviate Faerie Dragon
Join Date: Feb 2009
Posts: 11
how do I know what the X and Y axis are to where I want them?
 
03-12-09, 03:38 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by Intravires View Post
how do I know what the X and Y axis are to where I want them?
Well... yOfs moves it up (larger numbers) and down (smaller numbers) on the screen and xOfs moves it left (smaller numbers) and right (larger numbers) on the screen. What number to use I couldn't begin to tell you because it depends entirely on where you want it.

You can do this while you're logged into WoW... just run WoW in windowed mode and full screen, then switch out and open the layout file in your text editor. Try increasing the yOfs number by some amount and save the file, then switch back to WoW and do '/nui rl' and nUI will re-run the layout. Then you can see how much the value moved on the screen and decide how much more or less you need to move it. Try another value, save it, reload the screen again and keep repeating until you get the value where you want it on the screen.
__________________

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-22-09, 08:45 AM   #5
Intravires
A Deviate Faerie Dragon
Join Date: Feb 2009
Posts: 11
Question

If I change it like this, every time an update comes out I will have to edit it back to where I want right?
 
03-22-09, 09:27 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by Intravires View Post
If I change it like this, every time an update comes out I will have to edit it back to where I want right?
Unfortunately, until I get the custom skins code finished, yes.

But it's really a very trivial change. If you know where you're making the change and what values you're using, it takes like 30 seconds to complete.
__________________

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-22-09, 11:45 AM   #7
Intravires
A Deviate Faerie Dragon
Join Date: Feb 2009
Posts: 11
It is more than just that file I have to edit. It doesn't keep the % of health or mana in the same place. It is dependent on if they have a target or if they don't. Any ideas?
 
03-22-09, 11:57 AM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by Intravires View Post
It is more than just that file I have to edit. It doesn't keep the % of health or mana in the same place. It is dependent on if they have a target or if they don't. Any ideas?
Now you're confusing me.

nUI does not move where the health data is (or any data) based on whether or not the target has a target.

The target's health is in one place and one place only in the HUD. It's the big numbers. The target-of-target's health is in the small numbers below the bars. Neither one ever moves.

From the FAQ page (http://www.wowinterface.com/forums/s...ad.php?t=21108)...


__________________

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-22-09, 08:14 PM   #9
Intravires
A Deviate Faerie Dragon
Join Date: Feb 2009
Posts: 11
Go into wow, find somebody who is at 100% health target them, then find somebody who targeting another player. If I edited those files like you said, the placement % of health/mana jumps around. I'll edit the file tomorrow again and upload you a screen shot.
 
03-22-09, 08:29 PM   #10
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Originally Posted by Intravires View Post
Go into wow, find somebody who is at 100% health target them, then find somebody who targeting another player. If I edited those files like you said, the placement % of health/mana jumps around. I'll edit the file tomorrow again and upload you a screen shot.
There's a failure to communicate somewhere. I definitely want to see the screen caps.

Target health/mana % exists in one place and one place only on the HUD (in any one HUD mode). Target-of-target health/mana % also exists in one place and only one place on the HUD for any one mode. It never moves unless you change modes. If the target health is moving when you switch between a target that has a target and a target that doesn't then something WAY screwy is going on... I know... I wrote the code ~smile~
__________________

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-23-09, 05:18 PM   #11
Intravires
A Deviate Faerie Dragon
Join Date: Feb 2009
Posts: 11
I got it working tonight. I edited some file I shouldn't have...but it is fixed now.
 
03-23-09, 05:21 PM   #12
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
/happydance

~smile~
__________________

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 » Support » nUI: Suggestion Box » HUD life %


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