Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(5 Kb)
Download
Updated: 04-27-09 04:43 PM
Pictures
File Info
Updated:04-27-09 04:43 PM
Created:unknown
Downloads:4,848
Favorites:75
MD5:
Goose
Version: 1.6b
by: Alestane [More]
Goose is a simple state-based addon that dynamically hides selected chosen interface elements under the macro-able conditions of your choice. It's configured through the new Interface Options control panel. It can select frames based on a simple global name or a specific Lua identity.
1.5b - stripped out an issue with bad frame references.

1.3b - cleaned up a few more bad variable names.

1.2b - fixed that blasted InCombatLockDown bug.

1.1b - added a slash command for macro use:
/goose (open config)
/goose frame (unregister frame)
/goose frame conditions (register frame)

1.0b - Updated the add-on for the new Interface Options, and made it generically able to hide or show any frame on any conditions.
Optional Files (0)


Post A Reply Comment Options
Unread 07-19-10, 02:52 AM  
U1z
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Where do I start?
Thank you for making this addon, it provides the tools many addons don't have in their own options to enable custom condition hiding.

But, I do have 1 little problem.
I'm trying to hide my Shadowed Unit Frames. My frame is SUFUnitplayer (my hp/m bars) and I've got [group] show; hide as condition. This works great for the minimap, but for SUF it just blinks. It's disappears for a second and is then back.

Any idea what's going on?
Thanks in advance
U1z is offline Report comment to moderator  
Reply With Quote
Unread 06-06-10, 08:07 PM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 14
Originally posted by Gob
I managed to hide my player frame when ooc, and then I was hiding some buffs, when suddenly some old commands that I had deleted came back, hiding stuff i didnt want hidden, and the commands for them dont show up in /goose
The GUI for Goose is having some documented issues, which I hope to fix, but probably won't get to much before Cataclysm.

In the mean time, it seems to work fairly well if you stick to using the slash command to set your frames and conditions:

/goose PlayerFrame [someCondition] show; hide
Alestane is offline Report comment to moderator  
Reply With Quote
Unread 06-02-10, 06:49 PM  
Gob
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
I managed to hide my player frame when ooc, and then I was hiding some buffs, when suddenly some old commands that I had deleted came back, hiding stuff i didnt want hidden, and the commands for them dont show up in /goose
Gob is offline Report comment to moderator  
Reply With Quote
Unread 06-02-10, 06:07 PM  
Gob
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
I found the name of the default health and mana bars, as wells as the target frame outline frame (TargetFrameTextureFrame), but Im having trouble getting just what I want.

How can I hide all but the circular portions of the player and target frames?
Gob is offline Report comment to moderator  
Reply With Quote
Unread 06-02-10, 04:52 PM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 14
Originally posted by Gob
How do I find the frame names for various frames?

Type /framestack and point at things.
for instance I want to hide the player portrait frame when out of combat and no target selected
If you're using the stock player frame it's really easy:
Code:
[combat][exists] show; hide
Alestane is offline Report comment to moderator  
Reply With Quote
Unread 06-02-10, 07:50 AM  
Gob
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
How do I find the frame names for various frames?
for instance I want to hide the player portrait frame when out of combat and no target selected
Gob is offline Report comment to moderator  
Reply With Quote
Unread 04-07-10, 08:13 PM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 14
Re: Love the mod.

Originally posted by dorn
I am LOVING this mod. I have one problem with it though :/. For some reason when I try to enter options for more than one frame it erases old entries. Basically I can only keep an entry for one frame total.
I've heard of people having issues with the GUI, but haven't a chance to test these rigorously myself yet.

Try setting frames through the /command:
/goose frameName [some,options] show; hide
or similar.
Last edited by Alestane : 04-07-10 at 08:14 PM.
Alestane is offline Report comment to moderator  
Reply With Quote
Unread 04-07-10, 08:12 PM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 14
Originally posted by Gryzvwald
To clarify all 3 tabs are docked to ChatFrame1. All 3 tabs and frame do hide on combat. But when combat is over and I switch to combat log or the 3rd tab the contents of ChatFrame1 are still visible in those frames.
This isn't a problem that Goose will be able to solve easily. The three frames are separate widgets and Goose has no way of knowing which ones are already shown.

Your problem should be solvable, but it requires a little more (and more specific) logic than Goose was designed to handle. You're probably looking at a custom micromod.
Alestane is offline Report comment to moderator  
Reply With Quote
Unread 04-06-10, 03:59 PM  
dorn
A Defias Bandit

Forum posts: 2
File comments: 15
Uploads: 0
Love the mod.

I am LOVING this mod. I have one problem with it though :/. For some reason when I try to enter options for more than one frame it erases old entries. Basically I can only keep an entry for one frame total.
dorn is offline Report comment to moderator  
Reply With Quote
Unread 04-06-10, 01:51 PM  
Gryzvwald
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
Alestane

I have three chat tabs at the moment and unfortunately no combination I enter seems to make Goose work correctly. As soon as I enter ChatFrame1 or DEFAULT_CHAT_FRAME and the [combat] hide; show things go amiss. If I switch chat tabs ChatFrame1 is still visible.

To clarify all 3 tabs are docked to ChatFrame1. All 3 tabs and frame do hide on combat. But when combat is over and I switch to combat log or the 3rd tab the contents of ChatFrame1 are still visible in those frames.
Last edited by Gryzvwald : 04-06-10 at 01:55 PM.
Gryzvwald is offline Report comment to moderator  
Reply With Quote
Unread 01-24-10, 07:39 PM  
Skryn
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: hiding chat frame

Originally posted by herick
what would I have to input to hide the chat frame when I enter combat, and for it to reappear when I leave combat?
DEFAULT_CHAT_FRAME
[combat] hide;show
Skryn is offline Report comment to moderator  
Reply With Quote
Unread 01-19-10, 02:53 PM  
herick
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
hiding chat frame

what would I have to input to hide the chat frame when I enter combat, and for it to reappear when I leave combat?
herick is offline Report comment to moderator  
Reply With Quote
Unread 09-28-09, 11:10 AM  
Alestane
A Cobalt Mageweaver
AddOn Author - Click to view AddOns

Forum posts: 234
File comments: 58
Uploads: 14
Originally posted by rookieofyear619
Is there anyway to hide a frame when out of combat, as well as anytime im in arena or battlegrounds regardless of combat state.
There isn't presently a macro condition for being in a battleground, but you could use something like the following for Arenas:

[nocombat][target=arena1,exists] hide; show
Alestane is offline Report comment to moderator  
Reply With Quote
Unread 09-27-09, 10:48 PM  
rookieofyear619
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Is there anyway to hide a frame when out of combat, as well as anytime im in arena or battlegrounds regardless of combat state. I use EventHorizon for pve, but not for pvp, and it just seems in the way in pvp, so i want to hide it when im in arenas and BG's, but still use it when im in combat elsewhere. Thanks
rookieofyear619 is offline Report comment to moderator  
Reply With Quote
Unread 09-02-09, 10:01 AM  
xtoq
An Aku'mai Servant
 
xtoq's Avatar
AddOn Author - Click to view AddOns

Forum posts: 32
File comments: 641
Uploads: 3
Originally posted by Qupe
e: figured out what I needed but having an issue when trying to add more than 2 entries. As soon as i add the third entry one of the older ones gets deleted.
I have this problem too, but the entries are not deleted, they are just not visible on my screen. If I add them all at once, I can add many many many entries, but if I want to go back and edit them I cannot, but they still work. Here's how to reproduce this for me:

Open Goose config.
Add 5 entries. See your frames do what they are supposed to.
Close config.
Open config again.
See that there are either: 3 entries showing (the first 3) or that there are no entries showing (seems to happen if there are a lot of entries; the former happens if there are only about 4 or 5).
Press "Add." You will get an entry already filled out with information from a previous entry.

On another note, does anyone know if there is some conditional I can set for being in a vehicle? I want frames to show if I'm in one, but the only thing I can find is [pet], and as a warlock this is not ideal for me.
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.