Experience bar coloration off-center
I'm modifying Wicked Mouse's Small Mainbar, just trying to compress the experience bar down to fit the bar. Here's where I'm stuck:
There are still little alignment tweaks to work out, I know, but what I can't figure out is the bar's coloration. Why is it darker on the right? I've tried both resizing letterbox_bottom_glass_overlay.tga (the version in the skin's folder is only 610 px wide, and I've removed the dark spot entirely), and in that picture, have it set to 1x1 px to hide it (although it looks to still be showing). Any idea what's causing this? Halvitur had a thread for a similar issue a few months back, but I don't understand exactly how he fixed it. Here's my current code if it's of any help: Code:
<?xml version="1.0" encoding="UTF-8"?> |
If i am not wrong :
The Yellow bar part = the xp rest The brown bart part = the total xp done on your level The blue bar part = the xp to be done I think this is why you have the center problem (in fact more a visual one that a real one) as your bar is correctly centered but the color gives a negative impression. Though i would prefer that someone well used in UI interface to confirm what i said. |
I know this is a little old, but i can help.
It's the <Element ID="ToolbarFieldMain_LevelMeter_Glass_Overlay" X="0" Y="7" Width="610" Height="11"> </Element> that is the culprit. You either have to modify and map the glass overlay image to fit the bar correctly (Which is what halvitur did. Download the vb32 ui skin art pack in the utilities for developers section and look for the letterbox_bottom_glass_overlay.tga file), or move the overlay off the mainbar so you can't see it (you can't give the width and height a value of 1 to make it dissapear. At least I couldn't). |
The brown part is the part that goes behind the frame that shows level xp/xp text. So because youve resized the xp bar, the brown has shifted to the right. Dont ask me how to fix that though, ive not looked into UI modding.
|
All times are GMT -5. The time now is 01:24 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI