WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   HUD Problem (https://www.wowinterface.com/forums/showthread.php?t=29796)

Naarciss 01-04-10 01:39 PM

HUD Problem
 
Hello all!

First of all i want to thanks nUI group for making this unbelivable addon!

Secondly i got a question about HUD part. I want to disable DoTs timers under rune bar. Here is the screen with DoT's what i want to remove ->

Like you see i prefere to use DoTimer and because i can't disable nUIs DoT tracking i have my UI not enought confortible for me. Pls help. I know something about XHTML but i cant find anything in files.

Thanks for everything,
Arkadiusz ( in game Naarciss )

spiel2001 01-04-10 02:06 PM

The command '/nui hud cooldown' will turn the cooldown (DOT) bar off.

A complete list of supported slash command can be found here: http://www.wowinterface.com/forums/s...ad.php?t=21199

Naarciss 01-04-10 03:14 PM

this method doesnt work for me. still when i get into comab i have your dots squer :/ ive tryed all other methods and still nothing :S

Xrystal 01-04-10 04:22 PM

Hmm, surprised that doesn't work but this may work as well.

I see you are using the PlayerTarget hud. There are a set of layout files in the nUI folder that you can edit that changes how things look in the game. I've not tried this change myself but see if this does what you want without messing up other stuff.

Folder : nUI\Layouts\Default\HUDLayouts\PlayerTarget
File : nUI_HUDSkin_PlayerTarget_Target.lua

Bear in mind that if you sometimes use one of the other layouts you will have to locate the element to change in that one but for now lets see if this works for the Player/Target option.

Code:

                ["Aura"] =
                {
                        [1] =        -- debuffs
                        {
                                anchor =
                                {
                                        anchor_pt  = "TOPLEFT",
                                        relative_to = "$parent_Health",
                                        relative_pt = "TOPRIGHT",
                                        xOfs        = -40,
                                        yOfs        = -100,
                                },               
                                options =
                                {
                                        enabled = true,
                                        size    = 45,
                                        strata  = nil,
                                        level  = 1,
                                       
                                        aura_type        = "harm",
                                        origin          = "TOPLEFT",
                                        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,

                                        timer =
                                        {
                                                enabled    = true,
                                                fontsize    = 10,
                                                justifyH    = "CENTER",
                                                justifyV    = "TOP",
                                                anchor_pt  = "TOP",
                                                relative_pt = "BOTTOM",
                                                xOfs        = 0,
                                                yOfs        = 1,
                                        },

                                        count =
                                        {
                                                enabled    = true,
                                                justifyH    = "CENTER",
                                                justifyV    = "MIDDLE",
                                                anchor_pt  = "CENTER",
                                                relative_pt = "CENTER",
                                                xOfs        = 0,
                                                yOfs        = 0.5,
                                        },
                                },               
                        },
                        [2] =        -- debuffs
                        {
                                anchor =
                                {
                                        anchor_pt  = "BOTTOM",
                                        relative_to = nUI_HUDLAYOUT_PLAYERTARGET.."Bottom",
                                        relative_pt = "TOP",
                                        xOfs        = 0,
                                        yOfs        = 80,
                                },               
                                options =
                                {
                                        enabled = true,
                                        size    = 40,
                                        strata  = nil,
                                        level  = 1,
                                       
                                        aura_type        = "help",
                                        origin          = "TOPLEFT",
                                        player_auras    = true,
                                        dispellable      = false,
                                        horizontal      = true,
                                        dynamic_size    = true,
                                        highlight_player = false,
                                        aura_types      = false,
                                        cooldown_anim    = false,
                                        flash_expire    = true,
                                        rows            = 1,
                                        cols            = 10,
                                        expire_time      = 10,
                                        hGap            = 5,
                                        vGap            = 20,

                                        timer =
                                        {
                                                enabled    = true,
                                                fontsize    = 12,
                                                justifyH    = "CENTER",
                                                justifyV    = "TOP",
                                                anchor_pt  = "TOP",
                                                relative_pt = "BOTTOM",
                                                xOfs        = 0,
                                                yOfs        = 1,
                                        },

                                        count =
                                        {
                                                enabled    = true,
                                                justifyH    = "CENTER",
                                                justifyV    = "MIDDLE",
                                                anchor_pt  = "CENTER",
                                                relative_pt = "CENTER",
                                                xOfs        = 0,
                                                yOfs        = 0.5,
                                        },
                                },               
                        },
                },

This is the block of code in question. The Buffs are what appear on the top right of the targets side of the hud. The Debuffs are what appear on the bottom of the hud. Just change the enabled flag to false and it should turn it off for you.

Naarciss 01-04-10 05:37 PM

BIG THANKS!

Now when i found it i can change any other things :) TYVM

Xrystal 01-04-10 06:05 PM

Just remember to change one thing at a time and note what it was before rofl. Some things are tied to other items so a minor change you want may impact into several changes to be made.


All times are GMT -6. The time now is 02:48 PM.

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