Matrix Games Forums

Battle Academy is now available on SteamPlayers compare Ageods Civil War to Civil War IIDeal of the week - An updated War in the East goes half Price!Sign up for the Qvadriga beta for iPad and Android!Come and say hi at Pax and SaluteLegends of War goes on sale!Piercing Fortress Europa Gets UpdatedBattle Academy Mega Pack is now availableClose Combat: Gateway to Caen Teaser TrailerDeal of the Week Alea Jacta Est
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Template XML Question

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

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Panzer Command: Ostfront >> Maps, Models and Mods >> Template XML Question Page: [1]
Login
Message << Older Topic   Newer Topic >>
Template XML Question - 8/14/2012 6:51:45 PM   
dazoline II


Posts: 364
Joined: 11/5/2007
Status: offline
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.

_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.
Post #: 1
RE: Template XML Question - 8/14/2012 7:23:26 PM   
Rick

 

Posts: 11831
Joined: 4/20/2000
Status: offline

quote:

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?

<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.


Dazoline,

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.

Thanks
Rick

(in reply to dazoline II)
Post #: 2
RE: Template XML Question - 8/14/2012 9:20:54 PM   
dazoline II


Posts: 364
Joined: 11/5/2007
Status: offline
Thanks Rick,

wanted to make sure I confirmed my assumptions before I went ahead and did something.


_____________________________

Moscow by winter? Only if you send Fast Heinz to Kiev.

(in reply to Rick)
Post #: 3
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Panzer Command: Ostfront >> Maps, Models and Mods >> Template XML Question 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.063