Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Clear Objectives?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Tech Support >> Clear Objectives? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Clear Objectives? - 11/5/2021 9:58:11 PM   
LOK32MK

 

Posts: 45
Joined: 7/19/2015
Status: offline
In the Scenario Editor is there any way to delete all objectives of a specific formation or (if that does not work) all objectives in the scenario?

I am trying to move the first objective of dozens of formations so units would reconstitute at a specific location but it is extremely time consuming to find the first objective of each formation on the map, clear it and then place it somewhere else.
Any help would be greatly appreciated.
Thank you
Post #: 1
RE: Clear Objectives? - 11/6/2021 8:20:51 AM   
cathar1244

 

Posts: 1003
Joined: 9/5/2009
Status: offline
Here is one way to do it outside of the editor.

1. Make a copy of your scenario file so you have a backup.
2. With the scenario loaded into the scenario editor, save the file with the "Save game (XML)" option. This creates a file with a .gam file type suffix.
3. The .gam file can be loaded into a text editor.

4. Bunch of information in that file, including formation objectives. This is what you want to look for:

<FORMATION ID="14" NAME="Baltic Front" PROFICIENCY="100" SUPPLY="100" SUPPORTSCOPE="Internal Support" ORDERS="Wait" EMPHASIS="Ignore Losses" ENTRYTURN="2">
<OBJECTIVES TRACK="1">
<OBJECTIVE ID="1" DESCRIPTION="41,10 (LENINGRAD)" X="41" Y="10"/>
<OBJECTIVE ID="2" DESCRIPTION="21,15 (RIGA)" X="21" Y="15"/>
<OBJECTIVE ID="3" DESCRIPTION="16,21 (KAUNAS)" X="16" Y="21"/>
<OBJECTIVE ID="4" DESCRIPTION="2,18 (GDANSK)" X="2" Y="18"/>
<OBJECTIVE ID="5" DESCRIPTION="51,30 (MOSCOW)" X="51" Y="30"/>

</OBJECTIVES>
<OBJECTIVES TRACK="2"/>
<OBJECTIVES TRACK="3"/>
<OBJECTIVES TRACK="4"/>
<OBJECTIVES TRACK="5"/>

This example shows only one objective track has been set up. The objectives are numbered, and the DESCRIPTION field identifies the hex coordinates of the objective. You can change the coordinates there and save the .gam file.

Once saved, load the modified .gam file into the scenario editor with the "Open Game (XML)" option. If it loads without error, then save it as a regular scenario file and the changes will be in the newly saved scenario file.

Cheers

< Message edited by cathar1244 -- 11/6/2021 8:21:51 AM >

(in reply to LOK32MK)
Post #: 2
RE: Clear Objectives? - 11/6/2021 12:39:26 PM   
LOK32MK

 

Posts: 45
Joined: 7/19/2015
Status: offline
That works! Thank you.

(in reply to cathar1244)
Post #: 3
RE: Clear Objectives? - 11/7/2021 11:46:50 AM   
sPzAbt653


Posts: 9511
Joined: 5/3/2007
From: east coast, usa
Status: offline
If you want to have them all reconstitute at one point, you can do so in the Deployment Editor:




Attachment (1)

(in reply to LOK32MK)
Post #: 4
RE: Clear Objectives? - 11/7/2021 3:07:11 PM   
LOK32MK

 

Posts: 45
Joined: 7/19/2015
Status: offline
Thanks. I know about the re-entry point. But I only want some of the formations to appear at particular locations so the previous solutions works. Thank you

(in reply to sPzAbt653)
Post #: 5
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Tech Support >> Clear Objectives? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.875