XML and Scripting, the balance of power and simplicity

For everything not directly related to UOX3; Such as official UO, other emus, and everyday chatter about stuff. And whatnot.
Post Reply
punt
VIP
Posts: 244
Joined: Wed Mar 24, 2004 7:46 pm
Has thanked: 0
Been thanked: 9 times

XML and Scripting, the balance of power and simplicity

Post by punt »

I don't know if anyone has played around with WoW's ability for UI customization, but it is pretty impressive. With just XML, and the LUA ( http://www.lua.org/ ) Scripting language, one has a lot of flexibility, but still a managable amount of simplicity.

A perfect example of where the newer tools, clients, and possibly even emu's should consider going.


Not sure if the masses are playing WoW, but a project focussed to wow UI's may be fun (yes, I know they exist).
xir
UOX3 Neophyte
Posts: 47
Joined: Mon Aug 23, 2004 2:59 pm
Has thanked: 0
Been thanked: 0

Post by xir »

It is very nice. I used FlexBar in WoW it was great for custom buttons (size, shape, position etc). The scripting UI engine also allows one to do some less than ethical tasks too :twisted:
Sydius
UOX3 Apprentice
Posts: 171
Joined: Thu Mar 25, 2004 3:22 am
Has thanked: 0
Been thanked: 0

Post by Sydius »

I like Lua a lot (in fact, I am going to a Lua convention this month), but hate XML.

It is not so much a bad idea to use XML from a technical perspective, but I hate all those greater and less-than symbols – they all seem so unnecessary.

I really like the idea of allowing sub-categories etc. and properties like XML, but having a much cleaner C-ish look:

Window MainWindow {
Width 100px
Height 100px
Button someButton {
Text “blah”
}
}

Etc…

Just a personal nit-picking, I guess, but Ogre (a 3D engine I used for a while) uses that style, but CGUI (a GUI toolkit Ogre used) used XML, and I found the XML so much of a hassle in comparison that I ended up writing my own parser to over-ride it.
lingo
UOX3 Novice
Posts: 55
Joined: Thu Jul 07, 2005 12:26 pm
Location: Taipei, Taiwan
Has thanked: 0
Been thanked: 0

Post by lingo »

Yeah, I don't like XML either. But there is so many tool and so many clever hack with XML, you just have to like XML for what it can do.

Case in point http://www.gamedev.net/reference/progra ... s/xmltech/, that is one amazing idea.

If uox3 want to use XML, I would suggest TinyXML, easy to use, and very easy to integrated.
Post Reply