Go Back   DUNGEONS & DRAGONS ONLINE®: Eberron Unlimited™ Forums > Gameplay > User Interface

User Interface This forum is for the discussion of UI features in the game or UI customizations. For UI customizations and guides, visit www.lotrointerface.com's DDO section!


Advertisement
Reply
 
Thread Tools Search this Thread Display Modes
Old 03-20-2008, 03:05 PM   #1
ccheath776
Stormreach Mentor
 
ccheath776's Avatar
 
Join Date: Mar 2006
Location: Atlanta, GA
Posts: 2,968
ccheath776 the Neutral
Default Basic Skinning instruction

I moved this over to this thread so people can see it better.

Good Day DDO bashers, smashers, and now designers.

With the new interface appearing there will obviously be many questions that will need to be answered.
Allow myself to introduce....myself.

Basically what I do for a living is help develop XML and Web interface applications for a transaction security company, so I am familiar with both XML and interface design.

This thread is here to ask your questions and hopefully get answers for whatever it is that you have questions for in regards to the UI interface toolkit.

Note: I am no expert nor a guru. I will not claim to be. Some questions I doubt I can answer thats why the thread is "open". It means anyone can answer the question. I'm sure I'll have some myself.
If you got a question I or someone in the DDO community will try to assist.
So ask away.
__________________
Who's the more foolish, the fool or the one who sends it a res.
Unrestricted free agent
Khyber
Characters - Terrah, Elayne, Shiado, Ranok, Rattchet
ccheath776 is offline   Reply With Quote
Old 03-20-2008, 03:06 PM   #2
ccheath776
Stormreach Mentor
 
ccheath776's Avatar
 
Join Date: Mar 2006
Location: Atlanta, GA
Posts: 2,968
ccheath776 the Neutral
Default

So let me start with a guide on the interface.
There is a good guide at http://www.lotrointerface.com/index.php?p=guides

But if that makes your face squint with confusion I simplified it even further.
The first rule of development and design is DONT PANIC!! Be patient.

Guide:
If you are wishing to design some UI interfaces the basics are this. This is really good and I am explaining it in the simplest of forms. UI interfaces is my specialty, its what I do every day, all day professionally. The first thing to understand is "Dont Panic!!"

U dont need to know xml coding to understand this. They have actually made this very simple.

You can read where to place these files here at this website.
http://www.lotrointerface.com/index...._ui_skinning_1


Let me start by explaining the xml file because that is the basis for all of your UI design. Everything feeds off that file. XML or any programming is easy if you speak the language just like any other language. If you know what it means or what its saying you will understand how to talk to the computer to make it do what you want.
For example Mapping ArtAssetID="level_background" FileName="vitals\level_background.tga"
In XML language I am saying.
"Computer, use the file name level_background.tga located in the vitals folder for the UI section level_background."

Ok now that you understand what programming language means lets discuss how to design the interface we want.

You have one .xml file, you can have more than one but that is advanced xml scripting, so we will stick to just one.

The file has to be named SkinDefinition.xml. The best way to code XML is to do it in a notepad or notepad+.
When you open that file it will look like this.

<?xml version="1.0" encoding="UTF-8" ?>
- <opt>
- <!--
Skin Name: ArenUI - Halloween Edition
Skin Creator: Aren of <Two Words>, Windfola
Skin Version: 3.
-->
<SkinName Name="ArenUI v3" />
<Mapping ArtAssetID="LetterBoxBottom" FileName="mainbar.tga" />
<Mapping ArtAssetID="level_background" FileName="vitals\level_background.tga" />
<Mapping ArtAssetID="level_background_red" FileName="vitals\level_background_red.tga" />
<Mapping ArtAssetID="bag_inventory" FileName="invisible.tga" />
<Mapping ArtAssetID="bag1" FileName="invisible.tga" />
<Mapping ArtAssetID="bag2" FileName="invisible.tga" />

Dont PANIC!!
Its not as hard as you think.
The first line to look at is the skinname.
- This is what DDO will identify it as when you go into your options screen to select the skin. So if I were to implement this skin, then go into DDO, go into options, ui settings, current user skin. In the drop down list there would be "default" and then "ArenUI v3". This is the most important aspect. If there is no name, the file will not parse and wont work.

Next is the Mapping ArtAssetID
- There are two parts to this line that are important.
You will notice the line says
Mapping ArtAssetID="LetterBoxBottom" FileName="mainbar.tga"
The first part is "Letterboxbottom" This indicates which UI you are defining an image for. Let me say that again so its clear. This first part defines a specific part of the UI, not the image. In this case it means that you are defining the image for the letterbox bottom. The definitions for each aspect of the Ui can be found here.
http://www.lotrointerface.com/index...._ui_skinning_2
The next part is the actual image. It is recomended that you use TGA. I will explain what that is in a second but for now just know what that means. What it means is that you are telling the game engine to use the the image name mainbar.tga for letterboxbottom.

After that there is nothing else to it. Thought it was going to be harder than that huh? Not so. So basically lets review. Remember two things about the xml file. The Skinname and the Mapping ArtAssetID. The skinname defines what you want it to be called, the ArtassetID tells the program in two parts what to do. The first is what UI to use, the next is what image to use and where to find it.

DIRECTORY STRUCTURE -
This is also important.
All of the UI skins are placed in a directory called "uiskins. So on your C: drive or wherever you put your DDO installation. You will see this most likely.
C:\Program Files\Dungeons and Dragons Online\Uiskins
Or it could be here.
C:\Documents and Settings\username\My Documents\Dungeons and Dragons Online\Uiskins
Where ever it is, that is what you must know and understand in order to implement your skins.
Once you find the directory your directory must be named uiskins"skin name"
So it will look like this.
C:\Program Files\Dungeons and Dragons Online\Uiskins\uiskinsArenUIV3
THIS IS IMPORTANT!!
Underneath that uiskins sub directory you will put first your SkinDefinition.xml and then all of your TGA files. How you organize that is up to you. Typically people organize it in more sub-directories so its more visually pleasing rather than a folder with a bunch of TGA files in them. But you can organize that however you want. Just make sure the Filename in the Mapping script line matches the correct path. So if you have this.
\uiskinsArenUI3\silver\side_right.tga
Then the filename line in your script should say silver\side_right.tga
That sounds complicated but it will make more sense when you start writing your script.


That is the basics of setting up your UI interface.
First - Define your skinname in the xml file
Second - Organize your TGA images and define what TGA image goes for which aspect of the UI
Third - Design your directory structure to make it more manageable.

WAIT!! Dont stop yet I need to explain what in the heck TGA images are.
TGA images are specialized, high quality, images. These normally can only be created or edited in programs such as Photoshop, CorelDraw, or Paintshop Pro. In other words you can't just open them up in a regular J-peg viewer. You can place JPG or BMP files there but their quality will not be as good.
If your using photoshop, make sure to FLATTEN your layers before publishing or the image file will be too big.

In the next post I will give an example of how to set up a basic UI interface.
It sounds much more complicated than it is.
Cont. below
__________________
Who's the more foolish, the fool or the one who sends it a res.
Unrestricted free agent
Khyber
Characters - Terrah, Elayne, Shiado, Ranok, Rattchet
ccheath776 is offline   Reply With Quote
Old 03-20-2008, 03:06 PM   #3
ccheath776
Stormreach Mentor
 
ccheath776's Avatar
 
Join Date: Mar 2006
Location: Atlanta, GA
Posts: 2,968
ccheath776 the Neutral
Default

Cont. So Here is a typical workflow of how to design a UI interface and get itto work.

The first thing I do is make a .TGA image. In this case I'll make a border that has some cool looking barbs on it.
I will name it barbsborder.TGA

But wait.
I want to organize my folders first.
I am going to create a folder called "uiskinsborderflame"
Underneath that I will put a bunch of subfolders in a way that I can organize my images properly. I will start with one, just to make it simple.
I will name it "borders"
so my folder setup looks like
uiskinsborderflame/borders
I then place the .tga file I just created in that borders folder and leave it for now.

Next I open notepad, in my case I use notepad+.
I type in the following lines. I first, name my skin design.
Borderflame is what I will call it.

<SkinName Name="borderflame" />

Next I look up in the definitions listing for a letterbox. I want to change the letterbox of the lfg panel to have a border with barbs instead of the typical solid yellow we normally see. I've already created my .tgs file. But I need to tell the DDO game engine to use my image file correctly. So I type the following making sure under filename to place the proper path.

<Mapping ArtAssetID="lfg_leftBorder_active" FileName="borders/barbsborder.TGA" />

So now I've told the DDO engine to use for the Ui interface LFG border when its active to use the image barbsborder.tga. The effect should be that when I open the LFG bar and click on it, the barbs will appear. To give the interface a bit of interaction.
I then go through, making more TGA images, creating more subfolders, and then putting the language into the XML file directing the engine to pull up that interface

I save the notepad file.
And I am done.

Nothing much else to it except your imagination and patience.

Advanced -
When I learn if I can, I will show you how to do some advanced UI interfacing like adding some cool xml scripts to make the interface do some interesting things. I can't animate the borders like flames and that but we can come pretty close. I just have to do more testing with it. Good luck.
__________________
Who's the more foolish, the fool or the one who sends it a res.
Unrestricted free agent
Khyber
Characters - Terrah, Elayne, Shiado, Ranok, Rattchet
ccheath776 is offline   Reply With Quote
Old 04-12-2008, 10:06 AM   #4
iamsamoth0
Community Member
 
iamsamoth0's Avatar
 
Join Date: Feb 2007
Location: Seattle
Posts: 1,142
iamsamoth0 the Notediamsamoth0 the Noted
Thumbs up I will keep an eye in this thread.

I'm gonna have to re-read it .
I very much appreciate you going through the trouble to try and help.
Thank you.

I still read it,
".....Don't Panic....blah, blah, .....stuff I shouldn't fool with....., careful..., ...scripting, .....don't, .....make sure..... !.
Guh!
One day maybe.
__________________
The Truth~ +5 Transmuting Utterance of Puncturing .
BarrelBane Crateslayers~Shamrocks.
of Spew(Argo, Thelanis, Cannith);Chunkss[Argo]
iamsamoth0 is offline   Reply With Quote
Old 04-18-2008, 03:11 PM   #5
ccheath776
Stormreach Mentor
 
ccheath776's Avatar
 
Join Date: Mar 2006
Location: Atlanta, GA
Posts: 2,968
ccheath776 the Neutral
Default

Its alot of information but on the surface its quite easy.
Plus you get an intro into the UI interface world, something I specialize in.
I wish there was more I could do with this interface like maybe a dev kit that I could really do some cool stuff with. But some of that may be too close to the source code.
I just like the ability to use it.

Maybe some day turbine will let me work for them and then I could get to work on some cool ideas ive had for UI changes.
Im all about easy, interactive design.
__________________
Who's the more foolish, the fool or the one who sends it a res.
Unrestricted free agent
Khyber
Characters - Terrah, Elayne, Shiado, Ranok, Rattchet
ccheath776 is offline   Reply With Quote
Old 06-27-2008, 07:51 AM   #6
Hordo
Community Member
 
Hordo's Avatar
 
Join Date: Mar 2006
Location: Meridia Suburb of Stormreach, Xen'Drik. But have a vacation home in Collierville, Tennessee
Posts: 1,085
Hordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the Reliable
Default

Ok, bro...expect a few /tells from any one of my "Hordo" toons...cause I'm gonna get the hang of this or die trying.
I have lots of things I'd like to do, and I'll give it a go first then /tell you.
But, mainly, I want to alter the color scheme just a little, insert an image in the corner of my screen and if possible change the font. All the rest of what I'd like to do rests on those things. Anyway, I'll be giving you a holler!
__________________
-Khyber- Loreseekers, Guild Leader
Hordo ~ Hordiva ~ Lukkie ~ Hordazzle ~ And dozens of other “Hord”otoons!
High Rabbi of Gornn
Loreseekers Guild
Hordo is offline   Reply With Quote
Old 06-28-2008, 06:56 AM   #7
Hordo
Community Member
 
Hordo's Avatar
 
Join Date: Mar 2006
Location: Meridia Suburb of Stormreach, Xen'Drik. But have a vacation home in Collierville, Tennessee
Posts: 1,085
Hordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the Reliable
Default

Ok.
I will not panic.
I promise.
I just cannot find, anywhere on my machine, a directory that even has "UI" upper case, lower case, mixed case anywhere in any directory.
I am frustrated.
Will not panic.
Will await further instructions.
*gulp*
__________________
-Khyber- Loreseekers, Guild Leader
Hordo ~ Hordiva ~ Lukkie ~ Hordazzle ~ And dozens of other “Hord”otoons!
High Rabbi of Gornn
Loreseekers Guild
Hordo is offline   Reply With Quote
Old 06-28-2008, 12:32 PM   #8
Cairenn
Community Member
 
Cairenn's Avatar
 
Join Date: Dec 2007
Posts: 13
Cairenn the Neutral
Default

Quote:
Originally Posted by Hordo View Post
I just cannot find, anywhere on my machine, a directory that even has "UI" upper case, lower case, mixed case anywhere in any directory.
You need to create it yourself, the same as if you were installing one. Just change Lord of the Rings Online to Dungeons and Dragons Online as applicable. So, your final path will be:

C:\Documents and Settings\username\My Documents\Dungeons and Dragons Online\ui\skins
__________________
Cairenn
Credendo Vides
Admin: EQInterface, EQ2Interface, LotROInterface, VGInterface, WoWInterface
Cairenn is offline   Reply With Quote
Old 06-30-2008, 07:36 AM   #9
Hordo
Community Member
 
Hordo's Avatar
 
Join Date: Mar 2006
Location: Meridia Suburb of Stormreach, Xen'Drik. But have a vacation home in Collierville, Tennessee
Posts: 1,085
Hordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the Reliable
Default

Cairenn, THANK YOU! I'll give this a go when I get home after work tonight and let you folks know how I did. I'm not a deft-hand at this sort of thing but am eager to learn and grateful for the assistance.
__________________
-Khyber- Loreseekers, Guild Leader
Hordo ~ Hordiva ~ Lukkie ~ Hordazzle ~ And dozens of other “Hord”otoons!
High Rabbi of Gornn
Loreseekers Guild
Hordo is offline   Reply With Quote
Old 07-01-2008, 12:19 AM   #10
Hordo
Community Member
 
Hordo's Avatar
 
Join Date: Mar 2006
Location: Meridia Suburb of Stormreach, Xen'Drik. But have a vacation home in Collierville, Tennessee
Posts: 1,085
Hordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the ReliableHordo the Reliable
Default

Now, thanks to Carienn, I have downloaded some of the 'complete' skins and have had a great time playing with those. However, I do have a few questions now.

1. If I want to begin to make my own skin, but don't want to change alot of the stuff, do I need to have my XML file with a complete TGA ArtAssetID list or can I just list the ones I wish to have altered, leaving the rest at default just by not mentioning them?

2. I have had a problem occuring perfoming the Quit function. It does not quit but shows a very large picture of the quit choice box and then I have to use the X to close DDO out. Is there a way to correct this bug?

3. Where on my PC can I find the default TGA(?) files for DDO to begin to edit/alter 'clean' copies?

4. Is there a way to put a standalone picture on the screen that doesn't have any other real purpose? For instance, if I wanted a small pic of my dog (completely random item folks...I'm wierd, but not that wierd) in the bottom right of the screen could I do that and if so how?

I'm sorry for being a noodge folks, but I am very interested in learning this stuff.
__________________
-Khyber- Loreseekers, Guild Leader
Hordo ~ Hordiva ~ Lukkie ~ Hordazzle ~ And dozens of other “Hord”otoons!
High Rabbi of Gornn
Loreseekers Guild
Hordo is offline   Reply With Quote
Old 07-27-2008, 05:23 PM   #11
Agarth
Founder
 
Agarth's Avatar
 
Join Date: Feb 2006
Location: IN, US
Posts: 128
Agarth the Neutral
Default Gah!!!

I figured it out... I'm an idiot...

~Riosse
__________________
Proud Leader of Stormhaven
Stormhaven Reformation
Agarth - Lvl13 WF Barbarian
Riosse Strinne - Lvl16 Human Cleric

Last edited by Agarth; 07-27-2008 at 05:33 PM. Reason: Overcomplicated things.
Agarth is offline   Reply With Quote
Old 01-08-2009, 12:17 PM   #12
stuby
Community Member
 
stuby's Avatar
 
Join Date: Mar 2006
Posts: 21
stuby the Neutral
Default

does it still work because i have made a folder with ui and then made one with skin and i didn't work. then made one with uiskin and didn't work help please?
stuby is offline   Reply With Quote
Old 02-18-2009, 11:13 PM   #13
iamsamoth0
Community Member
 
iamsamoth0's Avatar
 
Join Date: Feb 2007
Location: Seattle
Posts: 1,142
iamsamoth0 the Notediamsamoth0 the Noted
Red face Bump.

That is well deserved, good info here. Just not brave enough to attempt on my own.
Hint.
Hint.
Cough~cough
Wink~wink
Nudge~nudge
__________________
The Truth~ +5 Transmuting Utterance of Puncturing .
BarrelBane Crateslayers~Shamrocks.
of Spew(Argo, Thelanis, Cannith);Chunkss[Argo]
iamsamoth0 is offline   Reply With Quote
Old 02-25-2009, 01:33 PM   #14
WolfSpirit
Community Member
 
WolfSpirit's Avatar
 
Join Date: Feb 2007
Location: Central New York State
Posts: 1,296
WolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the Reliable
Arrow Whoa!

I just want to be able to download a pre-made skin that I like into X-Directory. Then choose it from the options panel...
Or even:
Download file001 into X-Directory, then
Download file002 into Y-directory, then
Download file003 into Z-directory...

No Such Luck huh?
__________________
Quote:
Originally Posted by Tolero View Post
It's my chaotic neutral nature, sorry about that.
-
If we shrank our solar system to the size of a Quarter, and lay it at your feet, the Milky Way galaxy would be the size of North America. ~NASA Perspective anyone?
WolfSpirit is offline   Reply With Quote
Old 03-04-2009, 01:49 PM   #15
WolfSpirit
Community Member
 
WolfSpirit's Avatar
 
Join Date: Feb 2007
Location: Central New York State
Posts: 1,296
WolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the ReliableWolfSpirit the Reliable
Arrow My Reasoning...

I would love to skin truthfully, because for me the cursor in this game is WAY too small and the color blends in with nearly everything.
Since I'm a Shortcut bar clicker instead of a Keybinder, this makes it VERY hard to find my cursor sometimes in serious times during the game.
(Such as when a major Battle ensues and there is CC all over the place)
Is there some way to enlarge my cursor or even just change its color?
__________________
Quote:
Originally Posted by Tolero View Post
It's my chaotic neutral nature, sorry about that.
-
If we shrank our solar system to the size of a Quarter, and lay it at your feet, the Milky Way galaxy would be the size of North America. ~NASA Perspective anyone?
WolfSpirit is offline   Reply With Quote
Old 03-04-2009, 02:03 PM   #16
tharveysinjin
Community Member
 
tharveysinjin's Avatar
 
Join Date: May 2006
Location: Dallas
Posts: 255
tharveysinjin has disabled reputation
Default

Quote:
Originally Posted by ccheath776 View Post
I wish there was more I could do with this interface like maybe a dev kit that I could really do some cool stuff with. But some of that may be too close to the source code.
I just like the ability to use it.

Maybe some day turbine will let me work for them and then I could get to work on some cool ideas ive had for UI changes.
Im all about easy, interactive design.
What's the possibility of posting some type of run book with screenshots that provide an image of a finished skin, followed by step by step instructions with images that show the progression from start to finish.
__________________
Treachery wears many masks, but none so treacherous as the mask of virtue.
tharveysinjin is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:06 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© 2005-2009 Turbine, Inc. All rights reserved.

Dungeons & Dragons Online® : Eberron Unlimited™ interactive video game © 2010 Turbine, Inc. © 2010 Wizards of the Coast LLC © 2010 Atari, Inc. All rights reserved. Dungeons & Dragons Online, Eberron Unlimited, Dungeons & Dragons, D & D and Wizards of the Coast and related logos are trademarks or registered trademarks of Wizards of the Coast LLC in the U.S. and/or other jurisdictions, and are used with permission. Hasbro and its logo are trademarks or registered trademarks of Hasbro, Inc. in the U.S. and/or other jurisdictions, and are used with permission. Atari and the Atari logo are trademarks owned by Atari Interactive, Inc. Turbine and the Turbine logo are trademarks or registered trademarks of Turbine, Inc. in the U.S. and/or other jurisdictions. The ESRB rating icons are registered trademarks of the Entertainment Software Association. All other trademarks are the property of their respective owners.