View Single Post
Old 07-29-2004, 12:31 PM   #11
anjilek
A Ghoul
 
Join Date: Dec 2003
Server: MT
Posts: 19
Default

Man, it looks so easy ROFL.

The only errors I get are that I didn't define playertitle and playerlevel. An accidental cut and paste error.

I delete those altogether from being called up, and I get a player window with no borders. No errors. Nothing.

So here I define the .tga
Code:
<TextureInfo item="dj_pw.tga"> <Size> <CX>256</CX> <CY>256</CY> </Size> </TextureInfo>


Then I define the upper left corner( CornerUL)
Code:
<Ui2DAnimation item="CornerUL"> <Frames> <Texture>dj_pw.tga</Texture> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>6</CX> <CY>6</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation>


then I define how to use the upper left corner(CornerUL)

Code:
<StaticAnimation item="CornerUL"> <ScreenID>CornerUL</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>0</X> <Y>0</Y> </Location> <Size> <CX>6</CX> <CY>6</CY> </Size> <Animation>CornerUL</Animation> </StaticAnimation>


Then I call it in the window

Code:
<Screen item="PlayerWindow"> <!--<ScreenID/>--> <RelativePosition>false</RelativePosition> <Location> <X>1</X> <Y>195</Y> </Location> <Size> <CX>140</CX> <CY>140</CY> </Size> <Text>Player</Text> <Style_VScroll>false</Style_VScroll> <Style_HScroll>false</Style_HScroll> <Style_Transparent>false</Style_Transparent> <TooltipReference>Player Window</TooltipReference> <DrawTemplate>WDT_RoundedNoTitle</DrawTemplate> <Style_Titlebar>false</Style_Titlebar> <Style_Closebox>false</Style_Closebox> <Style_Minimizebox>false</Style_Minimizebox> <Style_Border>false</Style_Border> <Style_Sizable>false</Style_Sizable> <Pieces>CornerUL</Pieces> </Screen> </XML>


I obviously am only giving you relevant code I think. Cant get the borders or corners to show up at all. A corner sized 6/6 should be easily visible right? Should be a little less than half my text which is 15 tall. See anything out of place? Does it matter in which order you list your <pieces>?
anjilek is offline   Reply With Quote