![]() |
Background image
I am trying to my wits end to try and figure out how to put a background image into a window, for example the effects window. This is a dds graphical file.
Also I would like to connect this background to the opacity slider int he window options. Can anyone help me with this? Thanks, Draven |
For the background to be attached to the opacity slider, it has to have a specific XML path.
PHP Code:
|
This is what I am working with (the VolumePage tags have code inside them but i didnt show it due to the massive space thats needed). In all essence what I am doing is taking the default "effects" window and adding a solid graphical background to it. Now I need to also connect this graphical background to the opacity slider.
Code:
<Page eq2usescomwndcontrols="true" MaximumSize="1280,100" MinimumSize="42,42" Name="Effects" PackLocation="right,bottom" ScrollExtent="1280,100" Size="1280,100" Tooltip=":420d9f72d322771c:Spell Effects" UserMovable="true" UserResizable="true" UserScrollable="false">Thanks, Draven |
Don't name EVERYTHING the same name. The game won't know what to choose... or rather, it won't choose the correct thing.
Your RectangleStyle possibly creates a self-referencing infinite loop(crash possibility), your ImageStyle has the same name as your RectangleStyle and your background has the incorrect case in the reference name so it's referencing nothing. Of course this won't work. PS, you didn't follow my other instructions: Quote:
|
Code:
<Page eq2usescomwndcontrols="true" MaximumSize="1280,100" MinimumSize="42,42" Name="Effects" PackLocation="right,bottom" ScrollExtent="1280,100" Size="1280,100" Tooltip=":420d9f72d322771c:Spell Effects" UserMovable="true" UserResizable="true" UserScrollable="false"> |
Assuming the DDS path is correct, the Bkg page is missing a BackgroundOpacity attribute which defaults to "0.000". The slider will only affect the Opacity value.
|
Quote:
|
n/m didnt' see the last post for some odd reason.
|
| All times are GMT -5. The time now is 09:32 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI