Scenario XML (Full Version)

All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV



Message


Ratbag55 -> Scenario XML (10/30/2020 3:55:09 AM)

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>







76mm -> RE: Scenario XML (10/30/2020 1:03:14 PM)

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.




Ratbag55 -> RE: Scenario XML (11/1/2020 10:17:58 AM)

Of course! That makes complete sense.

Thanks
Ratbag




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.6113281