lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Tutorials & Other Helpful Information (L)

Reply
Thread Tools Display Modes
  #1  
Unread 09-19-2010, 02:06 PM
Brygard2007's Avatar
Brygard2007 Brygard2007 is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2007
Location: http://www.youtube.com/user/Brygard2009
Posts: 183
Vitals black transparent background box xml code fixes.

This code is only fixes two things.

First:
The black transparent background box,there no skin for it as far I can tell.

The code will shrink the background box to the morale and power bar exact location.

This helpful for people who want to create a minimal skin art for the char and opponents vital bars and don't have to be restricted to that transparent box size anymore.

Second:
Fixes the miss align power bar with the morale bar.

The power bar is moved 1 pixel further to the right side leaving 1 pixel gap hole on the left side,this is now fixed for both vitals.

Pic:


Here's the code to add to the skindefinition file,I removed all excessive codes and only left the codes that deals specifically to the power bar and the black transparent bar nothing more nothing less then that.
Code:
                        <!--Player Vitals I only put the code to deal with the black transparent box on the vitals and power bar-->

 <PanelFile ID="ID_UISkin_AvatarPanel">
 <Element ID="AvatarPanel" X="0" Y="0" Width="284" Height="300"> 
 <Element ID="VitalsParent" X="0" Y="20" Width="300" Height="300"> 
 <Element ID="VitalsBg" X="96" Y="46" Width="164" Height="20"> </Element>
 <Element ID="VitalsField" X="96" Y="34" Width="168" Height="42"> 
 <Element ID="PowerField" X="0" Y="17" Width="164" Height="23"> 
 <Element ID="CurrentPowerMeter" X="0" Y="6" Width="164" Height="9"> 
  </Element> </Element> </Element> </Element> </Element>
 </PanelFile>

                        <!--Oponents vitals mainly to deal with black transparent box background and power bar-->

 <PanelFile ID="ID_UISkin_OpponentPanel">
 <Element ID="OpponentPanel" X="278" Y="1" Width="284" Height="300"> 
 <Element ID="VitalsParent" X="0" Y="20" Width="284" Height="300"> 
 <Element ID="OpponentDisplayParent" X="0" Y="0" Width="281" Height="300"> 
 <Element ID="Opponent_SelectionField" X="7" Y="0" Width="272" Height="120"> 
 <Element ID="OpponentsVitals_BG" X="10" Y="46" Width="164" Height="20"> </Element>
 <Element ID="OpponentVitalsField" X="10" Y="34" Width="168" Height="42">
 <Element ID="OpponentPowerField" X="0" Y="19" Width="164" Height="23">  
  </Element> </Element> </Element> </Element> </Element> </Element>
 </PanelFile>
Reply With Quote
  #2  
Unread 09-19-2010, 04:46 PM
Uthboth's Avatar
Uthboth Uthboth is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Location: Boise, Idaho USA
Posts: 48
Well done, well done indeed. This has been a problem plaguing authors for a long time. It's nice to see it resolved in this way.
Reply With Quote
  #3  
Unread 09-19-2010, 06:30 PM
Brygard2007's Avatar
Brygard2007 Brygard2007 is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2007
Location: http://www.youtube.com/user/Brygard2009
Posts: 183
Thanks.

Yeah I was annoyed about this,currently working on my vitals and thought might as well share it with all to use.
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
Chat box background help... Endrick General Authoring Discussion (D) 1 02-13-2010 05:56 PM
Vitals bars background Deewe General Authoring Discussion (L) 3 06-15-2008 05:04 AM
Black Glass (W.I.P) Brygard2007 Pre-Beta Interfaces (L) 34 02-10-2008 10:45 AM
My Red and black A team theme Soran Released Interfaces (D) 2 02-01-2008 07:42 PM
Raid vitals background problem Waaagh Interface Help (L) 1 10-23-2007 02:54 PM


All times are GMT -5. The time now is 06:08 AM.


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