lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > General Authoring Discussion (L)

Reply
Thread Tools Display Modes
  #1  
Unread 10-19-2010, 05:47 PM
Travisimo's Avatar
Travisimo Travisimo is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 22
Skinning: Right-side toolbar/mainbar/letterbox

(Wasn't sure where to put this (forum-wise) so feel free to move it anywhere...)

I am attempting to move the toolbar/mainbar/letterbox to the right-side of the screen, though staying at the bottom. By default, the toolbar/mainbar/letterbox is positioned in the middle, so can anyone supply the code needed to move the toolbar/mainbar/letterbox to the right side, so the LotRO Store can be found at the bottom-right corner?

My resolution is 1024x768, if that is needed.

PS: (If its possible, can you include the experience bar moved to the right as well?)

Last edited by Travisimo : 10-19-2010 at 05:54 PM.
Reply With Quote
  #2  
Unread 10-19-2010, 06:23 PM
daimon's Avatar
daimon daimon is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Aug 2007
Location: Finland
Posts: 466
All you have to do is to add this

Code:
<PanelFile ID="ID_UISkin_Toolbar">
  <Element ID="ToolbarField" X="2000" Y="2000" Width="1024" Height="200"> </Element>
</PanelFile>
and that should do it.

ToolbarField is the tag you need to tweak
X=0 moves the bar to the left
X=2000 moves the bar to the right
Y=0 moves the bar to the top
Y=2000 moves the bar to the bottom
If you want to center the bar:
  • screen_resolution/2 - Width/2
    • width=mainbar width
Why value 2000 ? The Lotro UI doesn't allow overlapping even if you use overly large numbers. It will just move the bar as far as it can go inside the users screen resolution without going over the screen borders.

Note. As soon as you edit the mainbar and add ID_UISkin_Toolbar PanelFile into your skin there are a few set backs:
  • You will lose multiresolution support if the mainbar is suppose to be centered. In that case you need to make a different skindef for every resolution your users might want to/are using. This doesn't matter though if your custom mainbar is not supposed to be centered (like the example you were asking).
  • If you switch between fullscreen mode and windowed mode the UI will "break" and you need to relog to fix the issue.
In PanelFile ID="ID_UISkin_Toolbar" you can find all kinds of stuff you can do for the mainbar, for example make the xp bar wider or narrow (you can't modify xp bar's height though).


If your mainbar isn't standard sized (x1024 y90) you will need to modify the Width/Height values of ToolbarField and ToolbarFieldMain accordingly:
  • ToolbarField
    • Width=your mainbar width
    • Height=200
      • if your mainbar is over 200 then use then set height same as your mainbar height
  • ToolbarFieldMain
    • Width=your mainbar width
    • Height=your mainbar height
    • Y=200-your mainbar height
      • if your mainbar height is over 200 then set to Y=0
If your mainbar isn't standard size that will obviously affect pretty much everything else on the ID_UISkin_Toolbar as well.

XP bar is controlled by the following element ID's:
LevelMeter, LevelMeterFill, LevelMeter_BonusMeter, LevelMeterText
If you're planning to modify xp bar's width you should use the same width value in all of the above tags
__________________
~·~ DaimonUI ~·~
avatar by Humon

Last edited by daimon : 10-19-2010 at 06:59 PM.
Reply With Quote
Reply



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
Minimalized letterbox with all buttons Wicked Mouse XML modification help (D) 11 04-02-2008 04:42 PM
Toolbar to bottom, XP Bar atached on Bottom of Toolbar and Transparency Steamstalker XML modification help (L) 1 02-17-2008 02:23 PM
Problem with UI alignment (mainbar) jtzako Interface Help (L) 1 02-04-2008 11:56 AM
Note to all downloading skins with repositioned mainbar Weezl Interface Help (L) 0 07-06-2007 07:49 AM
Shrinking LetterBox not working... Kailvine Interface Help (L) 3 07-04-2007 05:30 AM


All times are GMT -5. The time now is 01:29 AM.


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