PDA

View Full Version : Multiple Skindefinition.XML per UI


Deewe
09-29-2007, 10:45 AM
Hello,

would it be possible to have multiple skindefinition.xml per UI folder?

This way players can tweak their main UI without having to copy the same UI folder again and again.

daimon
09-29-2007, 12:41 PM
The only way to make it a bit more tidily atm is to make a folder for every different skindefinitions in your main folder but still it would be better to have them renamed differently in the same folder.

This is how we can do it now:
Skins\UI\DaimonUI\Config\Version1\SkinDefinition.x ml
Skins\UI\DaimonUI\Config\Version2\SkinDefinition.x ml
Skins\UI\DaimonUI\Config\Version3\SkinDefinition.x ml
etc..

The game still finds all the skindefinition.xml files. No matter if they are behind a few folders.

(so your Skins\UI\ folder wouldn't look like this: [DaimonUI1] [DaimonUI2] [DaimonUI2] [Deewe1] [Deewe2] [RandomX] [RandomY] [Misc2] [LolUI] [tisUIftw] ) :D


Of course then you have to make some modifications on your .xml file so you can use the same pictures for all of your .xml pictures)


Example:
Skins\UI\DaimonUI\Config\Version1\SkinDefinition.x ml
Skins\UI\DaimonUI\Graphics\Misc\picture.tga

The instead of FileName="picture.tga" you have to type in
Filename="../../Graphics/Misc/picture.tga"

Deewe
09-29-2007, 03:25 PM
Great hint thank you!

Well Turbine, forget it ;)