View Single Post
08-10-10, 01:46 PM   #5
damedi07
A Deviate Faerie Dragon
Join Date: Jul 2010
Posts: 16
Originally Posted by spiel2001 View Post
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.