Hi
Sorry this is a really noob question but I can't find the answer anywhere. I have finished choosing the maps for my operation and have saved it. Is there any way I can now choose which units/armies are available to both myself and the AI?
Many thanks
Kohlrabi
12-07-2009, 15:42
Hi
Sorry this is a really noob question but I can't find the answer anywhere. I have finished choosing the maps for my operation and have saved it. Is there any way I can now choose which units/armies are available to both myself and the AI?
Many thanks
You have to edit the .xml file in order to add specific units. Take a look at the default operations to see how it is done.
Thanks for your help. Default operations shows me what was done not how it was done. I have had a look through custom campaigns like Stalingrad and have noticed the list of units i.e.:
<unitnames>60.(mot)ID,3.(mot)ID,29.(mot)ID,16.PzDiv,24.PzDiv, 100.Jgr.,76.I.D.,71.I.D.,295.I.D.,3.I.D.,44.I.D.,5 3.I.D.</unitnames>
<unitoverlay>_mec,_mec,_mec,_arm,_arm,_inf,_inf,_inf,_inf,_inf, _inf,_inf</unitoverlay>
<unitcategory>99,99,99,5,5,-1,-1,2,2,-1,-1,-1</unitcategory>
</player>
<player id="1">
<nation>3</nation>
<units>16</units>
<unitnames>33rd Guard,35th Guard,5th Shock,13th Guard,399th Rifle,87th Rifle,98th Rifle,112th Rifle,131st Rifle,196th Rifle,23rd Tank,229th Rifle,244th Rifle,315th Rifle,37th Guard,56th Mot.</unitnames>
<unitoverlay>_mec,_mec,_mec,_inf,_inf,_inf,_inf,_inf,_inf,_inf, _arm,_inf,_inf,_inf,_mec,_mec</unitoverlay>
But was wondering where does this information originate from? and is there a readme/faq on how to correctly edit the xml / "how to specify your own unit distribution within custom operations"?
Thanks
Kohlrabi
12-07-2009, 22:01
Just copy/paste and add/replace/subtract these lines of code/units into your campaign of choice.
There is also a line of code determining where on the map the units are placed initially. (which corresponds to the map id numbers)
No readme/faq exists because no one has written any :)
I haven't gotten to it yet, but my plan was to keep discussions like this in the dedicated thread
(viewtopic.php?f=138&t=3634 (http://www.digitalmindsoft.eu/forums/viewtopic.php?f=138&t=3634)), and then compiling everything into the first post there.
aaronrdmn
24-08-2009, 05:25
What does the 2 do in <unitcategory> ?
What does the 2 do in <unitcategory> ?
That sets the maximum category allowed for that operation unit. See categories in vehicles.xml file. Exceptions are -1 = no heavy equipment at all and 99 = normal random mix.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.