LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   Interface Help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=3)
-   -   Helping removing auto-attack icon from Jack UI 5.1 (https://www.lotrointerface.com/forums/showthread.php?t=1116)

Sirconis 10-02-2010 03:33 AM

Helping removing auto-attack icon from Jack UI 5.1
 
I've tried adding this into the XML file, but it's not working:

Code:

<PanelFile ID="toolbar">
        <Element ID="AutoAttackIndicatorButton" X="0" Y="0" Width="1" Height="1"> </Element>
        <Element ID="ViolentModeIndicator" X="0" Y="0" Width="1" Height="1"> </Element>
</PanelFile>

Link to the UI: http://www.lotrointerface.com/downlo...ack-UI5.1.html

What am I doing wrong?

daimon 10-02-2010 04:47 AM

Code:

<PanelFile ID="ID_UISkin_Toolbar">
  <Element ID="ToolbarField" X="0" Y="513" Width="1024" Height="200">
    <Element ID="AutoAttackIndicatorButton" X="249" Y="128" Width="1" Height="1"> </Element>
    <Element ID="ViolentModeIndicator" X="249" Y="128" Width="1" Height="1"> </Element>
  </Element>
</PanelFile>

In ToolbarField you have to calculate X and Y values for your resolution so the mainbar would center. Basically it's:

X=(screen width)/2 - (mainbar width)/2
Y=2000

Sirconis 10-02-2010 11:30 PM

Awesome, tyvm.


All times are GMT -5. The time now is 05:14 PM.

vBulletin® - Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© MMOUI