Thread Tools Display Modes
10-28-12, 05:14 AM   #1
Kypalgo
A Defias Bandit
Join Date: Oct 2009
Posts: 2
Hud question

I have a question about the HUD part of nUI. While I do like the current player/target setup, I was hoping for more solid darker colors to make it stand out more. I know icehud has the ability to atler the bar itself to select one of several bar setups Does nUI's HUD have a similar ability? If so how do I do it? Or even making the bars smaller would help.

Also is it possible to remove the target of target bars?
 
10-28-12, 08:40 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yes... it does.

The HUD is a little different from the other bars, since it's curved it has to use custom graphics to represent the bars rather than just using a color like the other bars. So, to change the bar color in the HUD, you need to modify the graphic texture rather than modify the color setting in the Lua files.

Look in [ Interface\AddOns\nUI\Layouts\Default\Art ] at the various nUI_HUD files. Those are the graphics for the HUD bars. You'll need to grab BlpConverter or an app like that to convert those files from BLP to PNG so you can edit them. Open them up in a graphics tool, modify the bar color to be what you would like and save them back out. Then convert them back to BLP and you're all set.

As for disabling the ToT bars. You can do that, as well. Edit [ Interface\AddOns\nUI\Layouts\Default\HUDLayouts\PlayerTarget\nUI_HUDLayout_PlayerTarget.lua ] with a plain text editor and look for this section...

Code:
            [nUI_HUDUNIT_PLAYERTARGET_TOT] =
            {
                options = 
                {
                    skinName   = nUI_HUDSKIN_PLAYERTARGET_TOT,
                    enabled    = true,
                    
                    strata     = nil,
                    level      = nil,
                    
                    unit_id    = "targettarget",
                    party_id   = nil,
                    raid_id       = nil,
                    visibility = "[target=targettarget, exists] show; hide";
                    
                    scale      = 1,
                    clickable  = false,
                    fade       = true,
                },
            },
            [nUI_HUDUNIT_PLAYERTARGET_FOCUSTARGET] =
            {
                options = 
                {
                    skinName   = nUI_HUDSKIN_PLAYERTARGET_TOT,
                    enabled    = true,
                    
                    strata     = nil,
                    level      = nil,
                    
                    unit_id    = "focustarget",
                    party_id   = nil,
                    raid_id       = nil,
                    visibility = "hide";
                    
                    scale      = 1,
                    clickable  = false,
                    fade       = true,
                },
            },
You need to change the two lines I highlights to read enabled = false; and then save the file. That should do it.
__________________

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/
 
10-28-12, 09:08 AM   #3
Kypalgo
A Defias Bandit
Join Date: Oct 2009
Posts: 2
Awesome! Thanks for the reply. The only other issue im having is Skada shows up as 2 small windows. I would love it if i could have it show up as one bigger window. I tried going in and hitting delete window on window 1 and window 2 under interface -> addon -> Skada. but upon doing a /reload both show back up!

Any help with that one would be awesome. Thank you again for the quick reply
 
10-28-12, 09:44 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah... the Skada issue is a bit more complicated. I'm not sure I would want to bite that off in a forum message. The one thing I know about how I implemented the Skada integration was that if the windows nUI expects don't exist, it will create them. So, if you're deleting the window, nUI will recreate it. If memory serves me correctly, Skada has options to disable a window without deleting it. If you do that, and then resize the other window, it may work.
__________________

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 » Customization » nUI: Customizing Layouts » Hud question

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