• World of Warcraft Addons
  • World of Warcraft
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

Kong UI Hider

 
Project Updated:
Files Updated: Sat, Nov 14 2009
Supports Game Version: 3.2.0
Category: Miscellaneous
Tags:

[Edit Tags]

Project Manager: xentaros
Additional Authors: No additional authors
Current Version: Kong UI Hider v0.9b
License: Public Domain
Development Site: CurseForge.com
Avg Daily DL (last 30 days): 4
Downloads Total: 3,815
Favorites: 8
Comments: 33
  • About Kong UI Hider
  •  

Warning: Upgrading from Kong v0.8a or earlier while World of Warcraft is running could cause your current Kong settings to be erased!

New: Kong now supports Profiles!

What is Kong?

Kong UI Hider is a small addon that can automatically fade out elements of the user interface (Minimap, PlayerFrame, Recount, etc.) and then show them again when moused-over, entering combat, or any of several other user-specified conditions are met.

Using Kong to Hide the User Interface

In order to hide any part of the User interface (UI), you must tell Kong to hide it. To do this, first position the mouse over the component you want hidden, then type:

/kong hide

That's all there is to it! You will notice that component will now slowly fade out when the cursor is moved elsewhere. However, if you return the cursor to the component, it will quickly fade back into view.

Note: It is important that cursor is always over the frame that you want to configure when issuing /kong commands. Each hidden frame has its own individual settings, and Kong uses the cursor to know which frame to configure.

Basic Customization

By default, any frame that is hidden by Kong using /kong hide will be shown under the following three conditions:

  1. The cursor is moved over the component
  2. The player enters combat
  3. The player enters a vehicle

This behavior can be customized using additional /kong commands. For example, to prevent a frame from appearing in combat, one can again place the cursor over the target component and type:

/kong combat hide

Once this command is issued, the frame will remain hidden until one of the other conditions listed above occurs. Similarly,

/kong vehicle hide

will prevent the frame from appearing while the player is riding on a vehicle.

In the event that one wishes to restore default combat and vehicle functionality, this can be done using the following :

/kong combat show
/kong vehicle show

Displaying the UI While Out of Combat

You may want certain frames to only appear when out of combat. This functionality is disabled by default, but can be enabled using:

/kong combat hide
/kong nocombat show

Macro conditions

Advanced users may want to take advantage of Kong's support for macro conditions to customize the visibility of their UI. The command /kong macro set, when given a macro condition inside [square brackets], will cause a UI component to be shown or hidden based on the given condition. For example:

/kong macro set [exists]

will show a frame when you have a target selected. The command:

/kong macro set [group:raid]

will show the frame when you are in a raid.

If at any time you wish to remove the macro condition from a frame, /kong macro clear can be used.

For a complete list of all the possible conditions, see http://www.wowwiki.com/Making_a_macro#Conditionals.

Mouseover Groups

Sometimes it may make sense to show several different frames when any of them are moused-over. For this purpose, Kong provides the /kong group command. This command takes an action (either add or remove) and a user-specified group name. For example:

/kong group add group1

will add the frame under the cursor to a group named 'group1'. The command must then be repeated for any other frames that you want to add to the group.

To remove a frame from a group, /kong group remove, followed by the group name will remove the frame from the mouseover group:

/kong group remove group1

Transparency

For those who want to further customize the way Kong displays the UI when fading components in and out, Kong offers a few additional commands. One of which, /kong alpha, can be used to configure the transparency of a component when it is being shown or hidden. This command must be passed the fade-direction (in or out) and the alpha (a value between 0 and 1 where 0 is completely transparent and 1 is opaque). For example, the command:

/kong alpha out .5
/kong alpha in 1

instructs Kong to display the frame at half alpha when faded out and full alpha when faded in. Likewise,

/kong alpha out 0
/kong alpha in .5

tells Kong to only display the frame at half alpha when faded in and hide it completely otherwise.

Fade Speed

Kong also allows you to customize the speed at which frames fade in and out. The command /kong speed takes a fade direction (in or out) and a duration (in seconds) over which the fade duration should take place. For example:

/kong speed in 0

will cause the frame under the cursor to fade in instantly, rather than over the default duration of .2 seconds. Fade duration can also be increased:

/kong speed out 3

This will cause the UI component to fade out over the course of 3 seconds each time it is hidden.

Condition-Specific Settings

Kong also allows condition-specific customizations. For example, say that we want a frame to appear instantly when moused-over, but fade in slowly when displayed for other reasons:

/kong mouseover speed in 0
/kong speed in 1

Here, the command /kong speed essentially sets the default fade-in speed, while /kong mouseover speed overrides that default with a condition-specific fade speed. The same overrides could be done for other conditions. For example:

/kong vehicle alpha in .3
/kong alpha in 1

will show the UI component beneath the cursor at only 30% alpha when in a vehicle, but fade it in to 100% when any other condition applies.

Disabling Kong

Sometimes you may want to be able to see the entire UI all at once without entering combat, etc. In these cases you can disable Kong, which will cause all hidden frames to be immediately shown. This can either be done by configuring a key to disable Kong in the Keybinds menu, or by issuing the following command:

/kong disable

Once Kong is disabled, you can re-enable it using either /kong enable or /kong toggle.

Experiment

You may have to play around with Kong to really get a feel for it. If you need help remembering commands in game, simply typing /kong will bring up a list of commands with brief descriptions, and typing /kong followed by a command will often give more specific details on the command.

  • Downloads (4)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  Kong UI Hider v0.9b Release 3.2.0 557 11/14/2009
  Kong UI Hider v0.9a Release 3.2.0 219 11/4/2009
  Kong UI Hider v0.9 Release 3.2.0 135 11/3/2009
  Kong UI Hider v0.8a Release 3.2.0 214 10/24/2009
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • mrplaya said

    Hey, i dont know if its due to the latest patch, but im having trouble with the addon.
    It works perfect, untill i log out and in again. It seems to 'forget' the settings when you log out.

    Reply Report Permalink
  • vayd said

    This addon rocks ... seriously. (I would donate, if I could.)

    Reply Report Permalink
  • AZMAK said

    Just letting you know Kong is being a little quirky after today's 3.3 patch.

    Kong still works in the sense that everything I had setup before the patch still works as I last configured it.

    What doesn't work now are the slash commands and any kong macros you may have made. When you try to actually type a kong slash command in the chat edit box when you try to hit the enter key it won't go through; that is to say hitting the enter key does nothing, it doesn't send the command through and the chat edit box remains open.

    So for example if I previously had frame A hidden and I wanted to put it back to normal, using a slash command or a kong macro no longer works and I cannot change the previous setting for that frame.

    This is the lua error I got when trying to use a macro:

    Date: 2009-12-08 23:21:05
    ID: 1
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\Kong\Kong.lua line 112:
    ref < 0 for frame: nil
    Debug:
    [C]: ?
    [C]: assert()
    Kong\Kong.lua:112: Kong_FadeOut()
    Kong\Kong.lua:320: Handler()
    Kong\Kong.lua:257: Kong_SingleFrameCommandHandler()
    Kong\Kong.lua:888: value()
    ..\FrameXML\ChatFrame.lua:3565: ChatEdit_ParseText()
    ..\FrameXML\ChatFrame.lua:3213: ChatEdit_SendText()
    ..\FrameXML\ChatFrame.lua:2304:
    ..\FrameXML\ChatFrame.lua:2297
    [C]: ?
    [C]: UseAction()
    ..\FrameXML\SecureTemplates.lua:310: handler()
    ..\FrameXML\SecureTemplates.lua:529: SecureActionButton_OnClick()
    ..\FrameXML\ActionButton.lua:40: ActionButtonUp()
    [string "ACTIONBUTTON7"]:4:
    [string "ACTIONBUTTON7"]:1

    I use the !Swatter addon (from the Auctioneer Suite) to catch any lua errors. After I got the error message above and tried to clear it in !Swatter it immediately throws another error at me saying:

    Date: 2009-12-08 23:23:39
    ID: 1
    Error occured in: Global
    Count: 22
    Message: ..\AddOns\Kong\Kong.lua line 112:
    ref < 0 for frame: nil
    Debug:
    [C]: ?
    [C]: assert()
    Kong\Kong.lua:112: Kong_FadeOut()
    Kong\Kong.lua:1199:
    Kong\Kong.lua:1149

    At THIS point, I can no longer clear the lua errors from !Swatter, every time I try it throws the 2nd error message I just showed you again and again. Only a UI reload or relogging stops it.

    Reply Report Permalink
  • xentaros said

    I think this is a bug that was introduce in v0.9b related to groups. I have a fix, but in the meantime, try using "/kong group remove" to remove the frame from any mouseover groups before using "/kong show".

    Reply Report Permalink
  • AZMAK said

    Hello xentaros,

    I love this addon! Any chance you can add just one more command? /kong reset to return every frame back to normal so we can start over again instead of either deleting the config files or going back and doing /kong show one frame at a time? A mass reset would be nice I think.

    If not that's okay, nothing 'cept you giving up this addon will make me stop using it!

    Reply Report Permalink
  • xentaros said

    Good suggestion; it's something I had thought about before and I kind of just forgot about it. In the mean time you can do:

    /kong profile create <name>

    This essentially does what you are describing by loading a fresh profile.

    Reply Report Permalink
  • AZMAK said

    Okay thanks xentaros,

    Another thing that came to mind and this may be more than what you really wanted in such a lightweight addon but with all the slash commands you have, to use them easily you need to make macros and well -- one for each below (that I personally use)

    /kong hide
    /kong show
    /kong toggle
    /kong combat hide
    /kong combat show
    /kong casting hide
    /kong casting show

    and then one like this below for each group you do

    /kong hide
    /kong combat show
    /kong casting show
    /kong group add group1

    well, that's a lot of macros and it takes up a lot of space in the /macro window considering Blizzard doesn't give us unlimited amount. Factor in special macros you make for spellcasters or tanks etc, that default macro window fills up fast.

    So I was thinking two thing things - You already have keybinding for hide and toggle and disable, could you add more for the other slash commands or better yet - maybe somehow (I have no idea how you would do this considering we need to use the mouse to hover over a frame) but maybe add an LDB or button bar we can use to access all these without making macros? As I said I don't have a clue how you would do that since if you made a button bar for each type of command, how would we click it and also hover mouse over frame at same time?

    Oh well. TBH I use an addon called MacroBank and I can create unlimited number of macros and load them as needed into the default macro window, use them, then delete them after (from default macro window) so I guess this isn't really an issue for me, but I think many people don't use that MacroBank addon.

    Any chance you can look into TourGuide and Dominos addons and see why we cannot use Kong on them? We can for the game session but if we relog or reload the UI they reappear again - Kong tells us it won't save the hidden state between game sessions. As far as Dominos goes it works on the actionbars
    and menu bars but not on the class bar or experience bar (not sure about pet or vehicle bars). It would be nice to hide the experience bar and my class bar also if possible (hide longer than just the gaming session that is).

    Anyhow, this is such an awesome addon and you would truly end my wow gaming if you stopped working on this addon! I wouldn't play WoW without it and I'm being serious! lol

    Have a great night!

    Reply Report Permalink
  • AZMAK said

    Also VuhDo! doesn't save between sessions. VuhDo is the end all be all next-generation Grid and Healbot!
    And Whammybar doesn't save either. Dynamic button bars for class specific abilities etc.

    Here is a sample image of my Kong setup.
    http://makaz.kicks-ass.net/publicdownloads/My_Kong_Sample.jpg

    The TourGuide LDB is at top right next to minimap, VuhDo is the pink Paladin bar you see, the 3 buttons next to that is the Dominos class bar and the experience bar at bottom. The Whammybar, in my paladin's case is only one bar but that is the little yellow triangle you see in collapsed form to right of Dominoes class buttons. I click the triangle to show the buttons.

    None of these save after game session.

    Reply Report Permalink
  • AZMAK said

    I had an idea about the button bar I suggested. I suppose it could work but I don't know the limits of LUA programming. If you did create a button bar so that we don't have to take up space in the default macro window - if you did make this button bar you could do it so that we click a button and then we have like 5 to 8 seconds to then move the mouse over a frame and click that.

    Would that be possible or did I go overboard with my long posts and suggestion? lol I'm sorry.

    Though another idea, is /kong target show and /kong target hide. The idea being that when we click a target we can have our actionbars show up so that those players who use a range check addon can target a mob and have the actionbar show up so that we can tell if we are in range of spellcast for example. Right now, the actionbar only shows up if we do a successful spellCAST or enter combat, so until we actually start casting a spell we have no idea if we are in range or not until we hear the spell failure sound saying out of range.

    If you want an idea how to make it work with targeting take a look at this HUD addon MetaHud. It has that feature to hide when not targeting someone and show when you do.

    http://wow.curse.com/downloads/wow-addons/details/mh-nuckin.aspx

    I won't bother you no more lol.

    Bye now.

    Reply Report Permalink
  • xentaros said

    Holy crap wall of text. There's a lot of stuff there but the one thing I want to say is that target-based frame visibility is supported via the macro command:

    /kong macro [exists]

    This will cause the frame to appear when you have a target.

    Reply Report Permalink
  • Love the guide! Makes this a lot easier to use now. This has really turned into the first addon I install when I play on a new computer. Thanks for the great help and Great addon!

    Reply Report Permalink
  • Hey! I'm glad the addon is getting updates and new features are being added, but it has started to get a little harder to configure the addon. Can you or someone make a list of all the (current) slash commands, and how they work together? I'm specifically having trouble getting alpha to work out of combat for my frames.

    Currently I'm using:
    /kong hide
    /kong nocombat show
    /kong alpha in .5
    /kong alpha out .5

    This doesn't seem to produce the desired results, and instead my frames are still at 100% visibility when I am out or in combat, instead of the desired 50% opacity out of combat.

    Also, I think I'm experiencing a bug. I'll describe it and maybe you can tell me where I'm going wrong.

    I start out of combat, with all my frames at 100% visibility. (I want them to be at 50%) When I enter combat, my frames are still at 100% visibility. (I want this, so working great.) After combat however, all my frames disappear, going to 0% visibility. (Ack! Terrible!) If I mouse over the frames, they return to 100% visibility, and stay that way until the process repeats. If I don't mouseover a frame that has been hidden in this way, it won't appear in or out of combat, regardless of the slash commands I have used for it.

    I'm using the latest version, but this has been happening since I started using the newer versions of Kong. (Everything worked perfectly before 3.2)

    If this description hasn't been helpful, I can try to make a video of my experience and upload it to youtube. (Also, not sure if it makes a difference, but I have cleared out any kong.* files in my wtf folder before updating, and I'm using the Curse Client to install and update the addon.)

    If I can be any further assistance, just let me know. Thanks a lot, I love the addon!

    Reply Report Permalink
  • xentaros said

    If I understand correctly, you only need 2 commands to accomplish the desired functionality:

    /kong hide
    /kong alpha out .5

    This will display your frames at full alpha in combat and half alpha out of combat. Is this what you are after?

    You may be right that all of the different commands are getting confusing, and I agree that some additional documentation is in order. I'll work on putting something up on this page. Check back soon and let me know what you think.

    Reply Report Permalink
  • xentaros said

    Also, I have a feeling that your bug is due to the peculiar combination of commands being issued. I'll investigate further when I get home from work.

    Reply Report Permalink
  • Thank you for the information, that is exactly what I was doing wrong, using too many commands. I was trying to make everything more complicated than it needs to be. (I was used to the older version where I needed a few more commands.) This has totally cleared up the issues I was having. Thanks again for your help, I really appreciate it!

    I do think some Documentation and possible a few examples would really brighten up the page and make the addon a lot more newbie friendly, (and even help out the oldies like me used to the complicated ways.)

    Thanks again, Love the addon!

    Reply Report Permalink
  • xentaros said

    I just uploaded version 0.8a. Its mainly a bugfix version. Profiles are still planned for the next major version.

    Reply Report Permalink
  • Mythrilia said

    Great addon, I just wish there was a way to hide the quest givers and the town arrows (or party arrows) on the minimap when it is hidden.

    Reply Report Permalink
  • xentaros said

    This functionality is live as of version 0.8a.

    Reply Report Permalink
  • Love the Updates! You and Strife are the best!

    Reply Report Permalink
  • F4c2a said

    Can't get to work. Tried 6a, didn't work, 0.7, didn't work, even tried 0.5 and it didn't work:

    It somehow misses me being in combat. It's insanely weird, cause everytime I tried to make sense out of it it did something new. Like if I set alpha in nocombat to .8 it sets the same alpha to combat... ...the only function I could make it perform was showing frames in combat, which is exactly the opposite of what I want... ...and sometimes even then when I'd leave combat, it would seriously bug out, and just leave the frame hidden until I hovered my mouse on it.

    I've got xperl and nameplates powa and ghostpulse gladius quartz... regular stuff like that. :p

    Bummer! Thanks for all the work on teh addon. :p

    Reply Report Permalink
  • Addon Packs Containing Kong UI Hider

Most Downloads / Day

Kong UI Hider has not been added to any Addon Packs yet.

  • Similar Addons
  •  

Average downloads per day

  1. 681 Skinner Miscellaneous
  2. 522 FuBar 3.6 Miscellaneous
  3. 359 Talented Miscellaneous
  4. 242 Fishing Buddy -- Tracking Miscellaneous
  5. 222 MoveAnything Miscellaneous