Vitals Frame 101
Greets,
Since I've been playing around with the vitals frames, I've learned a few tricks and figured I would share them with you. I've noticed not alot of people do vitals frames, and those that do, only do cosmetic changes...They all have the same layout, just different colors and eye candy. So this guide will give you the basics to allow you dramaticly change the layout of your vitals frames. Here's one quick example of changing the layout (opponent vitals frame shown): Cool huh? I squared and moved the portrait over the morale+power bars, moved the name text, removed the level background and text, removed buffs+debuffs, etc. To do this, there are 2 main blocks of code we need to look at. The first, is the panel file used to build your player vitals frame ingame: Code:
<PanelFile ID="ID_UISkin_AvatarPanel"> Code:
<PanelFile ID="ID_UISkin_OpponentPanel"> The alpha channel and you The first thing I learned about when I started all of this, is the alpha channel. What is it? Basicly, it's like a stencil or cutout of your graphic. If you were to lay the alpha channel over your graphic, you would only see the parts of your graphic that would be under the white parts of the alpha channel. It is very important if you plan to change the shape of an element, or move elements within a panel file, that you edit your alpha channel to match. For example, when I first tried to make the portraits square, I ignored the alpha channel: Which gave me this ingame: But once I made the alpha channel match the shape I wanted: I got this ingame: That darn level background Now this is fine and dandy, but someone will say "You can't remove the level background!" or "You will see 2 level backgrounds if you move it!". This is because not only does LOTRO use the code above along with the "level_background" and "level_background_red" files to rendor it, but it's also in the graphics for "player_vitals_backdrop", "opponent_vitals_backdrop", etc for some reason. If you compare them to the backdrop files for elites and signatures for example, you will see it's not there! See what I mean? The elite backdrop doesn't have the level background in it, but the other one does! Once you remove it from the exsisting backdrops, or make your own, you can then use the following lines of code from above to move/remove the level background and text on your player/opponent vitals frame: Level background and text for your players vitals frame: Code:
<Element ID="PlayerLevel_BG" X="21" Y="78" Width="65" Height="32"></Element> Code:
<Element ID="OpponentLevel_BG" X="185" Y="78" Width="65" Height="32"></Element> About the only limitation I have found so far is that while you can move the morale+power bars as one element, you cannot resize them or move them individually...As far as I know at this time. I hope this helps, and I look forward to seeing what people do with this information :) |
Yeah many of these options weren't available before book12 went active so thats basically the reason why they are not implemented on the current skins, yet.
Nice guide though :) |
The only reason no one has ever done anything like this before is because it wasnt possible until the most recent patch :p
|
Very nice write-up. Thanks for sharing.
Kuv |
The guide will be of much help to new authors.
As stated by other autors, before book 12 the farther we could go was to change the vitals skins, at most we could even completely hide all skins around the vitals. Don't be fooled, before long you'll see nice new vital layout. I know autors are fine tuning their work before publishing them, stay tuned ;) |
Quote:
|
Longestnamepossible is one letter short of the longest name possible. ;)
|
Think I already done this Sloppy Joe and it didnt work,I have to recheck again.
Thanks.. |
Quote:
|
All times are GMT -5. The time now is 08:56 PM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI