WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Looking for LUA spot to change: Debuff Size (https://www.wowinterface.com/forums/showthread.php?t=32186)

Treboron 04-28-10 09:40 PM

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

spiel2001 04-29-10 04:41 AM

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.

Treboron 05-01-10 08:19 PM

Thanks - To bad I can't easily test this till I'm in a party/raid again :banana:

spiel2001 05-02-10 04:58 AM

Battlegrounds are a great place for that kind of tweaking and testing.

Treboron 05-12-10 05:39 PM

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.


All times are GMT -6. The time now is 06:52 PM.

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