Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Scenario XML

 
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 >> Scenario XML Page: [1]
Login
Message << Older Topic   Newer Topic >>
Scenario XML - 10/30/2020 3:55:09 AM   
Ratbag55

 

Posts: 56
Joined: 6/16/2006
Status: offline
I am looking at the exported XML file from a scenario I am developing, and a code entry appears inconsistantly for "NEXT". Why do some units in some formations have the code NEXT?

See example below.

Many thanks
Ratbag



</UNIT>
<UNIT ID="59" NAME="288 TyGABr" ICON="Armored Artillery" COLOR="24" SIZE="Brigade" EXPERIENCE="untried" CHARACTERISTICS="A0020008" PROFICIENCY="70" READINESS="90" SUPPLY="100" X="174" Y="173" EMPHASIS="Limit Losses" STATUS="8" REPLACEMENTPRIORITY="0">
<EQUIPMENT ID="1" NAME="2S5 152mm SP Gun" NUMBER="72" MAX="72" DAMAGE="0"/>
<EQUIPMENT ID="2" NAME="ZU-23 Dual 23mm AA Gun" NUMBER="8" MAX="8" DAMAGE="0"/>
<EQUIPMENT ID="3" NAME="SA-14/16 MPSAM" NUMBER="75" MAX="75" DAMAGE="0"/>
<EQUIPMENT ID="4" NAME="BTR-80 APC" NUMBER="4" MAX="4" DAMAGE="0"/>
<EQUIPMENT ID="5" NAME="Truck" NUMBER="72" MAX="72" DAMAGE="0"/>
</UNIT>
<UNIT ID="60" NAME="303 GvPABr" ICON="Armored Artillery" COLOR="24" SIZE="Brigade" EXPERIENCE="untried" CHARACTERISTICS="A0004008" PROFICIENCY="70" READINESS="90" SUPPLY="100" X="158" Y="140" EMPHASIS="Limit Losses" STATUS="8" REPLACEMENTPRIORITY="0">
<EQUIPMENT ID="1" NAME="2S5 152mm SP Gun" NUMBER="72" MAX="72" DAMAGE="0"/>
<EQUIPMENT ID="2" NAME="ZU-23 Dual 23mm AA Gun" NUMBER="8" MAX="8" DAMAGE="0"/>
<EQUIPMENT ID="3" NAME="SA-14/16 MPSAM" NUMBER="75" MAX="75" DAMAGE="0"/>
<EQUIPMENT ID="4" NAME="BTR-80 APC" NUMBER="4" MAX="4" DAMAGE="0"/>
<EQUIPMENT ID="5" NAME="Truck" NUMBER="72" MAX="72" DAMAGE="0"/>
</UNIT>
<UNIT ID="61" NAME="307 RABr" ICON="Motor Rocket" COLOR="24" SIZE="Brigade" EXPERIENCE="untried" CHARACTERISTICS="A0020008" PROFICIENCY="70" READINESS="90" SUPPLY="100" X="174" Y="173" EMPHASIS="Limit Losses" NEXT="59" STATUS="8" REPLACEMENTPRIORITY="0">
<EQUIPMENT ID="1" NAME="BM-9A52-2 300mm SPMRL" NUMBER="72" MAX="72" DAMAGE="0"/>
<EQUIPMENT ID="2" NAME="ZU-23 Dual 23mm AA Gun" NUMBER="6" MAX="6" DAMAGE="0"/>
<EQUIPMENT ID="3" NAME="SA-14/16 MPSAM" NUMBER="75" MAX="75" DAMAGE="0"/>
<EQUIPMENT ID="4" NAME="BTR-80 APC" NUMBER="8" MAX="8" DAMAGE="0"/>
<EQUIPMENT ID="5" NAME="Truck" NUMBER="72" MAX="72" DAMAGE="0"/>
</UNIT>
<UNIT ID="62" NAME="122 PTABr" ICON="Armored Antitank" COLOR="24" SIZE="Brigade" EXPERIENCE="untried" CHARACTERISTICS="A0040008" PROFICIENCY="70" READINESS="90" SUPPLY="100" X="189" Y="162" EMPHASIS="Limit Losses" STATUS="8" REPLACEMENTPRIORITY="0">
<EQUIPMENT ID="1" NAME="BRDM-2 Sagger SPATGM" NUMBER="12" MAX="12" DAMAGE="0"/>
<EQUIPMENT ID="2" NAME="125mm AT Gun" NUMBER="12" MAX="12" DAMAGE="0"/>
<EQUIPMENT ID="3" NAME="BRDM-2 Scout" NUMBER="4" MAX="4" DAMAGE="0"/>
<EQUIPMENT ID="4" NAME="BTR-80 APC" NUMBER="1" MAX="1" DAMAGE="0"/>
<EQUIPMENT ID="5" NAME="Tracked tractor" NUMBER="12" MAX="12" DAMAGE="0"/>
</UNIT>





< Message edited by Ratbag55 -- 10/30/2020 3:57:22 AM >
Post #: 1
RE: Scenario XML - 10/30/2020 1:03:14 PM   
76mm


Posts: 4688
Joined: 5/2/2004
From: Washington, DC
Status: offline
Next is the Unit ID for the "next" unit in the stack; if there is only a single unit in the hex, there is no stack, so no Next entry. At least that is my understanding, I actually haven't played around with this setting at all. Not sure if "Next" is the unit above, or below, or whether it cycles around, but that should be easy to figure out.

< Message edited by 76mm -- 10/30/2020 1:04:19 PM >

(in reply to Ratbag55)
Post #: 2
RE: Scenario XML - 11/1/2020 10:17:58 AM   
Ratbag55

 

Posts: 56
Joined: 6/16/2006
Status: offline
Of course! That makes complete sense.

Thanks
Ratbag

(in reply to 76mm)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Scenario XML 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

1.111