Seeing the numbers of requests for this feature and the fact that the available solutions are hard-coded I have added a new plugin that allows you to specify what profile and/or layout to use when zoning in a specific zone (yes it works for battleground too, arena may need to be tested)
zOMG totally overlooked this addon. No I don't need to code it ;)
Didn't have a chance to play with it, but got a question..
Can you add some kind of "default" zone that is used when none of the defined ones match?
E.g. I'd like to have "By Group" by default and for battlegrounds/arena different layouts.
Or is this already possible? Then I did not find it in the options :o
I don't think so.
Furthermore, I think the default zones you added are very sane (e.g. Arenas, Battlegrounds and BC raid instances).
Maybe it could be improved, if they had their layout already set to something, like say
- AV to "By Group 40"
- Warsong to "By Group 10"
- Arathi to "By Group 15"
- Karazhan and ZA to "By Group 10"
- 25-man raids to "By Group 25"
I believe though, that anyone using Grid will go through the options of a Grid plugin at least once after installing it, because that is what Grid is all about: customizing raid frames to your needs.
Also, beeing incredibly neat on little screen space :>
Anyway, thanks a lot for this mod. Can't wait for the default thingie!
I'm using a custom Layout which i've defined in GridLayoutForHealers since updates for this are very rare.
However, even with an unmodified version of GridLayoutForHealers installed, GridDynamicZoneSwitch only shows the layout options definded in the Grid core module and not the layouts defined in GridLayoutForHealers.
Also, the by dodga mentioned "default Zone" would be very helpfull.
Hope you (Mokhtar) have some time left to give some love to this Addon since i knew that you're more actively programming on GridDynamicLayout in the past.
I'll try and check what's going on although I'm due to move to India for a fortnight starting newt week so not sure I'll find the time before catching my plane.
Thanks for pointing that out :)
Edit : May I suggest that you backup your layout ? I'm sure someone is bound to update LayoutForHealers real soon with pet groups being in trunk now
I've got backups of my layout, an i love to see Jerrys branch finaly merged to the trunk version. Thats exact why i came up to test GridDynamicZoneSwitch, because with pets my custom layout have to differentiate by raidsize (40, 25, 15, 10, 5(for Arena)) and i would like to see these layout switches done automatically.
Just encountered another strange thing with GridDynamicZoneSwitch profile switch:
My standard profile is Class:Priest on my main and Class:Druid on my alt, however in GridDynamicZoneSwitch i could only select to switch to the default profile.
- Default settings added
- Corrected layout list bug
As for profiles, the only situation you might need a profile change is when you have user-defined profiles (I do, for example my frames are not the same size whether I'm in a 40-man raid or in a 10-man raid). Chances are if you only have the "Default" profile in the list that you don't need to use any other :)
When I delete a zone setting the list of zones does not update.
Selecting a zone then yields these errors: http://ace.pastey.net/81011
After relogging the zone is still there (but it's now clickable again).
OK step by step :
0/ You should be in default profile if you haven't for now messed with your profile settings, I will assume default profile
1/ Create a new profile : Grid / Profile / Other / input "SmallGroups" in the text box and press enter key
2/ Copy from default profile : Grid / Profile / Copy from / choose "Default"
3/ Drag your Grid frame wherever you want it for 5-15 mens
4/ Create a new profile : Grid / Profile / Other / input "BigGroups" in the text box and press enter key
5/ Copy from default profile : Grid / Profile / Copy from / choose "Default"
6/ Drag your Grid frame wherever you want it for 25-40 mens
Now all you have to do is setup GridDynamicZoneSwitch to use this or that profile when zoning in appropriate instance :
For example for Alterac Valley, go into "DynamicZone Switch", select "Alterac Valley", click "Enable" chackbox, choode "Profile" in the mode field and then in the profile field choose "BigGroups". Do the same for each raid instance / bg and voila...
Having a problem with this mod, on zone-in, I get these errors:
[2008/04/06 23:27:31-588-x1]: Grid-60898\GridCore.lua:158: attempt to call method 'Reset' (a nil value)
Waterfall-1.0-67025 (Aloft):3404: in function <...ce\AddOns\Aloft\Libs\Waterfall-1.0\Waterfall-1.0.lua:3392>
Waterfall-1.0-67025 (Aloft):3436: in function <...ce\AddOns\Aloft\Libs\Waterfall-1.0\Waterfall-1.0.lua:3430>
[2008/04/06 23:27:52-588-x1]: Grid-60898\GridCore.lua:158: attempt to call method 'Reset' (a nil value)
GridDynamicZoneSwitch\GridDynamicZoneSwitch.lua:474: in function `applyZoneSettings'
GridDynamicZoneSwitch\GridDynamicZoneSwitch.lua:458: in function <...dOns\GridDynamicZoneSwitch\GridDynamicZoneSwitch.lua:449>
<in C code>: ?
AceEvent-2.0-66043 (Ace2):298: in function `TriggerEvent'
AceEvent-2.0-66043 (Ace2):372: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:345>
When i look at the profile, it looks like it swaps the profile but it won't actually switch until I do a reload ui. Kind of defeats the purpose then of it, if I have to reload manually.
Juste tested it and it's working fine for me... From what I see it's more likely there was a problem with Grid and the method I call to change layout... If there was it has been corrected however as it's working fine now...