GridCustomLayouts
An extension for Grid.
GridLayoutLayouts.lua file contains many "Layouts" to arrange the unit buttons. Sometimes we may find it doesn't meet the needs.
This extension makes it possible to add new layouts in game. And it simplified the code to describe a layout.
Click "Grid - Layouts - Custom Layouts" to bring up a edit frame.
Each line stands for a Unit Button Group. The Grammer is:
attribute1=value1;attribute2=value2;...;attributeN=valueN;
List of the attributes
================================================
showRaid = [BOOLEAN] - true if the header should be shown while in a raid
showParty = [BOOLEAN] - true if the header should be shown while in a party and not in a raid
showPlayer = [BOOLEAN] - true if the header should show the player when not in a raid
showSolo = [BOOLEAN] - true if the header should be shown while not in a group (implies showPlayer)
nameList = [STRING] - a comma separated list of player names (not used if 'groupFilter' is set)
groupFilter = [1-8, STRING] - a comma seperated list of raid group numbers and/or uppercase class names and/or uppercase roles
strictFiltering = [BOOLEAN] - if true, then characters must match both a group and a class from the groupFilter list
sortMethod = ["INDEX", "NAME"] - defines how the group is sorted (Default: "INDEX")
sortDir = ["ASC", "DESC"] - defines the sort order (Default: "ASC")
groupBy = [nil, "GROUP", "CLASS", "ROLE"] - specifies a "grouping" type to apply before regular sorting (Default: nil)
groupingOrder = [STRING] - specifies the order of the groupings (ie. "1,2,3,4,5,6,7,8")
maxColumns = [NUMBER] - maximum number of columns the header will create (Default: 1)
unitsPerColumn = [NUMBER or nil] - maximum units that will be displayed in a singe column, nil is infinate (Default: nil)
The simplify is:
You don't need the entire class/role name, just the start part of it :
WARLOCK or WARLOC or WARL or WL -> "WARLOCK"
WARRIOR or WARR -> "WARRIOR"
MAINT or MT -> "MAINTANK"
MAINA or MA -> "MAINASSIST"
5/2 -> unitsPerColumn="5";maxColumns="2"
PET -> isPetGroup=true
INDEX or NAME -> sortMethod="INDEX" or sortMethod="NAME"
ASC or DESC -> sortDir="ASC" or sortDir="DESC"
STRICT -> strictFiltering="true"
GROUP or CLASS or ROLE -> groupBy="GROUP" or groupBy="CLASS" or groupBy="ROLE"
You don't need to write "groupFilter=", for example:
1,2,3,4,5 is just the same as groupFilter="1,2,3,4,5"
WARR,PAL,DRU is just the same as groupFilter="WARRIOR,PALADIN,DRUID"
If the group name is not group ids and not class or role names, for example:
Abcde,Xyz will be parsed to nameList="Abcde,Xyz"
That's all. A little complicated though. Advanced user only :(
Actually, I don't use this much, just put it here for sharing.
Attribute: noRepeat = true
Now you can add a NOREPEAT(NOREP,NOR and NR is just the same) attribute to non-pet group header, for example
WARRIOR,PAL;NOREPEAT 1;NOREPEAT 2;NOREPEAT 3;NOREPEAT 4;NOREPEAT 5;NOREPEAT Someone,Anotherone
In the above layout, the first group will contains WARRIORs and PALADINs, but not Someone or Anotherone.
And the next 5 groups will contains team 1-5 members, but not Someone or Anotherone, neither any WARRIORs or PALs.
Actually, group headers with NOREPEAT are parsed to specified nameList groups, therefore the 'groupBy' attribute will be ignore.
-
View User Profile
-
Send Message
Posted Oct 18, 2010InsertPlayerNameHere
1,2,3,4,5,6,7,8;9/5;NR;sortMethod=INDEX
PET
This way I would get a seperate box for myself, then all other players neatly arranged in 9/5 and seperate pet-column(s). I used NR to keep my name from showing twice. I noticed that in the R19 build that I'm currently testing the NR (or NOR/NOREP) attribute doesn't seem to work. As soon as I add NR to any custom layout the border of the grid frame does expand as if it's making room for the first party/raid-members column and the petbar but it doesn't show any boxes for them.
I hope you can fix this.
Thanks for your time and effort.
-
View User Profile
-
Send Message
Posted Oct 18, 2010-
View User Profile
-
Send Message
Posted Oct 18, 2010-
View User Profile
-
Send Message
Posted Oct 18, 2010-
View User Profile
-
Send Message
Posted Oct 13, 2010-
View User Profile
-
Send Message
Posted Jun 13, 2010So i play arenas with the layout: By group5 w/ pets.
My question is: Can I make my player boxes and Pet box to line up on 1 line.
Like this:
[player]
[player]
[pet]
Not like it is currently
[player][pet]
[player]
-
View User Profile
-
Send Message
Posted May 6, 2010I'm trying to set it up so that my group (group 3) will be displayed first, followed by the other groups (making the order 3,1,2,4,5). And also for me to be listed at the top of my group. The overall effect being that my healthbox is in the topleft corner.
Ive been fiddling with it for a while now but I am still confused by the syntax.
-
View User Profile
-
Send Message
Posted Apr 25, 2010Anyone who can help me with this config? So what do I want?
Setup 1) 25 man with ora2 mt's
I want to show MT's and OT's that is set by oRA2 in group one. Rest of players including tanks in group 2-6. So 6 columns and 5 rows.
Setup 2) 25 man with ora2 mt's and pets
I want to show MT's and OT's that is set by oRA2 in group one. Rest of players including tanks in group 2-6. Pets in group 7-8. So 7-8 columns and 5 rows.
Example: http://img20.imageshack.us/img20/6676/gridora2mtpet25.jpg
Setup 3) 10 man with ora2 mt's
I want to show MT's and OT's that is set by oRA2 in group one. Rest of players including tanks in group 2-3. So 3 columns and 5 rows.
Setup 4) 10 man with ora2 mt's and pets
I want to show MT's and OT's that is set by oRA2 in group one. Rest of players including tanks in group 2-3. Pets group 4. So 4 columns and 5 rows.
Example: http://img534.imageshack.us/img534/7972/gridora2mtpet10.jpg
Is this possible to make? Can you capture oRA2 tanks or must it be Blizzard's MT's? I used to use GridoRA2Layouts but the newest versions of grid don't work together with that mod it seams.
-
View User Profile
-
Send Message
Posted Mar 28, 2010-
View User Profile
-
Send Message
Posted Mar 30, 2010I'm back to WOW these days :)
-
View User Profile
-
Send Message
Posted Jan 26, 2010-
View User Profile
-
Send Message
Posted Dec 26, 2009-
View User Profile
-
Send Message
Posted Dec 28, 2009-
View User Profile
-
Send Message
Posted Dec 29, 2009thanks alot
-
View User Profile
-
Send Message
Posted Dec 14, 2009Pets can't be together with players, they must in separate groups. By adding ";PET" to the end of a line, you will make a pets group of those players.
For example,
these are players.
these are pets, the first group only shows mages and warlocks' pets, the second group shows pets whose master is in party 1/2/3/4
FAQ is a good suggestion. But with my poor english, I can't easily describe a layout well...
-
View User Profile
-
Send Message
Posted Dec 14, 2009I have a custom layout to sort party order but I cannot figure out how to add pets to my group. Is the an FAQ that might help?
-
View User Profile
-
Send Message
Posted Dec 14, 2009Please tell me if it dosen't work as I don't play wow now.
-
View User Profile
-
Send Message
Posted Dec 14, 2009I love this addon so much!
Could you please update for patch 3.3? ^___^
-
View User Profile
-
Send Message
Posted Sep 10, 2009Group 1 = MTs from ORA2, and/or names I enter manually
Groups 2-6 = Groups 1-5 as they are set-up by the raid leader.
Can I get that layout properly using this add-on?
-
View User Profile
-
Send Message
Posted Sep 10, 2009