sman1975
Emperor
Hello,
I'm trying to simply add a background picture on a popup. When I use the image with DXT3 compression, no image shows. When I use the image with no compression, everything looks like it's supposed to.
Here is the .XML code for the popup - the image in question is named GreatWarPopupBG2.dds (image size 606 x 260, and yes, VFS=true):
Is there something I'm missing? Does the image need to be one of the "multiples of 4's" kind of thing?
Appreciate any suggestions!
I'm trying to simply add a background picture on a popup. When I use the image with DXT3 compression, no image shows. When I use the image with no compression, everything looks like it's supposed to.
Here is the .XML code for the popup - the image in question is named GreatWarPopupBG2.dds (image size 606 x 260, and yes, VFS=true):
Code:
<?xml version="1.0" encoding="utf-8" ?>
<Context ID="MajorEventsPopup">
<Box Style="BGBlock_ClearTopBar" />
<Grid Size="640,340" Anchor="C,C" Style="Grid9DetailFive140" ConsumeMouse="1">
<Image Anchor="C,T" AnchorSide="I,O" Offset="0,-27" Size="256,64" Texture="DecTop256x64.dds">
<Image Anchor="C,C" Offset="0,-6" Size="80,80" Texture="NotificationFrameBase.dds">
<Image ID="DialogTopIcon" Anchor="C,C" Offset="0,0" Size="80,80" Texture="NotificationGeneric.dds" />
</Image>
</Image>
<Image Anchor="L,C" AnchorSide="O,I" Offset="-17,0" Size="32,64" Texture="Dec32x64Left.dds" />
<Image Anchor="R,C" AnchorSide="O,I" Offset="-17,0" Size="32,64" Texture="Dec32x64Right.dds" />
<Image ID="MajorEventBgImage" Texture="GreatWarPopupBG2.dds" Anchor="L,T" Size="606,260" Offset="17,44" Color="255,255,255,70" />
<Label ID="MajEventTitle" Anchor="C,T" Font="TwCenMT24" FontStyle="Shadow" ColorSet="Beige_Black_Alpha" String="A Major Event in the `War to End All Wars`" Offset="0, 20"/>
<Label ID="MajEventMessage1" Anchor="C,T" Font="TwCenMT24" FontStyle="Shadow" ColorSet="Beige_Black_Alpha" String="Test Message" Offset="0, 40"/>
<GridButton ID="MEDismiss" Anchor="C,B" Offset="0,60" Size="140,36" Style="BaseButton" ToolTip="Press OK button to dismiss window">
<Label Anchor="C,C" Offset="0,-2" String="Dismiss" Font="TwCenMT24" FontStyle="Shadow" ColorSet="Beige_Black_Alpha" />
</GridButton>
</Grid>
</Context>
Is there something I'm missing? Does the image need to be one of the "multiples of 4's" kind of thing?
Appreciate any suggestions!
Last edited: