A small issue...
Ok so I am using the updated version of daimon UI and am in the process of recoloring it and one this I am running into is even though all the panels are functional some of them have the problem in the picture. If you can't see the picture for some reason the corners are gray with white grid lines on them. I didn't code this and it is like this in every version of this UI I have and I was wondering if anyone knows whats wrong and how to fix it.
That image (the white grid with the gray background) is what you will see if the game cannot find the image it is looking for. It means that somewhere in your SkinDefinition.xml file, it refers to a .tga file that doesn't exist (or is in the wrong directory).
So that means I need to try and find the code for the corners of the wallet and make corresponding images.... -_- oh boy. They should be named something "wallet" right?
EDIT: I FIXED IT! I managed to find the .tga file names in the .xml file and I found out that in the rohan update those four files were supposed to be in a file by themselves. So I changed the file location to match the directory path in the .xml file and with a little photo-editing it now looks smooth as melted butter. Thanks for the help. :) http://www.lotrointerface.com/downlo...nfo.php?id=933 This is the UI I was working on. Its a total Daimon recolor. I also fixed a bunch of stuff that got missed originally or when it was updated. Anyway I thought you might like to see the finished product.
A matter of updating...
So, I was wondering if you could tell me how to update a pre-exsisting UI. If I knew which codes I needed to change in the .xml file to update a UI without totally reconstructing the code I would be one very happy camper! :)
I don't think there are any good tutorials. Nor does Turbine provide any documentation. The only way to figure out the correspondence between the <Mapping>s and the <Element>s is by trial and error. And when you do figure it all out, it's a very tedious process to actually edit a skin, because every time you change the SkinDefinition.xml file, you have to quit and restart the game before you can see the results.
Someone made a LOTRO Skin Editor several years ago, but I think it's severely out-of-date.
Maybe Adra has some tips for how to make the process tolerable, but from what I know I wouldn't recommend it to any but the most patient people.
(please excuse my lack of ease when expressing myself in english :o I'm much more fluent in french ^^)
I just read Emie's messages and questions, Thurallor has already very well answered and described the situation.
Reading this made me remember 4 years ago when I decided starting to taddle a skin to fix it, without any knowledge about how to do it, no experience in coding, and most of all no idea about the the crazy amount of time I would spend on it ! ^^
But contrary to Emie I have very poor graphic artistic skills, I'm absolutely unable to draw a picture from zero, I'm just good enough in Photoshop to recycle/transform existing material :o
I confirm the only tool I use to edit the skindefinition.xml file is Notepad ++ (a free and open source text editor).
It brings colors to the text to make it more readable/understandable and it has a pretty useful Control+F search/replace tool.
After that, I effectively do many restarts of the Lotro client to check each modification I bring in the skins... I felt asleep on my keyboard many times !
To start the game faster I use a patched version of Pylotro instead of the official lotro launcher, associated with a keyboard macro for entering instantly my login and password.
As a source for determining which name and code correspond to an element, the skinning pack updates and up-to-date community made skins are your best friends. (for JRR skins, mostly look into the "JRR CORE" folder.)
Some skins were particularly well documented into their skindefinition.xml file, with a lot of indications on which elements do what. ... Now I must confess I'm not that conscientious and professional ! :D
Here are a few tips which maybe can help you to understand the skindefiniton file coding :
- When you see ..\ in the path for a picture that means "previous folder in the tree root", so ..\..\ means 2 folders back the file tree.
- You can write comments inside <!-- (start) and --> (stop) . These commands can also allow you to disable some parts of code. You just have to put <!-- at the beginning and --> at the end. (comments/disabled code appear in green in notepad++)
- When there is a mistake in the line linking to a TGA file associated with an element (wrong name or wrong path) you'll see ingame the grey frame crossed by white lines.
- If a panel element (I mean <Mapping ArtAssetID="something"... ) is mentioned more than one time, the lotro client will only take in consideration the first one it sees in your in your skindefinition file (by order of appearance from the top to the bottom) .
- If you feel stuck/tired/desperate to locate which damn line in of code leads you to a grey frame crossed by white lines, you can use this brainless but very effective method : Let's virtually divide your skindefinition into big blocks of lines, for example of 200 or 400 lines each block, now consider you are a mafia's godfather and each block is suspect to be a traitor !
Now execute your first suspect ! I mean temporarily delete the first block of your code, then have a look ingame to see if the grey frame is still here. If the frame is still there, that proves your 200 or 400 lines were not involved in the bug (and you just executed an innocent !), undelete your first block and let's proceed with the next block, then the next one, then the next one, until the grey frame disapears. Then your can sub-divide your traitor block into several smaller suspect blocks and run a new sharper investigation.
A couple of other things, in addition to Adra's excellent summary, that a beginner needs to know:
Just a single error on one hundred <elements> removed then your whole skin won't load at all in lotro !
<!-- Store buttons removal in character panel -->
<Element ID="Journal_Window" X="0" Y="63" Width="713" Height="648">
<Element ID="Journal_Panel" X="6" Y="34" Width="704" Height="606">
<Element ID="Equipment_Page" X="8" Y="22" Width="681" Height="585">
<Element ID="RealPaperdollField_Player" X="0" Y="0" Width="700" Height="585">
<Element ID="CharacterEquipmentPage_Player_EnhanceCharacter _Button" X="0" Y="0" Width="1" Height="1"></Element>
<Element ID="CharacterStats" X="447" Y="2" Width="229" Height="510">
<Element ID="StatTree_ScrollBar" X="219" Y="20" Width="10" Height="482">
<Element ID="scroll_bottom_field" X="0" Y="472" Width="10" Height="10"> </Element>
<Element ID="UpButton" X="0" Y="472" Width="10" Height="10"> </Element>
<Element ID="DownButton" X="0" Y="0" Width="10" Height="10"> </Element>
<Element ID="scroll_top_field" X="0" Y="0" Width="10" Height="10"> </Element>
<Element ID="Appearance_Page" X="8" Y="22" Width="681" Height="585">
<Element ID="RealPaperdollField_Player" X="0" Y="0" Width="700" Height="568">
<Element ID="CharacterAppearancePage_BuyCosmeticClothing_Bu tton" X="0" Y="0" Width="1" Height="1"> </Element>
<Element ID="CharacterAppearancePage_BuyCosmeticClothing_Fl yout_Field" X="0" Y="0" Width="1" Height="1"></Element>
If you remove one </Element> your skin won't even be featured in the list of available skins ingame.
Another point, but not the least, the skinning pack provides by default uncompressed TGA, but the Lotro client accepts compressed TGA and even JPG files (when you don't need transparency).
This allows to save a huge amount of space in your zip file for Lotrointerface (SSD owners will thank you too ^^). (keeping in mind that theorically Lotrointerface doesn't accept files beyond 40 mo).
I have compressed every significant TGA file in JRR skins and used as much JPG background files as I could, without this, the pack would probably be 4 or 5 times heavier !
theater_top_bottom.tga as provided : 3 mo / compressed : 984 ko
box_relicreforge_background.tga as provided : 1 mo / compressed : 14 ko
itemAdvancement_relicforge_background.tga 1 mo / converted in JPG : 98 ko
If you wanna convert/compress/apply effects on many files in a row, Xnview can do it. I mean you can compress every TGA files from the skinning pack in just one process !
My setting in Xnview for "save as" --> "JPG file type' --> "options" : I've set quality on 95.
If you want to take screenshots ingame to use it later in a skin, I strongly recommend you to use a third party program (and BMP file type) instead of the lossy JPG captions from Lotro.
|All times are GMT -5. The time now is 07:22 PM.|
vBulletin® - Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.