WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Customizing Layouts (https://www.wowinterface.com/forums/forumdisplay.php?f=95)
-   -   Is there a way to disable your targets buff/debuff frame? (https://www.wowinterface.com/forums/showthread.php?t=34344)

damedi07 08-06-10 07:53 AM

Is there a way to disable your targets buff/debuff frame?
 
i'm talking about the list of buffs/debuffs on the far right hand side. i know you can edit th enumber of auras it will show from 1-40. problem is that this also affects my buffs/debuff frame. is there a way to specify a value for them seperately? where i can keep my buff/debuffs at 40 and set my targets at 0 so i don't have to see them? problem is that i have my dbm timers in that section and while fighting a raid boss it gets so damn big that it covers my dbm timers. the button plug-in isn't really an option for me because i have other timers and stuff that i place there to keep track of my stuff. maybe i'm just overlooking the option...but i'd really just like to be able to disable the target buff.debuff frame or just be able to set it to 0 while keeping mine the same. btw, thnx for the add-on i love this ui.

Xrystal 08-06-10 11:00 AM

I don't think there is a slash command to cut down targets only to 0. All or None at present. However, you may be able to edit the layout file to adjust the setting explicitly .. checking...

Hmm, okay, maybe there isn't a way via the layout files. Unless I'm missing something. Hopefully Scott will point you in the right direction.

damedi07 08-07-10 06:53 AM

yeah it would be awesome if there was a way to do this. it wouldn't be a problem if i didn't want to be able to glance over and make sure i have all my raid buffs. cause otherwise i would just set mine to 0 also and be done with it. which i'll then ask. is there a way to maybe use another add-on that would just track my raid buffs and i could just set the nui frames to 0? i'd hate to have to use another add-on for it though.......since the fact that nui is mostly complete and eliminated the necessity to have to use multiple add-ons is one of the biggets reasons i chose it. that and i love the HUD. thnx for the quick response.

spiel2001 08-07-10 09:16 AM

You can lose the big list of target debuffs by editing [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_HUDSkin_{panel mode}Target.lua ] where {panel mode} is one of Solo, Party, Raid10, etc. depending on which unit frame panel you want to change.

Once you're in the file, scroll down until you find the ["Aura"] section. Locate the code segment I've copied below and change the line I highlighted as indicated...

Code:

            [2] =
            {
                anchor =
                {
                    anchor_pt        = "BOTTOMRIGHT",
                    relative_to      = "nUI_Dashboard",
                    relative_pt      = "TOPRIGHT",
                    xOfs            = -20,
                    yOfs            = -40,
                },       
                options =
                {
                    enabled          = false,
                    width            = 350,
                    size            = 28.5,
                    strata          = nil,
                    level            = 1,
                   
                    aura_type        = "help",
                    origin          = "TOPRIGHT",
                    player_auras    = false,
                    dispellable      = false,
                    horizontal      = false,
                    highlight_player = true,
                    aura_types      = true,
                    cooldown_anim    = false,
                    flash_expire    = true,
                    clickable        = true,
                    dynamic_size    = true,
                    rows            = 40,
                    cols            = 1,
                    expire_time      = 10,
                    hGap            = 0,
                    vGap            = 2,
               
                    border =
                    {
                        backdrop =
                        {
                            bgFile  = "Interface\\Tooltips\\UI-Tooltip-Background",
                            edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
                            tile    = true,
                            tileSize = 1,
                            edgeSize = 4,
                            insets  = { left = 0, right = 0, top = 0, bottom = 0 },
                        },                   
                        color =
                        {
                            border  = { r = 1, g = 1, b = 1, a = 0.75 },
                            backdrop = { r = 0, g = 0, b = 0, a = 0.4 },
                        },
                    },

                    count =
                    {
                        enabled    = true,
                        fontsize    = 11.5,
                        justifyH    = "RIGHT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "RIGHT",
                        relative_pt = "LEFT",
                        xOfs        = -10,
                        yOfs        = 1,
                        color      = { r = 0.5, g = 1, b = 0.5, a = 1 },
                    },

                    timer =
                    {
                        enabled    = true,
                        fontsize    = 11.5,
                        justifyH    = "LEFT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "LEFT",
                        relative_pt = "LEFT",
                        xOfs        = -315,
                        yOfs        = 1,
                        color      = { r = 0, g = 1, b = 1, a = 1 },
                    },

                    label =
                    {
                        enabled    = true,
                        fontsize    = 11.5,
                        justifyH    = "RIGHT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "RIGHT",
                        relative_pt = "LEFT",
                        width      = 240,
                        height      = 28.5,
                        xOfs        = -35,
                        yOfs        = 1,
                        color      = { r = 1, g = 0.83, b = 0, a = 1 },
                    },
                },   
            },

In addition to the above change, you'll also want to get rid of the label that appears over the top of the target's auras. That's up near the top of the file. Locate the ["Label"] section at the top of the file and change the line I highlighted below.

Code:

        ["Label"] =
        {
            [1] =
            {
                anchor =
                {
                    anchor_pt  = "TOP",
                    relative_to = "$parent_Feedback",
                    xOfs        = 0,
                    yOfs        = 0,
                },       
                options =
                {
                    enabled = true,
                    height  = 35,
                    width  = 420,
                    inset  = 7,
                    strata  = nil,
                    level  = nil,
   
                    text          = nil,
                    show_reaction = true,
                    class_colors  = true,
                   
                    label =
                    {
                        enabled    = true,
                        fontsize    = 11,
                        justifyH    = "RIGHT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "RIGHT",
                        relative_to = "$parent_Level",
                        relative_pt = "LEFT",
                        xOfs        = 0,
                        yOfs        = 0,                   
                        color      = { r = 1, g = 0.83, b = 0, a = 1 },
                    },
               
                    border =
                    {
                        backdrop =
                        {
                            bgFile  = nil,
                            edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
                            tile    = true,
                            tileSize = 1,
                            edgeSize = 5,
                            insets  = { left = 0, right = 0, top = 0, bottom = 0 },
                        },                   
                        color =
                        {
                            border  = { r = 1, g = 1, b = 1, a = 0.5 },
                            backdrop = { r = 0, g = 0, b = 0, a = 0 },
                        },
                    },
                },
            },
            [2] =
            {
                anchor =
                {
                    anchor_pt  = "BOTTOMRIGHT",
                    relative_to = "$parent_Aura2",
                    relative_pt = "TOPRIGHT",
                    xOfs        = 0,
                    yOfs        = 0,
                },       
                options =
                {
                    enabled = false,
                    height  = 35,
                    width  = 350,
                    inset  = 7,
                    strata  = nil,
                    level  = nil,
   
                    text          = nil,
                    show_reaction = true,
                    class_colors  = true,
                    clickable    = false,
                   
                    label =
                    {
                        enabled    = true,
                        fontsize    = 12,
                        justifyH    = "CENTER",
                        justifyV    = "MIDDLE",
                        xOfs        = 0,
                        yOfs        = 0,                   
                        color      = { r = 1, g = 1, b = 1, a = 1 },
                    },
               
                    border =
                    {
                        backdrop =
                        {
                            bgFile  = "Interface\\Tooltips\\UI-Tooltip-Background",
                            edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
                            tile    = true,
                            tileSize = 1,
                            edgeSize = 4,
                            insets  = { left = 0, right = 0, top = 0, bottom = 0 },
                        },                   
                        color =
                        {
                            border  = { r = 1, g = 1, b = 1, a = 0.5 },
                            backdrop = { r = 0.25, g = 0.25, b = 0.25, a = 0.5 },
                        },
                    },
                },
            },
        },


damedi07 08-10-10 01:46 PM

Quote:

Originally Posted by spiel2001 (Post 201598)
You can lose the big list of target debuffs by editing [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_HUDSkin_{panel mode}Target.lua ] where {panel mode} is one of Solo, Party, Raid10, etc. depending on which unit frame panel you want to change.

Once you're in the file, scroll down until you find the ["Aura"] section. Locate the code segment I've copied below and change the line I highlighted as indicated...

Code:

            [2] =
            {
                anchor =
                {
                    anchor_pt        = "BOTTOMRIGHT",
                    relative_to      = "nUI_Dashboard",
                    relative_pt      = "TOPRIGHT",
                    xOfs            = -20,
                    yOfs            = -40,
                },       
                options =
                {
                    enabled          = false,
                    width            = 350,
                    size            = 28.5,
                    strata          = nil,
                    level            = 1,
                   
                    aura_type        = "help",
                    origin          = "TOPRIGHT",
                    player_auras    = false,
                    dispellable      = false,
                    horizontal      = false,
                    highlight_player = true,
                    aura_types      = true,
                    cooldown_anim    = false,
                    flash_expire    = true,
                    clickable        = true,
                    dynamic_size    = true,
                    rows            = 40,
                    cols            = 1,
                    expire_time      = 10,
                    hGap            = 0,
                    vGap            = 2,
               
                    border =
                    {
                        backdrop =
                        {
                            bgFile  = "Interface\\Tooltips\\UI-Tooltip-Background",
                            edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
                            tile    = true,
                            tileSize = 1,
                            edgeSize = 4,
                            insets  = { left = 0, right = 0, top = 0, bottom = 0 },
                        },                   
                        color =
                        {
                            border  = { r = 1, g = 1, b = 1, a = 0.75 },
                            backdrop = { r = 0, g = 0, b = 0, a = 0.4 },
                        },
                    },

                    count =
                    {
                        enabled    = true,
                        fontsize    = 11.5,
                        justifyH    = "RIGHT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "RIGHT",
                        relative_pt = "LEFT",
                        xOfs        = -10,
                        yOfs        = 1,
                        color      = { r = 0.5, g = 1, b = 0.5, a = 1 },
                    },

                    timer =
                    {
                        enabled    = true,
                        fontsize    = 11.5,
                        justifyH    = "LEFT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "LEFT",
                        relative_pt = "LEFT",
                        xOfs        = -315,
                        yOfs        = 1,
                        color      = { r = 0, g = 1, b = 1, a = 1 },
                    },

                    label =
                    {
                        enabled    = true,
                        fontsize    = 11.5,
                        justifyH    = "RIGHT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "RIGHT",
                        relative_pt = "LEFT",
                        width      = 240,
                        height      = 28.5,
                        xOfs        = -35,
                        yOfs        = 1,
                        color      = { r = 1, g = 0.83, b = 0, a = 1 },
                    },
                },   
            },

In addition to the above change, you'll also want to get rid of the label that appears over the top of the target's auras. That's up near the top of the file. Locate the ["Label"] section at the top of the file and change the line I highlighted below.

Code:

        ["Label"] =
        {
            [1] =
            {
                anchor =
                {
                    anchor_pt  = "TOP",
                    relative_to = "$parent_Feedback",
                    xOfs        = 0,
                    yOfs        = 0,
                },       
                options =
                {
                    enabled = true,
                    height  = 35,
                    width  = 420,
                    inset  = 7,
                    strata  = nil,
                    level  = nil,
   
                    text          = nil,
                    show_reaction = true,
                    class_colors  = true,
                   
                    label =
                    {
                        enabled    = true,
                        fontsize    = 11,
                        justifyH    = "RIGHT",
                        justifyV    = "MIDDLE",
                        anchor_pt  = "RIGHT",
                        relative_to = "$parent_Level",
                        relative_pt = "LEFT",
                        xOfs        = 0,
                        yOfs        = 0,                   
                        color      = { r = 1, g = 0.83, b = 0, a = 1 },
                    },
               
                    border =
                    {
                        backdrop =
                        {
                            bgFile  = nil,
                            edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
                            tile    = true,
                            tileSize = 1,
                            edgeSize = 5,
                            insets  = { left = 0, right = 0, top = 0, bottom = 0 },
                        },                   
                        color =
                        {
                            border  = { r = 1, g = 1, b = 1, a = 0.5 },
                            backdrop = { r = 0, g = 0, b = 0, a = 0 },
                        },
                    },
                },
            },
            [2] =
            {
                anchor =
                {
                    anchor_pt  = "BOTTOMRIGHT",
                    relative_to = "$parent_Aura2",
                    relative_pt = "TOPRIGHT",
                    xOfs        = 0,
                    yOfs        = 0,
                },       
                options =
                {
                    enabled = false,
                    height  = 35,
                    width  = 350,
                    inset  = 7,
                    strata  = nil,
                    level  = nil,
   
                    text          = nil,
                    show_reaction = true,
                    class_colors  = true,
                    clickable    = false,
                   
                    label =
                    {
                        enabled    = true,
                        fontsize    = 12,
                        justifyH    = "CENTER",
                        justifyV    = "MIDDLE",
                        xOfs        = 0,
                        yOfs        = 0,                   
                        color      = { r = 1, g = 1, b = 1, a = 1 },
                    },
               
                    border =
                    {
                        backdrop =
                        {
                            bgFile  = "Interface\\Tooltips\\UI-Tooltip-Background",
                            edgeFile = "Interface\\Tooltips\\UI-Tooltip-Border",
                            tile    = true,
                            tileSize = 1,
                            edgeSize = 4,
                            insets  = { left = 0, right = 0, top = 0, bottom = 0 },
                        },                   
                        color =
                        {
                            border  = { r = 1, g = 1, b = 1, a = 0.5 },
                            backdrop = { r = 0.25, g = 0.25, b = 0.25, a = 0.5 },
                        },
                    },
                },
            },
        },


ok......wow thank you very much for the graphic too. will make it easy for me to do since i'm not familiar with any type of coding. awesome ui btw.


All times are GMT -6. The time now is 03:37 PM.

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