Adding OBJECTIVES TRACK's in XML

Norm Koger's The Operational Art of War III is the next game in the award-winning Operational Art of War game series. TOAW3 is updated and enhanced version of the TOAW: Century of Warfare game series. TOAW3 is a turn based game covering operational warfare from 1850-2015. Game scale is from 2.5km to 50km and half day to full week turns. TOAW3 scenarios have been designed by over 70 designers and included over 130 scenarios. TOAW3 comes complete with a full game editor.

Moderators: JAMiAM, ralphtricky

Post Reply
John T_MatrixForum
Posts: 83
Joined: Mon Aug 07, 2000 8:00 am
Location: Stockholm Sweden

Adding OBJECTIVES TRACK's in XML

Post by John T_MatrixForum »

Hi all

For the last eight(8) years I have on and off messed with Erik Nygaards Weserübung scenario adding Sweden as part of the allies.

As I started with version 2.6 of the scenario (now good enough to test if anyone care)
and now ported the Units and formations to version 4.9 (courtesy of Erik)
But

the objective tracks does not update's from XML ?
Tried to edit both a .gam and a .oob file but neither change where loaded with the file.

Is this something that should not work or am I just doing something silly ?

I just copied the following chunck of XML:

<OBJECTIVES TRACK="1">
<OBJECTIVE ID="1" DESCRIPTION="186,155" X="186" Y="155"/>
<OBJECTIVE ID="2" DESCRIPTION="164,161" X="164" Y="161"/>
<OBJECTIVE ID="3" DESCRIPTION="159,195 (Karlstad)" X="159" Y="195"/>
<OBJECTIVE ID="4" DESCRIPTION="168,203" X="168" Y="203"/>
<OBJECTIVE ID="5" DESCRIPTION="166,219 (Jönköping)" X="166" Y="219"/>
<OBJECTIVE ID="6" DESCRIPTION="165,232 ( )" X="165" Y="232"/>
<OBJECTIVE ID="7" DESCRIPTION="161,241" X="161" Y="241"/>
</OBJECTIVES>


Something more needed ?
Cheers
/John T
User avatar
Rodia
Posts: 123
Joined: Wed Sep 19, 2012 5:07 pm

RE: Adding OBJECTIVES TRACK's in XML

Post by Rodia »

Hi, John.

I've edited scenarios in XML adding or removing equipment from units and then importing back, without problems. But I couldn't do the same with objectives.

Until someone appears with better info, I can confirm it doesn't work for me either.
User avatar
Curtis Lemay
Posts: 15327
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Adding OBJECTIVES TRACK's in XML

Post by Curtis Lemay »

ORIGINAL: John T

Hi all

For the last eight(8) years I have on and off messed with Erik Nygaards Weserübung scenario adding Sweden as part of the allies.

As I started with version 2.6 of the scenario (now good enough to test if anyone care)
and now ported the Units and formations to version 4.9 (courtesy of Erik)
But

the objective tracks does not update's from XML ?
Tried to edit both a .gam and a .oob file but neither change where loaded with the file.

Is this something that should not work or am I just doing something silly ?

I just copied the following chunck of XML:

<OBJECTIVES TRACK="1">
<OBJECTIVE ID="1" DESCRIPTION="186,155" X="186" Y="155"/>
<OBJECTIVE ID="2" DESCRIPTION="164,161" X="164" Y="161"/>
<OBJECTIVE ID="3" DESCRIPTION="159,195 (Karlstad)" X="159" Y="195"/>
<OBJECTIVE ID="4" DESCRIPTION="168,203" X="168" Y="203"/>
<OBJECTIVE ID="5" DESCRIPTION="166,219 (Jönköping)" X="166" Y="219"/>
<OBJECTIVE ID="6" DESCRIPTION="165,232 ( )" X="165" Y="232"/>
<OBJECTIVE ID="7" DESCRIPTION="161,241" X="161" Y="241"/>
</OBJECTIVES>


Something more needed ?
Cheers

Are you using an XML editor?
My TOAW web site:

Bob Cross's TOAW Site
John T_MatrixForum
Posts: 83
Joined: Mon Aug 07, 2000 8:00 am
Location: Stockholm Sweden

RE: Adding OBJECTIVES TRACK's in XML

Post by John T_MatrixForum »

ORIGINAL: Curtis Lemay

Are you using an XML editor?

Yes, Notepad++

And at times I load whole files with SSIS into Sql Server for database manipulations.

But in this case it is just Notepad++ and it works fine with adding units and changing names and so on
but not objective tracks for some reason.

Cheers
/John
/John T
User avatar
Curtis Lemay
Posts: 15327
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Adding OBJECTIVES TRACK's in XML

Post by Curtis Lemay »

ORIGINAL: John T

ORIGINAL: Curtis Lemay

Are you using an XML editor?

Yes, Notepad++

And at times I load whole files with SSIS into Sql Server for database manipulations.

But in this case it is just Notepad++ and it works fine with adding units and changing names and so on
but not objective tracks for some reason.

Alright, it looks like it doesn't even work for F4, F5. I had heard about the bug with Save Game, Open Game, but I thought the other way was working.

Edit: Ok, it seems like F5 doesn't overwrite any existing objectives. That's how I got confused. I knew I had used it on some of my scenarios, and they still had objectives.
My TOAW web site:

Bob Cross's TOAW Site
John T_MatrixForum
Posts: 83
Joined: Mon Aug 07, 2000 8:00 am
Location: Stockholm Sweden

RE: Adding OBJECTIVES TRACK's in XML

Post by John T_MatrixForum »

Thanks
then I redo it manually, to remove the error message incomplete scenario.


Cheers
/John
/John T
User avatar
Curtis Lemay
Posts: 15327
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Adding OBJECTIVES TRACK's in XML

Post by Curtis Lemay »

Why can't you use the binary scenario file?
My TOAW web site:

Bob Cross's TOAW Site
John T_MatrixForum
Posts: 83
Joined: Mon Aug 07, 2000 8:00 am
Location: Stockholm Sweden

RE: Adding OBJECTIVES TRACK's in XML

Post by John T_MatrixForum »

ORIGINAL: Curtis Lemay

Why can't you use the binary scenario file?

The sce-file with objective tracks are based on version 2.6 of the Weserübung scenario
while I tries to upgrade Erik's version 4.9 with my swedish army.

Cheers
/John
/John T
User avatar
Curtis Lemay
Posts: 15327
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Adding OBJECTIVES TRACK's in XML

Post by Curtis Lemay »

ORIGINAL: John T

The sce-file with objective tracks are based on version 2.6 of the Weserübung scenario
while I tries to upgrade Erik's version 4.9 with my swedish army.

If it's just an oob upgrade, then start with the 2.6 binary loaded, then upload your xml oob file - the oob will update while the old tracks will remain. As I said, the F5 thing doesn't overwrite the tracks.

Now, if there's more to it than just the oob, that may not work too well - but it would be worth a try. You can also upload any event changes separately, too.
My TOAW web site:

Bob Cross's TOAW Site
Martin_Goliath
Posts: 98
Joined: Fri Jul 27, 2007 3:54 pm

RE: Adding OBJECTIVES TRACK's in XML

Post by Martin_Goliath »


Hej John,
ORIGINAL: John T

the objective tracks does not update's from XML ?
Tried to edit both a .gam and a .oob file but neither change where loaded with the file.


This is a known editor bug, see http://www.matrixgames.com/forums/tm.asp?m=3110689

MVH
Martin
Post Reply

Return to “Norm Koger's The Operational Art Of War III”