Thread Tools Display Modes
Old 04-28-10, 09:40 PM   #1
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
Post Looking for LUA spot to change: Debuff Size

Can someone tell me the LUA file and section so i can:

Increase the size of debuffs ON me in the HUD?

I have scaled down the HUD a little but would like the scale up the debuffs on me (and maybe the debuffs on the ToT) on the hud.

Thanks
Treboron is offline  
Old 04-29-10, 04:41 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
That would be [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > {hud mode} > nUI_HUDSkin_{hud mode}_{unit}.lua ] where {hud mode} is one of PlayerTarget, HealthPower, etc. depending on which HUD mode you use, and, {unit} is Player, Target, ToT, etc. depending on whose buff size you want to change.

Look for the ["Aura"] section in the file. Look for the following code block in each...

Code:
            [1] =    -- debuffs
            {
                anchor =
                {
                    anchor_pt   = "TOPRIGHT",
                    relative_to = "$parent_Health",
                    relative_pt = "TOPLEFT",
                    xOfs        = 40,
                    yOfs        = -100,
                },        
                options =
                {
                    enabled = true,
                    size    = 45,
                    strata  = nil,
                    level   = 1,
                    
                    aura_type        = "harm",
                    origin           = "TOPRIGHT",
                    player_auras     = false,
                    dispellable      = false,
                    horizontal       = false,
                    highlight_player = false,
                    aura_types       = true,
                    cooldown_anim    = false,
                    flash_expire     = true,
                    clickable        = true,
                    rows             = 3,
                    cols             = 4,
                    expire_time      = 10,
                    hGap             = 5,
                    vGap             = 20,
.
Changing the size value will change the size of the button... bigger values are bigger buttons. Keep in mind that making the buttons bigger means the whole box is going to get bigger and that means it will overlap the pet/vehicle name below it, etc. So you may have to play with it a bit. You can change the value of rows and cols as well which changes what the grid looks like.
__________________

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/
spiel2001 is offline  
Old 05-01-10, 08:19 PM   #3
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
Thanks - To bad I can't easily test this till I'm in a party/raid again
Treboron is offline  
Old 05-02-10, 04:58 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Battlegrounds are a great place for that kind of tweaking and testing.
__________________

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/
spiel2001 is offline  
Old 05-12-10, 05:39 PM   #5
Treboron
A Cyclonian
Join Date: Mar 2009
Posts: 35
No Luck Yet

I meant to reply sooner and say thanks.

However, I either changed the wrong lines and/or changed them in the wrong files because the HUD aura icons never got any bigger.

Not a major deal. I just shrank the overall hud but have trouble seening some of the auras and the aura counts that appear on the huds. The counts being the more important part.
Treboron is offline  
 

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Looking for LUA spot to change: Debuff Size

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