Thread Tools Display Modes
02-27-11, 06:56 PM   #1
adam4813
A Murloc Raider
Join Date: Feb 2011
Posts: 8
New UI Editor Concept (Feedback & Features wanted)

I am developing a new UI editor concept that I believe could have a broad reaching impact on the whole UI modification scene. Basically games that use an XML based UI format all have very similar layouts and ideas. For example a basic button is nearly the same in all XML based UIs. It has a normal image, pressed image, disabled image, size, location, and text. Of course how each separate game stores this in the XML is slightly different, be it either sub elements <size><x>10</x><y>20</y></size> or with attributes <size x=10 y=20 />. No matter how each widget/element/piece is describe in the XML it is still the same data.

What I am proposing is to create an all purpose UI editor that uses scripting based loading/saving for each type. Internally these widgets/elements/pieces are stored in a common format that the program can draw, but with the specialized elements (such as the EQ chat window element) you can call the script to describe how to draw that element. The script will read through the XML file and create a common internal element based on the XML data. Once editing is finished the same script just performs a reverse operation to put the common internal element's data back into the XML and saves it.

By using a common internal format things could be copied and pasted between UIs of different games to create a uniform look and feel. The future goal for a 2.0 would also be script based Live Mode to allow visual testing of the UI.

What I am looking for is some skilled scripters (familiar with angelscript would be helpful) or skilled C++ programmers. I am writing it tailored to Windows right now, but I am using interfaces that will allow cross-platform programing as well. Keep you eyes on this thread for an updates also please leave feedback and feature requests.
  Reply With Quote
02-27-11, 08:39 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,326
To add some complexity to the idea, WoW needs a client restart when adding files to an addon, and ToC changes require a complete logout (as far as to the login screen). Changes to existing addon files (other than ToC) just need a UI reload.

Just something to think about when you get into live editing.

I've had combined experience of 8 years so far with Lua and 5 years with the WoW addon system (XML + Lua + WoW API). If you need help in that area, I'd be willing to offer assistance.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 02-27-11 at 08:43 PM.
  Reply With Quote
02-27-11, 08:41 PM   #3
adam4813
A Murloc Raider
Join Date: Feb 2011
Posts: 8
Sorry, by live I meant the editor itself will "run" the UI in demo mode. Not inside the game client.
  Reply With Quote
02-27-11, 08:53 PM   #4
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
But what if your UI elements are created via Lua code?

/edit: I, and many other authors, don't use XML.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote
02-27-11, 08:56 PM   #5
adam4813
A Murloc Raider
Join Date: Feb 2011
Posts: 8
This is why I need others from all types of communities on board to create the scripts for that game client. Dynamically created elements are certainly possible via scripting. This type of dynamic element may be beyond the 1.0, but it is a possible feature.

**Edit** Saw your edit there. My XML loader works like a tree, moveup/down/left/right, and it has accessors to get innertext and attributes of each element.
  Reply With Quote
02-27-11, 09:02 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Originally Posted by adam4813 View Post
**Edit** Saw your edit there. My XML loader works like a tree, moveup/down/left/right, and it has accessors to get innertext and attributes of each element.
I'm not entirely certain of how that pertains to my edit.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » New UI Editor Concept (Feedback & Features wanted)


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off