View Single Post
  #4  
Unread 05-31-2007, 12:56 PM
deaddog4201's Avatar
deaddog4201 deaddog4201 is offline
A Forest Scavenger
Interface Author - Click to view interfaces
 
Join Date: Nov 2006
Server: Antonia Bayle
Posts: 15
Default

Sorry it took a little bit to respond back! But anyway heres a screen shot of whats going on. The image on the left is in the UIbuilder the right is in game. You can see how the alignments shift on either piece for the frame i put on them. I put one in alignment and one out of alignment just to show how its being effected in the game vs the UIbuilder. The code for the compass is below. The frame code for both pieces are identical so any error I've made should be the same or what ever the problem is. I also attached the .dds image of the frame itself in case you want to try it in the UIbuilder yourself.
I'm using the frame in another piece I'm working on and don't seem to be having this problem with it yet. I've written the code below several different ways and always get the same result in game.

Code:
<?xml version="1.0" encoding="utf-8"?>
<Page allowcloseontop="false" alwaysontop="false" eq2usescomwndcontrols="true" Location="374,174" MaximumSize="170,82" Name="Compass" OnShow="show_window=(MainHUD.Clock)
show_window=(MainHUD.Clock)
show_window=(MainHUD.Compass)
show_window=(MainHUD.Compass)
" PackLocation="center,center" PackLocationProp="-266/0001,-338/0001" ScrollExtent="170,82" show_window="MainHUD.Clock" Size="170,82" UserMovable="true">
<Button BackgroundOpacity="0.000" LocalTooltip="Toggle Loc/Zone" Location="65,22" Name="ToggleLocZone" OnPress="parent.Loco.visible=(!parent.Loco.visible)
" ScrollExtent="41,38" Size="41,38" Style="/Fetish.ButtonStyles.invisible" Tooltip="Toggle Loc/Zone"></Button>
<Page allowcloseontop="false" eq2usescomwndcontrols="true" Location="50,10" MaximumSize="75,60" Name="Frame" PackLocation="center,center" PackLocationProp="-035/0001,-031/0001" ScrollExtent="75,60" Size="75,60">
<Image AbsorbsInput="false" Location="5,5" MaximumSize="75,60" Name="wardensframe" ScrollExtent="75,60" Size="75,60" SourceRect="1,6,229,190" SourceResource="images/Arcane/wardensframe.dds"/>
</Page>
<Page allowcloseontop="false" eq2usescomwndcontrols="true" Location="46,11" Name="Frame" PackLocation="center,center" PackLocationProp="-039/0001,-030/0001" ScrollExtent="78,64" Size="78,64">
<Image AbsorbsInput="false" BoundaryPolygon="19.000,0.000,4.000,6.000,0.000,21.000,5.000,35.000,19.000,41.000,34.000,35.000,40.000,20.000,34.000,6.000" GetsInput="true" Location="19,9" Name="Frame" ScrollExtent="41,41" Size="41,41" SourceRect="0,35,41,76" SourceResource="images/fetish_clock.dds" Stretch="false"/>
</Page>
<Page AbsorbsInput="false" Location="67,25" Name="Highlight" PackLocation="right,top" PackLocationProp="-103/0001,0025/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" RStyleDefault=" " ScrollExtent="36,36" Size="36,36">
<Image Name="CompassFrame" PackSize="absolute,absolute" PackSizeProp="0000/0001,0000/0001" ScrollExtent="36,36" Size="36,36" SourceRect="161,1,207,46" SourceResource="images/round_compass.dds" Style=" "/>
</Page>
<Page AbsorbsInput="false" Location="71,29" Name="CropPage" PackLocation="right,top" PackLocationProp="-099/0001,0029/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="29,28" Size="29,28">
<Page Location="-242,0" Name="ScrollPage" PackLocation="left,top" PackLocationProp="-242/0001,0000/0001" PackSize="fixed,fixed" PackSizeProp="0002/0003,0002/0003" ScrollExtent="478,28" Size="478,28">
<Image AbsorbsInput="false" Location="145,0" Name="CompassDirections_Mid" PackSize="absolute,absolute" PackSizeProp="0318/0001,0000/0001" ScrollExtent="160,28" Size="160,28" SourceRect="1,1,160,36" SourceResource="images/round_compass.dds" Style=" "/>
<Image Location="305,0" Name="CompassDirections_Right" PackSize="absolute,absolute" PackSizeProp="0318/0001,0000/0001" ScrollExtent="160,28" Size="160,28" SourceRect="1,1,160,36" SourceResource="images/round_compass.dds" Style=" "/>
<Image Location="-15,0" Name="CompassDirections_Left" PackSize="absolute,absolute" PackSizeProp="0318/0001,0000/0001" ScrollExtent="160,28" Size="160,28" SourceRect="1,1,160,36" SourceResource="images/round_compass.dds" Style=" "/>
</Page>
</Page>
<Page Location="0,3" Name="Loco" ScrollExtent="170,74" Size="170,74">
<Text AbsorbsInput="false" DynamicData="/GameData.Self.ZoneName" Font="/Fonts.FontZapf15" LocalText=":fa6ca395e379584c:The Isle of Refuge" Location="0,-1" MaxLines="1" Name="CurrentZone" PackLocation="left,top" PackLocationProp="0000/0001,-001/0001" PackSize="absolute,fixed" PackSizeProp="0000/0001,0002/0003" ScrollExtent="200,16" ShadowStyle="/ShadowStyles.Outline1" Size="170,16" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#88CCFF">:fa6ca395e379584c:The Isle of Refuge</Text>
<Text DynamicData="/GameData.Self.Location" Font="/Fetish.Fonts.FontArial14T" LocalText="-999.99, -999.99, -999.99" Location="0,57" Name="LocInfo" ScrollExtent="170,19" ShadowStyle="/ShadowStyles.Outline1" Size="170,19" TextAlignment="Center" TextAlignmentVertical="Bottom">-999.99, -999.99, -999.99</Text>
</Page>
</Page>
Attached Thumbnails
Click image for larger version

Name:	screenshot1.jpg
Views:	338
Size:	74.6 KB
ID:	5801  
Attached Files
File Type: dds Wardensframe.dds (243.5 KB, 297 views)
Reply With Quote