New UI Issue... Background Image...
Anyone else had difficulty getting a background image to dispaly in the new method?
I'd assume: (Like normal)
<?xml version="1.0" encoding="UTF-8"?>
<!-- Bottom Bar Development -->
<Mapping ArtAssetID="LetterBoxBottom" FileName="invisible.tga"></Mapping>
Does this (in red) have bearing on the size?
<Element ID="ToolbarField" X="100" Y="400" Width="450" Height="145" Detach="1">
<Element ID="ToolbarFieldMain" X="0" Y="0" Width="1" Height="1"></Element>
Ive tried say making a 450 X 145 tga image and cant ge tit to show up...
(replacing invisible.tga with say myletterbox.tga)
On a side note, positioning the exp bar woes are all gone... :p
<Mapping ArtAssetID="LetterBoxBottom" FileName="invisible.tga"></Mapping> to
<Mapping ArtAssetID="LetterBoxBottom" FileName="myletterbox.tga"></Mapping>
<Element ID="ToolbarFieldMain" X="0" Y="0" Width="450" Height="145"></Element>
Setting any element to have a width and height of 1 makes it invisible.
From the readme with Frosty's Toolbar:
I figured the real problem out; I had the letterbox defined twice. (mine and invisible) -my bad :o
I did note however, after logging in and out many, many, many times, it seems like the server forgets what UI I'm using; might be a client thing too.
A reboot usually fixes it or waiting a few minutes. /shrug
Either way, I'm good to go.
I also found out the hardway that if there is a mistake, ANY mistake even an erroneous element inside quotes ("mistak e") then it will cascade down and everything after such error will be ignored and use the default settings for the panelfile.
I *REALLY* would love to be able to have other values than X and Y for positioning the panel, obviously the game already has them (I doubt they have a setting for each resolution, then again...), some variables like X and Y values for the resolution with some basic math operations and life would be good, we could just position the bar centered on any side and then work on the inside and not have to make so many variations of a theme.
Im finding for now that with the movable bottom bar only a couple variations are needed if things are kept compact. I know this is going to change once we get more elements to mess with.
As for the cascading effect, I know this issue well now, I thusly named the occurrence "The Rodents" (tm) :p
|All times are GMT -5. The time now is 02:56 PM.|
vBulletin® - Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.