Help

GridCustomLayouts

Unit Frames Login to Add Favorites
  • 0 Likes
  • World of Warcraft
  • 29,705 Downloads
  • Supports: 4.0.6
  • 6 Average Daily Downloads
  • Comments
  • Created 5/30/2009 11:21:35 PM
  • Updated 5/4/2011 8:44:33 PM
  • 44 Favorites
  • Project Site
  • License: All Rights Reserved
  • Release Type: Release
  • Newest File: 1.05.05
or

About 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.

A new attribute was introduced since r6 :
Now you can add a NOREPEAT(NOREP,NOR and NR is just the same) attribute to some header, for example

1;NOR
2;NOR
3;NOR
4;NOR
5;NOR
Someone,Anotherone
WARRIOR,PAL;NR

In the above layout, the first 5 group will not show any of Someone or Anotherone, nor anyone of WARRIOR or PALADIN.
The 6th group only shows Someone and Anotherone, and if none of them is here, the entire group will not be shown.
The 7th group will show Warriors and Paladins, but not Someone or Anotherone, even their class is war or pal.

------------------------------------------------------------------------
r24 | warbaby | 2011-05-05 01:44:29 +0000 (Thu, 05 May 2011) | 1 line
Changed paths:
   A /tags/1.05.05 (from /trunk:23)

Tagging as 1.05.05
------------------------------------------------------------------------
r23 | warbaby | 2011-05-05 01:42:13 +0000 (Thu, 05 May 2011) | 1 line
Changed paths:
   M /trunk/GridCustomLayoutsFrame.xml

- fixed the 4.1.0 multiline editbox glitch
------------------------------------------------------------------------

Comments

First Previous Page 1 of 3 Next Last
  • #42
    Is this logic sound?

    Order=NAME
    Or
    Order=GROUP
    Or
    Order=ROLE

    If I typed one of these out would this work? Could group be changed to Order=1,2,3,4,5
    ?
  • #41
    Does this addon have the ability to order people in party or raid like they are represented in the blizzard raid?
    I don't want any ordering, just the order that Blizzard has, because I was healing the other day, and by default Grid order by name, and my healers were getting confused as to who I was healing on fights like chimeron.
    Is there a way to order like Blizzard without this mod?
  • #40
    Hi, great Addon!
    Before Cata I had my group sorted like this:

    Player, Party1, Party2, Party3, Party4

    I accidentally deleted my settings =(
    Now all I can do is:

    Party1, Party2, Party3, Party4, Player

    using "1;INDEX"
    What am I missing to get the desired order? =/


  • #39
    Just curious if this plugin can be configured to show each person's target. I'm finding I'd like to know for when my disc priest does her smiting. Right now I use Grid + Clique and a macro that target's my mouseover's target, but it'd be nice to know what that target is and when it's almost dead.

    I was thinking some like:

    P P P P P
    PT PT PT PT PT
    P P P P P
    PT PT PT PT PT
  • #37
    Also how would I eliminate the empty column dividing the players from the pets?
  • #38
    This is a bug in Grid itself, I asked over at WoW Interface and that's what the developer told me. There is an alpha version with a fix for it it apparently, though I haven't tried it.
  • #36
    Can someone tell me what the best way to set this up is?
    I want the groups in columns like normal, but I want all the pets to group in 1 column in 10 man rather than showing up in 3 columns like they are currently.
    What would be the simplest way to do that?
  • #35
    Hi,
    is it possible to use TANK, HEAL, DD for the new raid-roles (since patch 4)?
    I want a 5/2 grid for 10-raid and a 5/5 grid for 25-raid and just sort it like this:
    TANK
    WARR,PALA,DEATH,ROGUE (if no tank or heal)
    SHAM,DRU (if no tank or heal)
    all other classes (if no heal)
    HEAL

    is it possible?
  • #31
    I'm five-boxing.

    Would it be possible to have my five toons appear (alphabetically), in column 1.
    And for the remainder of the raid to appear (also alphabetically) in columns 2-5?
  • #33
    just 2 line

    ToonA,ToonB,ToonC,ToonD,ToonE;NAME
    1,2,3,4,5;5/4;NAME;NR
  • #34
    Thanks, will try that.

  • #32
    Would something like this work:

    ToonA,ToonB,ToonC,ToonD,ToonE;sortMethod = "List"
    2;NOR
    3;NOR
    4;NOR
    5;NOR
    2,3,4,5/5
  • #26
    I used the following custom-layout before 4.01:

    InsertPlayerNameHere
    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.
  • #28
    thanks for the detail, i get the problem, please wait...
  • #29
    Just installed the latest release version (0.10.19) and my NR problem seems solved. Thanks a lot. Really appreciate it.
  • To post a comment, please login or register a new account.
Learn how to disable ads
Learn how to disable ads
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster Addon Downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse.com Experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecraft 3D Print Giveaway

Enter Now!