EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   how to make a background tile (https://www.eq2interface.com/forums/showthread.php?t=3279)

Hellwulf 06-10-2005 12:36 PM

how to make a background tile
 
this is my current code, it makes a goofy background, how do i change this to make it tile,, i think i missed a tileing background in default, but i cant find it atm so asking this here

ok doing what you said ,,,,,, this resulted in no image at all,, ive traid a dozen times to figure it out and spent a few hours at it

........... ok did what you said in chat sorta,, that didnt work so i continued to mess with it,,, and did following... seams to be working altho im not quite sure what i did yet
ps i was pissed too so i kinda forgot to reply in chat room,, sorry bout that heh


<Page Name="Parchment" ScrollExtent="320,240" Size="320,240">
<RectangleStyle Center="center" Color="#292945" East="e" EastStretch="false" Name="rect" North="n" NorthEast="ne" NorthWest="nw" South="s" SouthEast="se" SouthStretch="false" SouthWest="sw" TitleStretch="false" West="w" WestStretch="false"/>
<ImageStyle Filter="true" Name="center">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
<ImageStyle Filter="true" Name="nw">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,1024,1024"/>
</ImageStyle>
<ImageStyle Filter="true" Name="n">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
<ImageStyle Filter="true" Name="ne">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
<ImageStyle Filter="true" Name="e">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
<ImageStyle Filter="true" Name="se">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
<ImageStyle Filter="true" Name="s">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
<ImageStyle Filter="true" Name="sw">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
<ImageStyle Filter="true" Name="w">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,0,0"/>
</ImageStyle>
</Page>

dc_roenfanz 06-10-2005 01:01 PM

Quote:

Originally Posted by Hellwulf
this is my current code, it makes a goofy background, how do i change this to make it tile,, i think i missed a tileing background in default, but i cant find it atm so asking this here

<snipped>

Is this the same bkg that i tooled up for you? Its really simple actually, you dont even need all of those image frames.

1 || only make one image styles of the whole thing. We'll call it "background"
2 || when you do your rectstyle, reference background for "center", then make the stretches directly underneath all false. That should be it.

Rectanglestyle:
Code:

<RectangleStyle Center="background" CenterStretchH="false" CenterStretchV="false" EastStretch="false" Name="background" NorthStretch="false" SouthStretch="false" TitleStretch="false" WestStretch="false"/>
ImageStyle:
Code:

<ImageStyle Filter="true" Name="background">
<ImageFrame Name="image" Source="images/dia_bg.dds" SourceRect="0,0,512,512"/>
</ImageStyle>



All times are GMT -5. The time now is 09:50 PM.

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