Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 01-18-2003, 04:03 PM   #1
xTSx
A Gray Wolf
 
Join Date: Aug 2002
Posts: 4
Default Possible to add a background to the Item Stats window?

I've been trying to add a background to the item display window, so when you right click an item to view its stats, you have a custom background. I don't know if it would be a custom window pieces or what. I've seen a few mods with custom backgrounds, but none with customized item stats windows.

Can anyone recommend a way to add a background to just the item stats window?

Thanks.
xTSx is offline   Reply With Quote
Old 01-21-2003, 02:13 AM   #2
Nanan
A Snow Cougar
 
Join Date: Sep 2002
Server: saryrn
Posts: 40
Interface Author - Click to view interfaces
Default

The only way that I know of to make a new background with out altering all other windows backgrounds is to define a new border. It seems that SoE bound the background to the border instead of making it a selectable thing. In this case the new background is put into a copy of the WTD_Rounded border.

Just copy this and put it into your item inspect window, change the "spiffynewbackground.tga" files to the name of your background picture.

If anyone knows an easier way please post it, as I have tryed just about every thing to no aval.









<TextureInfo item = "spiffynewbackground.tga">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>
<WindowDrawTemplate item = "WDT_Iteminspect">
<Background>spiffynewbackground.tga</Background>
<VSBTemplate>
<UpButton>
<Normal>A_VSBUpNormal</Normal>
<Pressed>A_VSBUpPressed</Pressed>
<Flyby>A_VSBUpFlyby</Flyby>
<Disabled>A_VSBUpDisabled</Disabled>
<PressedFlyby>A_VSBUpPressedFlyby</PressedFlyby>
</UpButton>
<DownButton>
<Normal>A_VSBDownNormal</Normal>
<Pressed>A_VSBDownPressed</Pressed>
<Flyby>A_VSBDownFlyby</Flyby>
<Disabled>A_VSBDownDisabled</Disabled>
<PressedFlyby>A_VSBDownPressedFlyby</PressedFlyby>
</DownButton>
<Thumb>
<Top>A_VSBThumbTop</Top>
<Bottom>A_VSBThumbBottom</Bottom>
<Middle>A_VSBThumbMiddle</Middle>
<OverlapLeft>0</OverlapLeft>
<OverlapTop>0</OverlapTop>
<OverlapRight>0</OverlapRight>
<OverlapBottom>0</OverlapBottom>
</Thumb>
<MiddleTextureInfo>scrollbar_gutter.tga</MiddleTextureInfo>
<MiddleTint>
<Alpha>255</Alpha>
<R>128</R>
<G>128</G>
<B>128</B>
</MiddleTint>
</VSBTemplate>
<HSBTemplate>
<UpButton>
<Normal>A_HSBLeftNormal</Normal>
<Pressed>A_HSBLeftPressed</Pressed>
<Flyby>A_HSBLeftFlyby</Flyby>
<Disabled>A_HSBLeftDisabled</Disabled>
<PressedFlyby>A_HSBLeftPressedFlyby</PressedFlyby>
</UpButton>
<DownButton>
<Normal>A_HSBRightNormal</Normal>
<Pressed>A_HSBRightPressed</Pressed>
<Flyby>A_HSBRightFlyby</Flyby>
<Disabled>A_HSBRightDisabled</Disabled>
<PressedFlyby>A_HSBRightPressedFlyby</PressedFlyby>
</DownButton>
<Thumb>
<Right>A_HSBThumbRight</Right>
<Left>A_HSBThumbLeft</Left>
<Middle>A_HSBThumbMiddle</Middle>
<OverlapLeft>0</OverlapLeft>
<OverlapTop>0</OverlapTop>
<OverlapRight>0</OverlapRight>
<OverlapBottom>0</OverlapBottom>
</Thumb>
<MiddleTextureInfo>scrollbar_gutter.tga</MiddleTextureInfo>
<MiddleTint>
<Alpha>255</Alpha>
<R>128</R>
<G>128</G>
<B>128</B>
</MiddleTint>
</HSBTemplate>
<CloseBox>
<Normal>A_CloseBtnNormal</Normal>
<Pressed>A_CloseBtnPressed</Pressed>
<Flyby>A_CloseBtnFlyby</Flyby>
<Disabled>A_CloseBtnDisabled</Disabled>
<PressedFlyby>A_CloseBtnPressedFlyby</PressedFlyby>
</CloseBox>
<MinimizeBox>
<Normal>A_MinimizeBtnNormal</Normal>
<Pressed>A_MinimizeBtnPressed</Pressed>
<Flyby>A_MinimizeBtnFlyby</Flyby>
<Disabled>A_MinimizeBtnDisabled</Disabled>
<PressedFlyby>A_MinimizeBtnPressedFlyby</PressedFlyby>
</MinimizeBox>
<TileBox>
<Normal>A_TileBtnNormal</Normal>
<Pressed>A_TileBtnPressed</Pressed>
<Flyby>A_TileBtnFlyby</Flyby>
<Disabled>A_TileBtnDisabled</Disabled>
<PressedFlyby>A_TileBtnPressedFlyby</PressedFlyby>
</TileBox>
<Border>
<TopLeft>A_RoundedFrameWithTitleTopLeft</TopLeft>
<Top>A_RoundedFrameWithTitleTop</Top>
<TopRight>A_RoundedFrameWithTitleTopRight</TopRight>
<RightTop>A_RoundedFrameWithTitleRightTop</RightTop>
<Right>A_RoundedFrameRight</Right>
<RightBottom>A_RoundedFrameRightBottom</RightBottom>
<BottomRight>A_RoundedFrameBottomRight</BottomRight>
<Bottom>A_RoundedFrameBottom</Bottom>
<BottomLeft>A_RoundedFrameBottomLeft</BottomLeft>
<LeftTop>A_RoundedFrameWithTitleLeftTop</LeftTop>
<Left>A_RoundedFrameLeft</Left>
<LeftBottom>A_RoundedFrameLeftBottom</LeftBottom>
<OverlapLeft>0</OverlapLeft>
<OverlapTop>0</OverlapTop>
<OverlapRight>0</OverlapRight>
<OverlapBottom>0</OverlapBottom>
</Border>
<Titlebar>
<Right>A_RoundedFrameTitleRight</Right>
<Left>A_RoundedFrameTitleLeft</Left>
<Middle>A_RoundedFrameTitleMiddle</Middle>
<OverlapLeft>0</OverlapLeft>
<OverlapTop>0</OverlapTop>
<OverlapRight>0</OverlapRight>
<OverlapBottom>0</OverlapBottom>
</Titlebar>
</WindowDrawTemplate>
__________________
Nanan
Nanan is offline   Reply With Quote
Old 01-25-2003, 02:00 AM   #3
xTSx
A Gray Wolf
 
Join Date: Aug 2002
Posts: 4
Default

The only item info window I could think of was ItemDisplay.xml however there's virtually nothing in that file. I've checked multiple ui's and none use that window in their mods. Is there another window I should be looking at to insert that text into? I tried it into that xml file and saw no change.

Thanks for the help btw.
xTSx is offline   Reply With Quote
Old 01-25-2003, 02:57 AM   #4
Talyns
The Tablets Guy
 
Talyns's Avatar
 
Join Date: Jul 2002
Server: Lanys
Posts: 520
Interface Author - Click to view interfaces
Default

Nanan is correct on the way to do it..

But you would also have to add: <Style_Transparent>true<Style_Transparent>
to the <STMLbox item = "IDW_ItemDescription"> section of the file..

I attached a version of what he's talking about for you to dissect and play around with
Attached Files
File Type: zip itemdisplaywnd.zip (44.7 KB, 26 views)
__________________
Talyns
Lanys Characters:
-Acarrion (51 BST)
-Hawkren (20 SHM)
Talyns is offline   Reply With Quote
Reply




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


All times are GMT -5. The time now is 07:15 PM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI