View Single Post
  #4  
Unread 04-30-2007, 11:32 PM
Seagoat's Avatar
Seagoat Seagoat is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: May 2005
Server: Crushbone
Posts: 298
Default

If the one you're trying now doesn't do it for you, I made this one. Just copy and paste this code into your custom UI folder's eq2ui_mainhud_experience.xml file, replacing all of the code in it:

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Seagoat's Experience Bars with Percentages and Text Labels [v.20070430] -->
<Page BackgroundColor="#00FF00" eq2usescomwndcontrols="true" Location="100,150" Name="Experience" PackLocation="fixed,fixed" 

ScrollExtent="450,85" Size="450,85" UserMovable="true" UserResizable="true">
<OpacityEffector Name="FadeIn" SetOnEffect="true" Speed="4.000" TargetOpacity="1.000"/>
<OpacityEffector InitialOpacity="1.000" Name="FadeOut" SetOnEffect="true" Speed="4.000"/>
<Page AbsorbsInput="false" Name="AdventureXP" PackLocation="nfn,nfn" PackLocationProp="0000/0001,0000/0001" PackSize="a,f" 

PackSizeProp="0000/0001,0002/0003" ScrollExtent="450,25" Size="450,25" UserScrollable="false">
<Text AbsorbsInput="false" DynamicData="/GameData.Self.SubClass" Font="/TextStyles.Normal.NormalStyle" LocalText="Shadow 

Knight" Location="3,4" Margin="0,0,2,0" Name="SubClass" ScrollExtent="128,19" 

ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="128,19" TextAlignment="Right" TextAlignmentVertical="Center" 

TextColor="#FBF1D9">Shadow Knight</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Self.ExperienceCurrent" Font="/TextStyles.Normal.NormalStyle" 

LocalText="99.9%" LocalTooltip="Adventure Experience" Location="404,4" Margin="0,0,2,0" MaxLines="1" Name="XPPercent" 

ScrollExtent="43,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="43,19" TextAlignment="Right" 

TextAlignmentVertical="Center" TextColor="#FBF1D9" Tooltip="Adventure Experience" TruncateElipsis="false">99.9%</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Self.CombatExperienceDisabled" DynamicDataFilter="0001" 

Font="/TextStyles.Large.LargeStyle" LocalText="Combat Experience Disabled" Location="165,4" Name="CombatExperienceDisabled" 

ScrollExtent="220,20" ShadowStyle="/ShadowStyles.Outline1" Size="220,20" TextAlignment="Center" 

TextAlignmentVertical="Center" TextColor="#EAC267" TruncateElipsis="false" UserMovable="true" UserResizable="true" 

Visible="false">Combat Experience Disabled</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Self.EffectiveLevel" Font="/TextStyles.Normal.NormalStyle" LocalText="70" 

Location="130,4" Margin="5,0,0,0" MaxLines="1" Name="Level" ScrollExtent="29,19" 

ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="29,19" TextAlignmentVertical="Center" TextColor="#FBF1D9" 

TruncateElipsis="false">70</Text>
<ImageStyle Filter="true" Name="UpArrow">
<ImageFrame Name="image" Source="images/widgets02.dds" SourceRect="168,3,185,15"/>
</ImageStyle>
<ImageStyle Filter="true" Name="DownArrow">
<ImageFrame Name="image" Source="images/widgets02.dds" SourceRect="144,3,163,15"/>
</ImageStyle>
<SliderbarStyle Name="UpperSliderbarStyle" Slider="DownArrow"/>
<SliderbarStyle Name="LowerSliderbarStyle" Slider="UpArrow"/>
<Sliderbar Algorithm="Linear" DynamicData="/GameData.Self.VitalityUpperMarker" Enabled="false" FloatLeftValue="3.000" 

FloatRightValue="1.000" FloatValue="1.000" Location="150,3" Name="UpperMarker" PackLocation="left,center" 

PackLocationProp="0150/0001,-009/0001" ScrollExtent="249,13" Size="249,13" Style="UpperSliderbarStyle" textalignment="Right" 

UpperLimit="1000" Value="1000" Visible="false"/>
<Sliderbar Algorithm="Linear" DynamicData="/GameData.Self.VitalityLowerMarker" Enabled="false" FloatLeftValue="3.000" 

FloatRightValue="1.000" FloatValue="1.000" Location="151,13" Name="LowerMarker" PackLocation="left,center" 

PackLocationProp="0151/0001,0001/0001" ScrollExtent="247,10" Size="247,10" Style="LowerSliderbarStyle" textalignment="Right" 

UpperLimit="100" Value="100" Visible="false"/>
<Image DynamicData="/GameData.Self.Vitality" GetsInput="true" Location="390,8" Name="OverflowMarker" Rotation="0.750" 

ScrollExtent="17,12" Size="17,12" SourceRect="144,3,163,15" SourceResource="images/widgets02.dds"/>
<Image AbsorbsInput="false" Location="156,7" Name="BubbleDividers" ScrollExtent="237,15" Size="237,15" 

SourceRect="3,493,240,508" SourceResource="/images/mugshots_female.dds"/>
<Progressbar BackgroundColor="#000000" Color="#4BB3FE" DynamicData="/GameData.Self.ExperienceBubble" Location="157,14" 

Name="ExpToNextBubble" Progress="0.500" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar BackgroundColor="#000000" Color="#D39614" DynamicData="/GameData.Self.ExperienceCurrent" Location="157,9" 

Name="ExpCurrent" Progress="0.500" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar BackgroundColor="#000000" Color="#C53A4B" DynamicData="/GameData.Self.ExperienceDebtCurrent" Location="157,9" 

Name="ExpDebtCurrent" Progress="0.650" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#455072" Location="157,9" Name="ExpBkg" Progress="1.000" 

ScrollExtent="234,11" Size="234,11" Style="/progressbarlist.progress_default"/>
</Page>
<Page AbsorbsInput="false" Location="0,-2" Name="WC_Titlebar" PackLocation="nfn,fpf" PackLocationProp="0000/0001,0000/0085" 

PackSize="a,f" PackSizeProp="0000/0001,0002/0003" ScrollExtent="450,87" Size="450,87">
<Page AbsorbsInput="false" Location="0,22" Name="TradeskillXP" PackLocation="fixed,fixed" PackSize="a,f" 

PackSizeProp="0000/0001,0002/0003" ScrollExtent="450,25" Size="450,25" UserScrollable="false">
<Text AbsorbsInput="false" DynamicData="/GameData.Self.TradeskillSubClass" Font="/TextStyles.Normal.NormalStyle" 

LocalText="Woodworker" Location="3,4" Margin="0,0,2,0" Name="LevelClass" ScrollExtent="128,19" 

ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="128,19" TextAlignment="Right" TextAlignmentVertical="Center" 

TextColor="#FBF1D9">Woodworker</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Self.TradeskillExperienceCurrent" Font="/TextStyles.Normal.NormalStyle" 

LocalText="99.9%" LocalTooltip="Tradeskill Experience" Location="404,4" Margin="0,0,2,0" MaxLines="1" Name="TSPercent" 

ScrollExtent="43,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="43,19" TextAlignment="Right" 

TextAlignmentVertical="Center" TextColor="#FBF1D9" Tooltip="Tradeskill Experience" TruncateElipsis="false">99.9%</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Self.TradeskillLevel" Font="/TextStyles.Normal.NormalStyle" LocalText="70" 

Location="130,4" Margin="5,0,0,0" Name="Level" ScrollExtent="29,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" 

Size="29,19" TextAlignmentVertical="Center" TextColor="#FBF1D9" TruncateElipsis="false">70</Text>
<ImageStyle Filter="true" Name="UpArrow">
<ImageFrame Name="image" Source="images/widgets02.dds" SourceRect="168,3,185,15"/>
</ImageStyle>
<ImageStyle Filter="true" Name="DownArrow">
<ImageFrame Name="image" Source="images/widgets02.dds" SourceRect="232,3,251,15"/>
</ImageStyle>
<SliderbarStyle Name="UpperSliderbarStyle" Slider="DownArrow"/>
<SliderbarStyle Name="LowerSliderbarStyle" Slider="UpArrow"/>
<Sliderbar Algorithm="Linear" DynamicData="/GameData.Self.TSVitalityUpperMarker" Enabled="false" FloatLeftValue="3.000" 

FloatRightValue="1.000" FloatValue="1.000" Location="150,3" Name="UpperMarker" PackLocation="left,center" 

PackLocationProp="0150/0001,-009/0001" ScrollExtent="249,13" Size="249,13" Style="UpperSliderbarStyle" textalignment="Right" 

UpperLimit="1000" Value="1000" Visible="false"/>
<Sliderbar Algorithm="Linear" DynamicData="/GameData.Self.TSVitalityLowerMarker" Enabled="false" FloatLeftValue="3.000" 

FloatRightValue="1.000" FloatValue="1.000" Location="151,13" Name="LowerMarker" PackLocation="left,center" 

PackLocationProp="0151/0001,0001/0001" ScrollExtent="247,10" Size="247,10" Style="LowerSliderbarStyle" textalignment="Right" 

UpperLimit="100" Value="100" Visible="false"/>
<Image DynamicData="/GameData.Self.TSVitality" GetsInput="true" Location="390,8" Name="OverflowMarker" Rotation="0.750" 

ScrollExtent="17,12" Size="17,12" SourceRect="232,3,251,15" SourceResource="images/widgets02.dds"/>
<Image AbsorbsInput="false" Location="156,7" Name="BubbleDividers" ScrollExtent="237,15" Size="237,15" 

SourceRect="3,493,240,508" SourceResource="/images/mugshots_female.dds"/>
<Progressbar BackgroundColor="#000000" Color="#4BB3FE" DynamicData="/GameData.Self.TradeskillExperienceBubble" 

Location="157,14" Name="ExpToNextBubble" Progress="0.500" ScrollExtent="234,5" Size="234,5" 

Style="/progressbarlist.progress_default"/>
<Progressbar BackgroundColor="#000000" Color="#C666FF" DynamicData="/GameData.Self.TradeskillExperienceCurrent" 

Location="157,9" Name="ExpCurrent" Progress="0.500" ScrollExtent="234,5" Size="234,5" 

Style="/progressbarlist.progress_default"/>
<Progressbar BackgroundColor="#000000" Color="#C53A4B" DynamicData="/GameData.Self.TSExperienceDebtCurrent" Location="157,9" 

Name="ExpDebtCurrent" Progress="0.650" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#455072" Location="157,9" Name="ExpBkg" Progress="1.000" 

ScrollExtent="234,11" Size="234,11" Style="/progressbarlist.progress_default"/>
</Page>
</Page>
<Page AbsorbsInput="false" Location="0,-2" Name="WC_Frame" PackLocation="nfn,fpf" PackLocationProp="0000/0001,0000/0085" 

PackSize="a,f" PackSizeProp="0000/0001,0002/0003" ScrollExtent="450,87" Size="450,87">
<Page AbsorbsInput="false" Location="0,42" Name="AchievementXP" PackLocation="fixed,fixed" PackSize="a,f" 

PackSizeProp="0000/0001,0002/0003" ScrollExtent="450,25" Size="450,25" UserScrollable="false">
<Text AbsorbsInput="false" Font="/TextStyles.Normal.NormalStyle" LocalText="Achievements" Location="3,4" Margin="0,0,2,0" 

Name="Achievements" ScrollExtent="128,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="128,19" 

TextAlignment="Right" TextAlignmentVertical="Center" TextColor="#FBF1D9">Achievements</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Achievement.ExperienceCurrent" Font="/TextStyles.Normal.NormalStyle" 

LocalText="99.9%" LocalTooltip="Achievement Experience" Location="404,4" Margin="0,0,2,0" MaxLines="1" Name="APPercent" 

ScrollExtent="43,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="43,19" TextAlignment="Right" 

TextAlignmentVertical="Center" TextColor="#FBF1D9" Tooltip="Achievement Experience" TruncateElipsis="false">99.9%</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Achievement.Points" Font="/TextStyles.Normal.NormalStyle" LocalText="100" 

Location="130,4" Margin="5,0,0,0" Name="Points" ScrollExtent="29,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" 

Size="29,19" TextAlignmentVertical="Center" TextColor="#FBF1D9" TruncateElipsis="false">100</Text>
<Image AbsorbsInput="false" Location="156,7" Name="BubbleDividers" ScrollExtent="237,15" Size="237,15" 

SourceRect="3,493,240,508" SourceResource="/images/mugshots_female.dds"/>
<Progressbar BackgroundColor="#000000" Color="#4BB3FE" DynamicData="/GameData.Achievement.ExperienceBubble" Location="157,14" 

Name="ExpToNextBubble" Progress="0.500" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar BackgroundColor="#000000" Color="#14A400" DynamicData="/GameData.Achievement.ExperienceCurrent" Location="157,9" 

Name="ExpCurrent" Progress="0.500" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#455072" Location="157,9" Name="ExpBkg" Progress="1.000" 

ScrollExtent="234,11" Size="234,11" Style="/progressbarlist.progress_default"/>
</Page>
</Page>
<Page AbsorbsInput="false" Location="0,-2" Name="WC_Backdrop" PackLocation="nfn,fpf" PackLocationProp="0000/0001,0000/0085" 

PackSize="a,f" PackSizeProp="0000/0001,0002/0003" ScrollExtent="450,87" Size="450,87">
<Page AbsorbsInput="false" Location="0,62" Name="GuildXP" PackLocation="nfn,nfn" PackLocationProp="0000/0001,0062/0001" 

PackSize="a,f" PackSizeProp="0000/0001,0002/0003" ScrollExtent="450,25" Size="450,25">
<Text AbsorbsInput="false" DynamicData="/GameData.Guild.Name" Font="/TextStyles.Normal.NormalStyle" LocalText="Best Guild 

Ever" Location="3,4" Margin="0,0,2,0" Name="GuildNameText" ScrollExtent="128,19" 

ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="128,19" TextAlignment="Right" TextAlignmentVertical="Center" 

TextColor="#FBF1D9">Best Guild Ever</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Guild.ExperienceFull" Font="/TextStyles.Normal.NormalStyle" 

LocalText="99.9%" LocalTooltip="Guild Status" Location="404,4" Margin="0,0,2,0" MaxLines="1" Name="GSPercent" 

ScrollExtent="43,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="43,19" TextAlignment="Right" 

TextAlignmentVertical="Center" TextColor="#FBF1D9" Tooltip="Guild Status" TruncateElipsis="false">99.9%</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Guild.Level" Font="/TextStyles.Normal.NormalStyle" LocalText="60" 

Location="130,4" Margin="5,0,0,0" Name="Level" ScrollExtent="29,19" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" 

Size="29,19" TextAlignmentVertical="Center" TextColor="#FBF1D9" TruncateElipsis="false">60</Text>
<Image AbsorbsInput="false" Location="156,7" Name="BubbleDividers" ScrollExtent="237,15" Size="237,15" 

SourceRect="3,493,240,508" SourceResource="/images/mugshots_female.dds"/>
<Progressbar BackgroundColor="#000000" Color="#4BB3FE" DynamicData="/GameData.Guild.ExperienceBubble" Location="157,14" 

Name="ExpToNextBubble" Progress="0.500" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar BackgroundColor="#000000" Color="#C53A4B" DynamicData="/GameData.Guild.ExperienceFull" Location="157,9" 

Name="ExpCurrent" Progress="0.500" ScrollExtent="234,5" Size="234,5" Style="/progressbarlist.progress_default"/>
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#455072" Location="157,9" Name="ExpBkg" Progress="1.000" 

ScrollExtent="234,11" Size="234,11" Style="/progressbarlist.progress_default"/>
</Page>
</Page>
</Page>
Attached are screenshots of how it looks in the UI Builder (with serif fonts) and how it looks in-game (with sans-serif fonts).
Attached Thumbnails
Click image for larger version

Name:	seagoats-xp-bars_percentages-w-text-labels_20070430a.jpg
Views:	342
Size:	18.8 KB
ID:	5744  Click image for larger version

Name:	seagoats-xp-bars_percentages-w-text-labels_20070430b.jpg
Views:	349
Size:	20.1 KB
ID:	5745  
Reply With Quote