bb
General
Blitzkrieg junkie (tried to quit several times).
Posts: 1,377
|
Post by bb on Jul 2, 2016 21:19:43 GMT 1
Guys, is posible to enlarege an allready done map? I mean, if I have a map with 12x12, can I change it to 12x20?
Thanks,
|
|
|
Post by Scyooff on Jul 2, 2016 21:46:19 GMT 1
I think yes by saving the map in .xml then change the size of the map with a text editor, save it, then open your modified .xml map. I'm not 100% sure that works because i've never tried but if my memory is not too much damaged i think it's the right way or maybe i forget something, i hope someone with better knowledge than me will answer you.
|
|
|
Post by Quintaxel on Jul 2, 2016 22:33:11 GMT 1
bb, I made a tool once ,based upon Excel, that makes it possible to copy parts of different maps and past them into a new map. You could copy the small map and past it to the larger map. The limitation is that it only copies objects and not roads, rivers and bridges so you would have to redo these. Should you be intrested then the 'Objects Copy paste tool' can be found here.
|
|
|
Post by Stanenberg on Jul 2, 2016 23:53:15 GMT 1
I always wanted this. I even restarted maps which were almost ready because i was not satisfied with the size
|
|
|
Post by ariete on Jul 3, 2016 15:10:19 GMT 1
you can just add an empty part in the north-east or on the top and on the right.how do this is a real challenge. i tried several times, years ago. as scyooff said, you have to copy and paste the xml of the map done, which would be then part of an empty xml of an empty map of the size you choosed. so: create an empty map of the size you would extend the map just ready. save it in xml. ( new xml) open the map already ready and save it in xml. ( old xml) now .... i don't remeber exactly how i did, but if you check now the 2 xml files you could find ''the road of home alone'' ... to be simple i basically manteined the first part and just replaced the second part of the new xml with objects, units of the old xml .... roads and rivers are other sections of the xml. issue there are empty items in the new xml you have to leave because they're empty squares of the map, which guarantee the extension of the size combine all elements (roads, rivers, units and objects) i think is a real challenge, for this reason to be hurry i copied just objects and units, the second part of the xml. often i had to check for <size>, its value must be always the new setted, because in the copy of the second part i arrived until the end of the file
|
|
|
Post by Scyooff on Jul 3, 2016 15:37:49 GMT 1
Ah i knew that was feasible, you can find an example in the Korsun pocket'44 mini-mod by Mr Frost (there are several versions some are just chapter for BK vanilla), it must be installed in the mods folder (excepted for the music files ) then you will see there are several version (2 or 3) of the same map but enlarged.
|
|
bb
General
Blitzkrieg junkie (tried to quit several times).
Posts: 1,377
|
Post by bb on Jul 3, 2016 22:22:06 GMT 1
thanks guys, I could make it using the notepad. Is possible to paste objects, rivers, roads, etc. finding the correct place in the map. The best option is to copy all the stuff between the <objects><objects> space from the original xml map and paste it on the <objects/> of the new map. I'll post some screenshots later.
|
|
bb
General
Blitzkrieg junkie (tried to quit several times).
Posts: 1,377
|
Post by bb on Jul 4, 2016 3:44:28 GMT 1
|
|
|
Post by Stanenberg on Jul 4, 2016 13:52:07 GMT 1
Looks cool! I am so looking forward for those maps
|
|
|
Post by Scyooff on Jul 4, 2016 17:34:00 GMT 1
So did you just had to change the map size or have you been forced to do something other ?
|
|
bb
General
Blitzkrieg junkie (tried to quit several times).
Posts: 1,377
|
Post by bb on Jul 4, 2016 18:43:15 GMT 1
I tried the method suggested by Ariete: 1) I made an empty map with the size I wanted (12x24). 2) Opened the xml files of the original and new maps with the notepad. Searched for <objects> and copy everything between <objects></objects>in the original map. 3) Paste it on <objects/>in the new map. All unist, buildings, flora and objects were transfered to the new map. 4) Repeated the operations with the rivers and roads.
Is not hard. The most complex is to select everything in the original map, cause the stuff between <objects></objects> can occupy hundreds of lines (I pasted everything on a word document, underlined the <objects> and </objects> to help find it when selecting and copied from the word document to the new map xml file).
There is one importantat remark: in the new map, the objects and stuff from the original map allways will be aligned with the x and y axis, as you can see. So, the map can enlarged just to the top and to the right.
You should try.
|
|
bb
General
Blitzkrieg junkie (tried to quit several times).
Posts: 1,377
|
Post by bb on Jul 5, 2016 16:20:48 GMT 1
BTW, I strong recomend remove all entrenchments of the original map before starting the process. In the xml files you have double references to the entrenchments and if you paste one and dont paste other, the map will crash when you start the game. It took me more than 2 hours to discover this isssue.
|
|