PDA

View Full Version : Mirage: Togglable Overlay for UI Elements


Aiiane
02-15-2009, 07:23 AM
Mirage Current Version: 1.2

Download Link: Mirage @ Curse (http://war.curse.com/downloads/war-addons/details/mirage.aspx)
Mirage creates an overlay to which UI elements may be attached, and then hidden/shown at will via key binding. For instance, one could attach the quest tracker, zone control bar, xp, and rp bars to the overlay, and then be able to have them hidden most of the time and only glance at them when you choose to show the overlay. What you choose to attach is completely up to you.
The binding can be customized, as can whether the overlay has a tinted background or not.

Usage

To bring up the Mirage settings window, use /mirage (if you have LibSlash) or /script Mirage.OpenSettings() (if you don't).


To add a window to the overlay, click "Add", then click the window you want to add.
To remove a window from the overlay, select it in the list, then click "Remove".
To change what name is displayed for a given window in the list, click "Rename".



Click "View" to toggle whether the overlay is visible or not. You can also press whatever key is associated with the Mirage binding.
Click "Tint" to toggle whether the overlay will tint non-overlay items when it is visible.
Click "Bind:___" to set which hotbar button binding is used to toggle the overlay's visibility. By default, this is hotbar button 118.

Advanced Usage

Users who wish to add/remove windows by name instead of by clicking (if they know the internal window name they wish to add/remove) can use the following commands:


/script Mirage.AddWindowByName("WindowNameGoesHere")
/script Mirage.RemoveWindowByName("WindowNameGoesHere")

Aiiane
02-16-2009, 03:05 AM
The initial glitches that were present in the initial release should be mostly worked out as of 1.2. Let me know if you find any others. :)

Chedaa
02-19-2009, 04:38 AM
Hi, thanks for this addon :)

Just some questions :

- how can i hide xpanels's panels ? ( => http://tof.canardpc.com/show/f3066401-f8af-4bfb-a3a6-095ac3b41651.html i want to remove the artworks, they are movable via the UI layout editor, but i cannot select them in Mirage ).

Btw some bugs, if i hide everything and then /reloadui :
- zminimap reset to defaut position
- same for moral tactics 's icon
- same for the quest tracker icon


( sorry for my english )

Aiiane
02-19-2009, 05:49 AM
Hi, thanks for this addon :)

Just some questions :

- how can i hide xpanels's panels ? ( => http://tof.canardpc.com/show/f3066401-f8af-4bfb-a3a6-095ac3b41651.html i want to remove the artworks, they are movable via the UI layout editor, but i cannot select them in Mirage ).

Btw some bugs, if i hide everything and then /reloadui :
- zminimap reset to defaut position
- same for moral tactics 's icon
- same for the quest tracker icon


( sorry for my english )

If you know the internal names of the panel windows, you can use the /script commands mentioned in the Mirage description above. Otherwise, it's not possible to add non-clickable windows.

If a particular window is resetting its position, that has something to do with specific properties of how that window is behaving, not Mirage - Mirage does exactly the same thing for each and every window.

KamiYaku
02-19-2009, 08:29 AM
this is the addon i was waiting for, going to test it as soon as I get home

thanks for making this ;)

one question, are you still able to target players, npcs through the overlays when they are hidden?

computerpunk
02-19-2009, 11:29 AM
I looked in the User\Interface\AllCharacters\Mirage saved variables and it put the Point, Relative Point, RelativeTo on Center. That would be a bit weird.

Aiiane
02-19-2009, 03:53 PM
one question, are you still able to target players, npcs through the overlays when they are hidden?

Yes, you are able to do so.

Yakar
02-21-2009, 09:32 PM
is it possible to have more than one keybinding? i would like to set different windows to different keys, like hide/unhide the influence bar with 119 -> "i", showing scenario stats with 118 -> "o" and hide/unhide state of realm with 107 -> "p" :)

Witchboon
02-22-2009, 05:27 PM
is it possible to have more than one keybinding? i would like to set different windows to different keys, like hide/unhide the influence bar with 119 -> "i", showing scenario stats with 118 -> "o" and hide/unhide state of realm with 107 -> "p" :)

I'd like to see this, also, as I had expressed an interest in it via the war.curse.com Mirage listing. If enough people want it, perhaps it'll get implemented. It's still a mod I use now on a daily bases.

Tactics... hotbars... quests... State of the Realm ... everything; all neatly tucked away in the ether. :cool:

Prenlee
03-26-2009, 03:11 AM
Aiiane,

Would it be possible to have the windows hide/show on mouseover/mouseleave?