View Single Post
03-11-09, 10:03 AM   #6
rossman
A Cyclonian
 
rossman's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 39
N52te button layout

I use the n52te with a custom button config for the top 3 bars. I tried the other addons but in the end I like this the best and it is one less addon needed. Until Spiel creates the nui custom button bars you can only have 12 buttons per bar or it doesnt work well.

First I use the n52te with a config of one keymap setup with the left column set as my modifiers. Key 1 is my n52te keymap cycle button. Key 6 is my alt button. Key 11 is my shift button. This leaves 12 buttons for keybindings.

second You need to modify the nui_layout_default_dashboard.lua file. The section called default button bar configurations needs a few changes. Modify btn_size, rows & cols to match what I have below.

Code:
-- default button bar configurations

nUI_DefaultConfig.ButtonBars =
{
    ["nUI_ActionBar"] =
    {
        btn_size = 43,
        gap      = 2,
        anchor   = "BOTTOM",
        xOfs     = 0,
        yOfs     = 123,
        rows     = 3,
        cols     = 4,
        page     = 1,
        nuibind  = "nUI_ACTIONBAR",
        binding  = "ACTIONBUTTON",
        label    = nUI_L["nUI_ActionBar"],
    },

    -- the Bliz "bottom left" bar

    ["nUI_TopLeftBar"] =
    {        
        btn_size = 43,
        gap      = 2,
        anchor   = "TOPRIGHT",
        yOfs     = 122,
        xOfs     = 0,
        rows     = 3,
        cols     = 4,
        page     = 6,
        nuibind  = "nUI_TOPLEFTBAR",
        binding  = "MULTIACTIONBAR1BUTTON",
        label    = nUI_L["nUI_TopLeftBar"],
    },
    
    -- the Bliz "bottom right" bar

    ["nUI_TopRightBar"] =
    {        
        btn_size = 43,
        gap      = 2,
        anchor   = "TOPLEFT",
        yOfs     = 122,
        xOfs     = 0,
        rows     = 3,
        cols     = 4,
        page     = 5,
        nuibind  = "nUI_TOPRIGHTBAR",
        binding  = "MULTIACTIONBAR2BUTTON",
        label    = nUI_L["nUI_TopRightBar"],
    },
Finally in WOW setup keybindings on your new layout by using the ctrl-alt-right-click and match your n52te 12 key config.

Hopefully you can follow this if not just ask.

Here is my solo questing layout.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_012509_105647.jpg
Views:	1103
Size:	424.0 KB
ID:	2346  

Last edited by spiel2001 : 03-11-09 at 10:18 AM.