Thread Tools Display Modes
03-11-09, 10:03 AM   #1
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:	2058
Size:	424.0 KB
ID:	2347  

Last edited by spiel2001 : 03-11-09 at 10:19 AM.
 
05-18-09, 07:19 PM   #2
Tondef
A Cyclonian
 
Tondef's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2008
Posts: 40
Awesome.
I had to make a few tweaks to mine to make it all fit. Here are my files.

nUI_Layout_Default_Dashboard.lua
Code:
-------------------------------------------------------------------------------
-- default button bar configurations

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

	-- the Bliz "bottom left" bar

	["nUI_TopLeftBar"] =
	{		
		btn_size = 50,
		gap      = 2,
		anchor   = "TOPLEFT",
		yOfs     = 117,
		xOfs     = 0,
		rows     = 1,
		cols     = 12,
		page     = 6,
		nuibind  = "nUI_TOPLEFTBAR",
		binding  = "MULTIACTIONBAR1BUTTON",
		label    = nUI_L["nUI_TopLeftBar"],
	},
	
	-- the Bliz "bottom right" bar

	["nUI_TopRightBar"] =
	{		
		btn_size = 50,
		gap      = 2,
		anchor   = "TOPRIGHT",
		yOfs     = 117,
		xOfs     = 0,
		rows     = 1,
		cols     = 12,
		page     = 5,
		nuibind  = "nUI_TOPRIGHTBAR",
		binding  = "MULTIACTIONBAR2BUTTON",
		label    = nUI_L["nUI_TopRightBar"],
	},

And moving the Class/Pet/Stance Bar to the side.
Code:
-------------------------------------------------------------------------------
-- pet bar, stance bar, shapeshift bar, aura bar, possession bar

nUI_DefaultConfig.SpecialBars =
{
	enabled = true;
	
	anchor =
	{
		anchor_pt   = "BOTTOM",
		relative_to = "nUI_Dashboard",
		relative_pt = "CENTER",
		xOfs        = -350,
		yOfs        = 125,
	},
	options =
	{
		enabled   = true,
		strata    = nil,
		level     = 2,
		btn_size  = 36,
		block_gap = 10,
		btn_gap   = 1,
		inset     = 3,
		
		border =
		{
			backdrop =
			{
				bgFile   = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBg.blp", 
				edgeFile = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBorder.blp", 
				tile     = true, 
				tileSize = 1, 
				edgeSize = 12, 
				insets   = {left = 0, right = 0, top = 0, bottom = 0},
			},
			border_color = { r = 1, g = 1, b = 1, a = 1 },
			backdrop_color = { r = 0, g = 0, b = 0, a = 0.35 },
		}
	},
};
Comes out as this for solo play:
Also shown G15 Keys, and Carbonite running.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_051809_201211.jpg
Views:	1332
Size:	148.9 KB
ID:	2667  
__________________
The strength of the wolf is the pack, and the strength of the pack is the wolf.
 
01-29-11, 12:29 AM   #3
bgdish
A Deviate Faerie Dragon
Join Date: Dec 2009
Posts: 10
Is it possible for this to be done for just a certain character without having to change the lua file each time you switch toons?

Thanks in advance.
 
01-29-11, 03:09 AM   #4
Chmee
A Molten Giant
Join Date: Dec 2006
Posts: 960
Duplicate the stock nUI+ folder in the addons folder, and name the copy nUI++. Edit the copy's .lua file. In the Addons list at the login screen, enable nUI+, and disable nUI++, for all toons. then go into your one toon's addon list, and disable nUI+, and enable nUI++. That should work.
 
02-01-11, 07:41 AM   #5
Twis_Ted
A Murloc Raider
Join Date: Oct 2009
Posts: 7
I play with an N52 also, with the same 6, 11 as Shift and Ctrl also, and I like the idea of what you have done. One question though, is there a way to make it so the cast bar is 5 on top, 4 in the middle, and 3 underneath like the N52 is when it is set up that way.
Code:
[  1  ][  2  ][  3  ][  4  ][  5  ]
       [  6  ][  7  ][  8  ][  9  ]
       [ 10  ][ 11  ][ 12  ]
That way it is more visual / tactile what we are hitting?

And just out of curiosity what do you have the other buttons and wheel set up as. I use the Thumb button for Vent, and Up D-pad For Mumble, and the wheel up for tab, and down for next PvP target, click last target.
 
02-02-11, 09:10 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
At present there's no way to have the action bars have a different number of buttons on each row, nor is that planned for nUI6. It's something I'll keep in mind for future development, but at this time, the best you could do would be 5, 5 and 2 or 6 and 6.
__________________

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/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Customizing Layouts » N52te button layout


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