Thread Tools Display Modes
09-17-10, 04:32 PM   #1
Dumandruid
A Murloc Raider
Join Date: Oct 2008
Posts: 8
Aura Buttons

I am attempting to use aura buttons. but i'm also using an NUI skin (carbon) which moves the micro menu down and adds a new background above the 2 action bars above the mini map. Problem is the aura buttons for player are anchored bottom right and target bottom left and they start in the middle of the new background. is there anyway to change the anchors to have them start at the extreme left and right and fill towards the center. Or just move the anchor points out some so that the first buff is outside the new background? Thanks for your time. just installed it last night and so far am liking it. just tring to get used to the new layout
 
09-19-10, 08:17 AM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yes... this can be done. But, it requires editing the layout data file. In this case, it would be [ Interface > AddOns > nUI_AuraButtons > nUI_AuraButtons.lua ] -- At the top of the file you'll find data sections for the player's pet, the player, the target and a vehicle.

I've copied the player section below and highlighted some key points. If you change the "origin" value from "BOTTOMRIGHT" to "BOTTOMLEFT" then the auras will start there at the bottom left and grow to the right, then up. However, that will not stop them from overlapping the bar in the center as the number of auras grows. You could change the "cols" value from 10 to 8 then change "rows" from 4 to 5 and that may be enough to stop them from overlapping. You can experiment with that.

I would caution moving the anchor point of the frame out (changing the xOfs value in the "anchors" section) as that would cause it to overlap the location of the pet/vehicle buffs section. While your class may not have a pet, at higher levels it will frequently have a vehicle.

You can use any plain text editor to make the changes (such as notepad) and you do not have to exit wow to apply them. You can open the file while you're logged in and make your changes, then save the file and issue a '/nui rl' command to reload the UI and see the effect of your changes.

Code:
    ["PlayerAuras"] =
    {
        anchor =
        {
            anchor_pt        = "BOTTOMRIGHT",
            relative_to      = "nUI_Dashboard",
            relative_pt      = "CENTER",
            xOfs             = -420,
            yOfs             = 170,
        },        
        options =
        {
            enabled          = true,
            size             = 45,
            strata           = nil,
            level            = 1,
            
            aura_type        = "help",
            origin           = "BOTTOMRIGHT",
            player_auras     = false,
            dispellable      = false,
            horizontal       = true,
            highlight_player = true,
            aura_types       = false,
            cooldown_anim    = false,
            flash_expire     = true,
            clickable        = true,
            rows             = 4,
            cols             = 10,
            expire_time      = 10,
            hGap             = 5,
            vGap             = 25,

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

            timer =
            {
                enabled     = true,
                fontsize    = 10.5,
                justifyH    = "CENTER",
                justifyV    = "BOTTOM",
                anchor_pt   = "TOP",
                relative_pt = "BOTTOM",
                xOfs        = 0,
                yOfs        = 0,
            },
        },    
    },
Originally Posted by Dumandruid View Post
I am attempting to use aura buttons. but i'm also using an NUI skin (carbon) which moves the micro menu down and adds a new background above the 2 action bars above the mini map. Problem is the aura buttons for player are anchored bottom right and target bottom left and they start in the middle of the new background. is there anyway to change the anchors to have them start at the extreme left and right and fill towards the center. Or just move the anchor points out some so that the first buff is outside the new background? Thanks for your time. just installed it last night and so far am liking it. just tring to get used to the new layout
__________________

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/
 
10-12-10, 09:29 PM   #3
DuckDastardly
A Deviate Faerie Dragon
 
DuckDastardly's Avatar
Join Date: Jan 2007
Posts: 15
Instead of making a new thread, figured I would just ask here. If I had one thing I havent liked about nUI its the buff bars on the sides of the screen, so I have been using the aurabuttons add on that you created pretty much as long as I have been using nUI.

I noticed today that the aurabuttons add on isnt working anymore, and wondered if you are just leaving it dead or when you get time if you might look at it and see why its not working. Even with just the newest nUI and nUI_Aurabuttons turned on and nothing else it isn't working.
 
10-12-10, 09:31 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I will be updating all of my addons, but the core nUI is the first one to get stable, then the others will quickly follow.
__________________

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/
 
10-13-10, 07:24 AM   #5
DuckDastardly
A Deviate Faerie Dragon
 
DuckDastardly's Avatar
Join Date: Jan 2007
Posts: 15
Thanks, I can deal with it till then
 
10-13-10, 01:28 PM   #6
Kayilie
A Defias Bandit
Join Date: Oct 2010
Posts: 3
Dear Nui,

I love you,
<3

P.S. cant wait to get aura buttons again. but still thanks so much for the working 4.0 nui. greatest ui ever.
 
10-13-10, 04:02 PM   #7
DutyCalls
A Kobold Labourer
Join Date: Sep 2010
Posts: 1
Yes this is an amazing mod. Thank you to who ever is going to fix it.
 
10-19-10, 03:45 PM   #8
yippie
A Kobold Labourer
Join Date: Aug 2009
Posts: 1
aura buttons

thank you i will be waiting for it
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Plugin Support » Aura Buttons


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