lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > General Discussion & Support > Interface Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 01-23-2012, 08:02 AM
Wazer95 Wazer95 is offline
The Wary
 
Join Date: Jan 2012
Posts: 2
Having plugin addons less in the way...

Often when I come upon an amazing sight in Middle Earth I stop and take a picture, but its dificult to capture the right moment when I have to go in and unload all my plugins because many of their icons dont disapear when the UI is disabled (f12). Also, plugins like LotRO Compendium, MoorMap, Songbook, and LotROPad dont go under a window when it is placed above its icons, is there a way to fix that?
Reply With Quote
  #2  
Unread 01-23-2012, 08:40 AM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 339
Having Icons disappear under other windows just leads to complaints about how they can't be found. Plugins like MoorMap have an option to use chat commands (which can be bound to quickslots if desired) to control the plugin visibility and hide the icon completely. In the case of MoorMap, the chat commands are listed in the plugin description and the option to hide the minimized icon is in the Options panel.
Reply With Quote
  #3  
Unread 01-23-2012, 08:51 AM
lunarwtr's Avatar
lunarwtr lunarwtr is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2011
Posts: 121
LoTRO Compendium as of 2 releases ago should also have a way to hide its icon in the configuration tab. It also listens for F12.
__________________
Author of Lotro Compendium, Waypoint, and Lotro Plugin Compendium (LPC)
Reply With Quote
  #4  
Unread 01-23-2012, 12:04 PM
D.H1cks's Avatar
D.H1cks D.H1cks is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 162
Make sure to send your comments directly to the author of any plugins that don't behave the way you wish. They might just add the feature you want.
Reply With Quote
  #5  
Unread 01-23-2012, 03:50 PM
Wazer95 Wazer95 is offline
The Wary
 
Join Date: Jan 2012
Posts: 2
Thanks for the responses, and I commented on a few of them. The main question/hope of the thread was to see if there was a "universally working" line of code I could add to one of the files. Its a strech, but worth asking lol
Reply With Quote
  #6  
Unread 01-23-2012, 06:31 PM
D.H1cks's Avatar
D.H1cks D.H1cks is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 162
Quote:
Originally Posted by Wazer95
Thanks for the responses, and I commented on a few of them. The main question/hope of the thread was to see if there was a "universally working" line of code I could add to one of the files. Its a strech, but worth asking lol
Its fairly easy to implement (hiding when pressing F12), but not quite that easy.
Reply With Quote
  #7  
Unread 01-24-2012, 07:41 AM
Digital_Utopia's Avatar
Digital_Utopia Digital_Utopia is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 207
Send a message via MSN to Digital_Utopia Send a message via Yahoo to Digital_Utopia
Code:
self.KeyDown = function(sender,args)
		if (args.Action == 268435579)then
			if(self.doLayout==true)then
				self.doLayout=false;
				self.positionMode();
				self.posWindow:SetVisible(false);
			else
				self.doLayout=true;
				if(self.hideUI==false)then
				self.positionMode();
				self.posWindow:SetVisible(true);
				end
			end
		end
		if (args.Action == 268435635)then
			
			if(self.hideUI==true)then
				self.hideUI=false;
				self.hidingUI();
				if(self.onlyInCombat==false)then
					self:SetVisibility("visible");
				elseif(self.onlyInCombat==true and self.inCombat==true)then
					self:SetVisibility("visible");
				end
				if(self.doLayout==true)then
					self.positionMode();
					self.posWindow:SetVisible(true);
				end
				if(self.showDebuffBar==true)then
				self.dbb:SetVisible(true);
				end
			else
				self.hideUI=true;
				self.hidingUI();
				self:SetVisibility("hidden");
				self.posWindow:SetVisible(false);
				self.dbb:SetVisible(false);
				
			end
		end
	end
This is the chunk of code that Palantir uses to respond to layout mode (ctrl+\) and respond to hiding the UI (F12). Some of it is pretty ugly admittedly, but in essence, action 268435579 is the "action" for entering/exiting layout mode, and action 268435635 is the action for hiding/showing the UI. The general idea here was for Palantir to act as closely as possible to real UI elements, but there was some added complexity due to the ability to show/hide Palantir based on combat criteria.

There is one, potentially huge, caveat. In Lua we lack the ability to determine whether or not the player is actually in UI positioning mode, or actually has the UI hidden or not. All we can do is react to the action. While it's very unlikely, if not impossible for someone to load a plugin while their UI is hidden, the same can't be said for positioning mode. In that case, you'd end up with the annoying situation where the plugin's positioning mode would be opposite of the rest of the UI elements, so some care is required by the player.
__________________

Lord of the Rings Online
75 Fourohfour | 75 Artemedis | 60 Whiskeytango Foxtrot | 50 Mistah Boombastic | 56 Appetizer | 25 Aggromi
61 Onepointtwentyone Gigawatts


World of Warcraft
90 Downlo 85 Gravetaxi 85 Ümad 85 Artemedis 85 Guthuros
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does addons work in the french version? aswered Interface Help (L) 5 04-09-2011 12:24 AM
New TurbinePlugin break most of addons Eili Script & Skin Managers 5 12-01-2010 06:45 PM
About addons evi Interface Help (L) 1 09-13-2010 04:57 AM
functional UI's/addons/mods Nisala Interface Requests (L) 4 08-06-2008 04:36 PM
Need help to install few addons.. Fixer Interface Help (L) 19 06-05-2007 10:06 AM


All times are GMT -5. The time now is 05:36 AM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui