Template XML Question
Posted: Tue Aug 14, 2012 3:51 pm
Just want to confirm some information on the XML.
Taking golzow.xml as an example using the first unit entry:
<unit unitid="Armour" unitname="Armour" exp="veteran" number="1" max="4" model="undefined" reinforcementTurn="0" reinforcementChance="1" ammo="1" keyunit="false" unitfixed="false" x="946,993,990,980" z="986,963,942,952" heading="0,0,0,0" decal=",,," />
Are the x and z locations in each unit tag placement safe locations?
As in they're the only places on the map safe for that type of unit, in this case armor won't start in terrain it can't move out of.
I assume these locations would have to be checked for actually being in the setup area when building a Scenario, correct?
So the individual armour locations above would be suitable for a Russian armour unit given the setup areas defined in a given Scenario below but not for a German unit?
<setups>
<setup owner="German" min_x="1" max_x="250" min_z="1" max_z="999" />
<setup owner="Russian" min_x="500" max_x="999" min_z="1" max_z="999" />
</setups>
Thanks.
Taking golzow.xml as an example using the first unit entry:
<unit unitid="Armour" unitname="Armour" exp="veteran" number="1" max="4" model="undefined" reinforcementTurn="0" reinforcementChance="1" ammo="1" keyunit="false" unitfixed="false" x="946,993,990,980" z="986,963,942,952" heading="0,0,0,0" decal=",,," />
Are the x and z locations in each unit tag placement safe locations?
As in they're the only places on the map safe for that type of unit, in this case armor won't start in terrain it can't move out of.
I assume these locations would have to be checked for actually being in the setup area when building a Scenario, correct?
So the individual armour locations above would be suitable for a Russian armour unit given the setup areas defined in a given Scenario below but not for a German unit?
<setups>
<setup owner="German" min_x="1" max_x="250" min_z="1" max_z="999" />
<setup owner="Russian" min_x="500" max_x="999" min_z="1" max_z="999" />
</setups>
Thanks.