Help with XML format

Post discussions and advice on TOAW scenario design here.

Moderators: ralphtricky, JAMiAM

Post Reply
Anthony_MatrixForum
Posts: 121
Joined: Tue May 23, 2000 8:00 am
Location: Melbourne, Vic, Australia

Help with XML format

Post by Anthony_MatrixForum »

Hi

Are there any experts out there who know TOAW scenario XML format ?

looking at a XML fragment from a scenario file

<UNIT ID="12" CHARACTERISTICS="40000" ICON="Assault Gun" ...... >

Does anyone know what the CHARACTERISTICS attribute does and its possible values ?

Also does anyone have a complete list of the types of unit "ICON" (i.e. HQ, etc. .....)


All this is in aid of a new Scenario Editor I am slowly working - well more prototyping at this stage
See the screenshot


Image
Attachments
Clipboard01.jpg
Clipboard01.jpg (242.73 KiB) Viewed 135 times
User avatar
Panama
Posts: 1362
Joined: Fri Oct 30, 2009 1:48 pm

RE: Help with XML format

Post by Panama »

Maybe if you use the TOAWIII equipment editor you may find some of the information you're looking for. Without it here in front of me I don't know what the characteristics part is unless maybe unit weight? The editor will also show you unit icons.
Oberst_Klink
Posts: 4876
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: Help with XML format

Post by Oberst_Klink »

Tony,

I addressed the request for a code/description of the XML stuff from RT, because I use the .xml file for OOB etc. I think, and it makes sense the characteristics is the role or the special ability of the unit, e.g. engineering, recon, etc.I am not sure, but it would make sense that this number is related to it. Maybe we team up and we can convince RT to give us an index for .xml stuff :)

kLiNk, Oberst

P.S. Could you email or post your beta of your editor? Looks great!
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Help with XML format

Post by ralphtricky »

I'll post in the XML thread I just started.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Oberst_Klink
Posts: 4876
Joined: Sun Feb 10, 2008 7:37 pm
Location: Germany
Contact:

RE: Help with XML format

Post by Oberst_Klink »

RT's XML definitions as .txt. Needs some 'clean up', but just got up and I was a tad too lazy :D *see attached* The post was garbled, but 'view source code' of the site *using Firefox* did the trick.

kLiNk, Oberst
Attachments
XML_RT.txt
(8.35 KiB) Downloaded 15 times
My Blog & on Twitter.
Visit CS Legion on Twitter & Facebook for updates.
Anthony_MatrixForum
Posts: 121
Joined: Tue May 23, 2000 8:00 am
Location: Melbourne, Vic, Australia

RE: Help with XML format

Post by Anthony_MatrixForum »

Ralph

Thanks for that info - i had most of the icons figured from the manual - but as for the characterisitics - figuring that out was never going to happen


Cheers
Anthony


User avatar
parmenio
Posts: 268
Joined: Thu Aug 06, 2009 8:02 am
Location: United Kingdom

RE: Help with XML format

Post by parmenio »

ORIGINAL: Anthony

Ralph

Thanks for that info - i had most of the icons figured from the manual - but as for the characterisitics - figuring that out was never going to happen


Cheers
Anthony



I'd got as far as figuring it out as a bit mask and ...

... after that no chance [&:]
Wargame Design Studio
Lead Programmer
https://wargameds.com/
User avatar
ralphtricky
Posts: 6675
Joined: Sun Jul 27, 2003 4:05 am
Location: Colorado Springs
Contact:

RE: Help with XML format

Post by ralphtricky »

ORIGINAL: parmenio
I'd got as far as figuring it out as a bit mask and ...

... after that no chance [&:]
Norm did a great job of optimizing the heck out of it to fit into a very small memory footprint.
Ralph Trickey
TOAW IV Programmer
Blog: http://operationalwarfare.com
---
My comments are my own, and do not represent the views of any other person or entity. Nothing that I say should be construed in any way as a promise of anything.
Post Reply

Return to “Scenario Design”