ORIGINAL: dazoline II
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?
<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" />
The expectation is that those locations are allowable terrain for armor units. Though it is possible to create a template where this isn't true, every effort is made to place units in not only allowable terrain, but in good locations for the specific unit type.
And yes, the template identifies potential setup locations for the entire map. Setup zones defined by the scenario overlay the template. Actually before that is done, the game first establishes a "layout" for sides using files called "setups". Those files define east - west, south-north, kessel-envelope, wedge battle orientation. Then the scenario allowable setup zone further restricts where units can be moved to during setup phase, but keep in mind during scenario design the designer is not constrained by the setup zone, but if the player tries to move a units during the setup phase, it must be placed within a valid setup zone.
We've had a few reports where units have appeared outside of allowable setup areas.
If my explanation wasn't clear, let me know.