Copy&Paste
#12

Okay, here it is, and it's V1.1 now - V.1 was faulty under some circumstances, this one works:

http://files.filefront.com/Copy+Buildin ... einfo.html

or

http://rapidshare.com/files/151073134/C ... 1.zip.html

A simple program with a console. Create a new folder and put the programm and a "mission.mis" (a renamed .mis file of your choice) or an inBuildings.txt in it. It even works wtih a static.actors (outact.bat, act.jar and a mapsize.txt - a symbolc one is included within the zip - must be in the same folder. No valid outWing.txt will be created if there is no bridge in the map).

The program creates a "inBuildings_new.txt" with the copyed buildings (No other kind of objects).

Select the area to copy by entering the left down and right up coordinates in full kilometers (This makes it much easier, i think). The Km are shown at the lower and left border in the fmb, but don't zoom to much, they disapear then.

The copyed buildings are shiftet to lower left coorinates. So when you copy them from the inBuildings_new.txt to your mission file in the [Buildings] section or to your inBuildings.txt you will find them at the left lower corner of a map.

So if you want to copy Munich from my map:

Put the static.actors (and the other mentioned files) to the folder with the program. Run it. Input something like 420 (left lower x-coordinate in km), 330 (left lower y-coordinate), 435 (right upper x-coorinate) and 345 (right upper y-coordinate). The resulting "inBuildings_new.txt" will store the Munic buildings with coordinates shifted to about from 1/1 Km to 16/16 km (Munich seems to be quite quadratic) or so.

A graphical version with selecting the area directly from a map would be a little bit to much as a saturday afternoon amusement, but i think this one is easy enought.

No readme is delivered.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)