xml guide?

Is there a guide on the game's xml schema? I was thinking that a useful programming project would be the creation of a modding program that put an easy to use ui on top of the xml.

 

5,425 views 8 replies
Reply #1 Top

There is no guide. I should also mention that we are probably getting a modding tool at some point near release. Derek apparently has one that he uses and will make a public version when the game is ready for more modding. 

Reply #3 Top

Good news on the official mod tool. I might putz around anyway just to explore the structures... I was hoping to avoid manually typing all that xml :-)

Reply #4 Top

Don't manually type any xml, unless you have to.   You can easily create xml using any number of tools (Visual Studio Express is free and is what I use), you can generate a schema for the various xml files if it is something that you need (use the xsd.exe tool from microsoft), otherwise they are fairly straight-forward to generate from c#/java classes if you are familiar with xml structure.

 

edit:  I should note that the one exception to the "straight-forward" comment I made is the quest xml which is complex and not very easy to model.   I started a Quest editor and ultimately decided to wait for the super spreadsheet we are going to get from Derek.   It is possible to create the editor, it would just take more time than I was willing to spend on it.  

 

Let us know what particular area you are interested in, and I am sure you will find plenty of folks willing to help out.

Reply #5 Top

I use a text editor and copy paste stuff.

Reply #6 Top

Quoting Heavenfall, reply 6
I use a text editor and copy paste stuff.

 

Me too. Very quick and fewer errors. 

Reply #7 Top

Quoting Heavenfall, reply 6
I use a text editor and copy paste stuff.

Ditto.  I use EditPad.  It has some nice formatting tools for XML including the ability to fold nodes.  I find that very helpful to keep my XML well formed.

Reply #8 Top

May I humbly suggest Notepad ++ for those who don't want to use VSE. Notepad++ even has tabs for remembering documents! Very useful, there is also a compare plugin for those of you who are working on a quest and want something to diff with. However, since the lines will not be exactly the same, its a little buggy, but might help you get an idea of why something is broken.