15.07.2013, 15:11
In this topic, you'll find the explanation how to move a map from one place to other.
I'll take my Skyclub map as an example.
Current (old) place of map:
http://imageshack.us/a/img577/9728/99438547.png
New place of map:
http://imageshack.us/a/img824/125/burgershot1.png
First, we'll clean this place by removing the default San Andreas objects because we don't need them:
http://imageshack.us/a/img856/4502/burgershot2.png
Code for the deleted objects:
The best way to delete the objects is the "REAL Map Editor" editor.
Now we'll get rid of the useless objects which are located at the old place of the map, and they aren't needed at the new place (ground, fence, parking lines, ...).
This is the clean code of the map at the old place which we will move to the new place.
The place for the new map is clean and useless objects of the map from the old place are deleted, so now we can choose one object as a basis on which we will calculate the position of all other objects.
http://imageshack.us/a/img600/3658/burgershot3.png
I've chosen this object with the model ID 9339 - this is the first object of the staircase:
http://imageshack.us/a/img585/6837/oldplaceofmap.png
(It's marked with the red color.)
This is the new object which will serve as a basis for the new place of map:
CreateObject(9339, 1195.0, -905.0, 42.19, 0.0, 270.0, 0.0);
This is the old object which will serve as a basis for the old place of map:
CreateObject(9339, 1784.53, -1702.4, 12.64, 0.0, 270.0, 0.0);
X axis offset: 1195.0 - 1784.53 = -589.53
Y axis offset: -905.0 - (-1702.4) = 797.4
Z axis offset: 42.19 - 12.64 = 29.55
Now we have the offsets and we can change the position of all other objects to the new place. Open the PAWNO (or some other PAWN IDE) and copy the objects (which are located above) to the PAWNO. Use the "CTRL + H" combination of keys in order to open the window with replacement option. Put the "CreateObject" text on the place "Search for:" and "CreateObjectEx" text on the place "Replace with:". Press the "OK" button and then "Yes to all" to confirm the replacement for the whole code.
Now you can put the code with the "CreateObjectEx" functions to the "OnGameModeInit" callback.
Now put these definitions to the script:
Those are the offsets which we calculated earlier.
Add this function to the script:
Now you can press the F5 button and compile the script to .amx file. Now run the server with the newly compiled script. The server console will print out every object with the new position. Close the server console and open the "server_log.txt" file. I suggest you open this file in the PAWNO (or some other PAWN IDE) and do the similar thing like before - use the combination of "CTRL + H" keys in order to delete the time on the left side.
Example:
Similar as before, put "[//://://] " text (in this case "[17:38:45] ") on the place "Search for:" and leave an empty space on the place "Replace with:". Press the "OK" button and then "Yes to all" to confirm the replacement for the whole code.
Delete the other useless text in the "server_log.txt" file, so you'll only have this code:
http://pastebin.com/zdEtqMmX
Don't forget the objects which we deleted earlier for the new place of map:
The map moving is over, and this is how your new map should look like on the new position:
http://imageshack.us/a/img109/3920/burgershot4.png
http://imageshack.us/a/img46/9719/burgershot5.png
I'll take my Skyclub map as an example.
Current (old) place of map:
http://imageshack.us/a/img577/9728/99438547.png
New place of map:
http://imageshack.us/a/img824/125/burgershot1.png
First, we'll clean this place by removing the default San Andreas objects because we don't need them:
http://imageshack.us/a/img856/4502/burgershot2.png
Code for the deleted objects:
pawn Код:
RemoveBuildingForPlayer(playerid, 5858, 1214.1484, -913.4453, 43.0547, 0.25);
RemoveBuildingForPlayer(playerid, 1522, 1199.9688, -917.6406, 42.0234, 0.25);
RemoveBuildingForPlayer(playerid, 5844, 1206.1406, -900.9766, 42.1094, 0.25);
RemoveBuildingForPlayer(playerid, 6010, 1214.1484, -913.4453, 43.0547, 0.25);
RemoveBuildingForPlayer(playerid, 5742, 1197.3203, -899.2109, 45.0938, 0.25);
Now we'll get rid of the useless objects which are located at the old place of the map, and they aren't needed at the new place (ground, fence, parking lines, ...).
This is the clean code of the map at the old place which we will move to the new place.
pawn Код:
CreateObject(18852, 1784.53, -1702.40, 23.50, 0.0, 0.0, 0.0);
CreateObject(9339, 1784.53, -1702.40, 12.64, 0.0, 270.0, 0.0);
CreateObject(9339, 1784.53, -1702.40, 12.89, 0.0, 270.0, 6.0);
CreateObject(9339, 1784.53, -1702.40, 13.14, 0.0, 270.0, 12.0);
CreateObject(9339, 1784.53, -1702.40, 13.39, 0.0, 270.0, 18.0);
CreateObject(9339, 1784.53, -1702.40, 13.64, 0.0, 270.0, 24.0);
CreateObject(9339, 1784.53, -1702.40, 13.89, 0.0, 270.0, 30.0);
CreateObject(9339, 1784.53, -1702.40, 14.14, 0.0, 270.0, 36.0);
CreateObject(9339, 1784.53, -1702.40, 14.39, 0.0, 270.0, 42.0);
CreateObject(9339, 1784.53, -1702.40, 14.64, 0.0, 270.0, 48.0);
CreateObject(9339, 1784.53, -1702.40, 14.89, 0.0, 270.0, 54.0);
CreateObject(9339, 1784.53, -1702.40, 15.14, 0.0, 270.0, 60.0);
CreateObject(9339, 1784.53, -1702.40, 15.39, 0.0, 270.0, 66.0);
CreateObject(9339, 1784.53, -1702.40, 15.64, 0.0, 270.0, 72.0);
CreateObject(9339, 1784.53, -1702.40, 15.89, 0.0, 270.0, 78.0);
CreateObject(9339, 1784.53, -1702.40, 16.14, 0.0, 270.0, 84.0);
CreateObject(9339, 1784.53, -1702.40, 16.39, 0.0, 270.0, 90.0);
CreateObject(9339, 1784.53, -1702.40, 16.64, 0.0, 270.0, 96.0);
CreateObject(9339, 1784.53, -1702.40, 16.89, 0.0, 270.0, 102.0);
CreateObject(9339, 1784.53, -1702.40, 17.14, 0.0, 270.0, 108.0);
CreateObject(9339, 1784.53, -1702.40, 17.39, 0.0, 270.0, 114.0);
CreateObject(9339, 1784.53, -1702.40, 17.64, 0.0, 270.0, 120.0);
CreateObject(9339, 1784.53, -1702.40, 17.89, 0.0, 270.0, 126.0);
CreateObject(9339, 1784.53, -1702.40, 18.14, 0.0, 270.0, 132.0);
CreateObject(9339, 1784.53, -1702.40, 18.39, 0.0, 270.0, 138.0);
CreateObject(9339, 1784.53, -1702.40, 18.64, 0.0, 270.0, 144.0);
CreateObject(9339, 1784.53, -1702.40, 18.89, 0.0, 270.0, 150.0);
CreateObject(9339, 1784.53, -1702.40, 19.14, 0.0, 270.0, 156.0);
CreateObject(9339, 1784.53, -1702.40, 19.39, 0.0, 270.0, 162.0);
CreateObject(9339, 1784.53, -1702.40, 19.64, 0.0, 270.0, 168.0);
CreateObject(9339, 1784.53, -1702.40, 19.89, 0.0, 270.0, 174.0);
CreateObject(9339, 1784.53, -1702.40, 20.14, 0.0, 270.0, 180.0);
CreateObject(9339, 1784.53, -1702.40, 20.39, 0.0, 270.0, 186.0);
CreateObject(9339, 1784.53, -1702.40, 20.64, 0.0, 270.0, 192.0);
CreateObject(9339, 1784.53, -1702.40, 20.89, 0.0, 270.0, 198.0);
CreateObject(9339, 1784.53, -1702.40, 21.14, 0.0, 270.0, 204.0);
CreateObject(9339, 1784.53, -1702.40, 21.39, 0.0, 270.0, 210.0);
CreateObject(9339, 1784.53, -1702.40, 21.64, 0.0, 270.0, 216.0);
CreateObject(9339, 1784.53, -1702.40, 21.89, 0.0, 270.0, 222.0);
CreateObject(9339, 1784.53, -1702.40, 22.14, 0.0, 270.0, 228.0);
CreateObject(9339, 1784.53, -1702.40, 22.39, 0.0, 270.0, 234.0);
CreateObject(9339, 1784.53, -1702.40, 22.64, 0.0, 270.0, 240.0);
CreateObject(9339, 1784.53, -1702.40, 22.89, 0.0, 270.0, 246.0);
CreateObject(9339, 1784.53, -1702.40, 23.14, 0.0, 270.0, 252.0);
CreateObject(9339, 1784.53, -1702.40, 23.39, 0.0, 270.0, 258.0);
CreateObject(9339, 1784.53, -1702.40, 23.64, 0.0, 270.0, 264.0);
CreateObject(9339, 1784.53, -1702.40, 23.89, 0.0, 270.0, 270.0);
CreateObject(9339, 1784.53, -1702.40, 24.14, 0.0, 270.0, 276.0);
CreateObject(9339, 1784.53, -1702.40, 24.39, 0.0, 270.0, 282.0);
CreateObject(9339, 1784.53, -1702.40, 24.64, 0.0, 270.0, 288.0);
CreateObject(9339, 1784.53, -1702.40, 24.89, 0.0, 270.0, 294.0);
CreateObject(9339, 1784.53, -1702.40, 25.14, 0.0, 270.0, 300.0);
CreateObject(9339, 1784.53, -1702.40, 25.39, 0.0, 270.0, 306.0);
CreateObject(9339, 1784.53, -1702.40, 25.64, 0.0, 270.0, 312.0);
CreateObject(9339, 1784.53, -1702.40, 25.89, 0.0, 270.0, 318.0);
CreateObject(9339, 1784.53, -1702.40, 26.14, 0.0, 270.0, 324.0);
CreateObject(9339, 1784.53, -1702.40, 26.39, 0.0, 270.0, 330.0);
CreateObject(9339, 1784.53, -1702.40, 26.64, 0.0, 270.0, 336.0);
CreateObject(9339, 1784.53, -1702.40, 26.89, 0.0, 270.0, 342.0);
CreateObject(9339, 1784.53, -1702.40, 27.14, 0.0, 270.0, 348.0);
CreateObject(9339, 1784.53, -1702.40, 27.39, 0.0, 270.0, 354.0);
CreateObject(9339, 1784.53, -1702.40, 27.64, 0.0, 270.0, 360.0);
CreateObject(9339, 1784.53, -1702.40, 27.89, 0.0, 270.0, 366.0);
CreateObject(9339, 1784.53, -1702.40, 28.14, 0.0, 270.0, 372.0);
CreateObject(9339, 1784.53, -1702.40, 28.39, 0.0, 270.0, 378.0);
CreateObject(9339, 1784.53, -1702.40, 28.64, 0.0, 270.0, 384.0);
CreateObject(9339, 1784.53, -1702.40, 28.89, 0.0, 270.0, 390.0);
CreateObject(9339, 1784.53, -1702.40, 29.14, 0.0, 270.0, 396.0);
CreateObject(9339, 1784.53, -1702.40, 29.39, 0.0, 270.0, 402.0);
CreateObject(9339, 1784.53, -1702.40, 29.64, 0.0, 270.0, 408.0);
CreateObject(9339, 1784.53, -1702.40, 29.89, 0.0, 270.0, 414.0);
CreateObject(9339, 1784.53, -1702.40, 30.14, 0.0, 270.0, 420.0);
CreateObject(9339, 1784.53, -1702.40, 30.39, 0.0, 270.0, 426.0);
CreateObject(9339, 1784.53, -1702.40, 30.64, 0.0, 270.0, 432.0);
CreateObject(9339, 1784.53, -1702.40, 30.89, 0.0, 270.0, 438.0);
CreateObject(9339, 1784.53, -1702.40, 31.14, 0.0, 270.0, 444.0);
CreateObject(9339, 1784.53, -1702.40, 31.39, 0.0, 270.0, 450.0);
CreateObject(9339, 1784.53, -1702.40, 31.64, 0.0, 270.0, 456.0);
CreateObject(9339, 1784.53, -1702.40, 31.89, 0.0, 270.0, 462.0);
CreateObject(9339, 1784.53, -1702.40, 32.15, 0.0, 270.0, 468.0);
CreateObject(9339, 1784.53, -1702.40, 32.40, 0.0, 270.0, 474.0);
CreateObject(9339, 1784.53, -1702.40, 32.65, 0.0, 270.0, 480.0);
CreateObject(9339, 1784.53, -1702.40, 32.90, 0.0, 270.0, 486.0);
CreateObject(9339, 1784.53, -1702.40, 33.15, 0.0, 270.0, 492.0);
CreateObject(9339, 1784.53, -1702.40, 33.40, 0.0, 270.0, 498.0);
CreateObject(9339, 1784.53, -1702.40, 33.65, 0.0, 270.0, 504.0);
CreateObject(9339, 1784.53, -1702.40, 33.90, 0.0, 270.0, 510.0);
CreateObject(9339, 1784.53, -1702.40, 34.15, 0.0, 270.0, 516.0);
CreateObject(9339, 1784.53, -1702.40, 34.40, 0.0, 270.0, 522.0);
CreateObject(9339, 1784.53, -1702.40, 34.65, 0.0, 270.0, 528.0);
CreateObject(9339, 1784.53, -1702.40, 34.90, 0.0, 270.0, 534.0);
CreateObject(9339, 1784.53, -1702.40, 35.15, 0.0, 270.0, 540.0);
CreateObject(9339, 1784.53, -1702.40, 35.40, 0.0, 270.0, 546.0);
CreateObject(9339, 1784.53, -1702.40, 35.65, 0.0, 270.0, 552.0);
CreateObject(9339, 1784.53, -1702.40, 35.90, 0.0, 270.0, 558.0);
CreateObject(9339, 1784.53, -1702.40, 36.15, 0.0, 270.0, 564.0);
CreateObject(9339, 1784.53, -1702.40, 36.40, 0.0, 270.0, 570.0);
CreateObject(9339, 1784.53, -1702.40, 36.65, 0.0, 270.0, 576.0);
CreateObject(9339, 1784.53, -1702.40, 36.90, 0.0, 270.0, 582.0);
CreateObject(9339, 1784.53, -1702.40, 37.15, 0.0, 270.0, 588.0);
CreateObject(9339, 1784.53, -1702.40, 37.40, 0.0, 270.0, 594.0);
CreateObject(9339, 1784.53, -1702.40, 37.65, 0.0, 270.0, 600.0);
CreateObject(9339, 1784.53, -1702.40, 37.90, 0.0, 270.0, 606.0);
CreateObject(9339, 1784.53, -1702.40, 38.15, 0.0, 270.0, 612.0);
CreateObject(9339, 1784.53, -1702.40, 38.40, 0.0, 270.0, 618.0);
CreateObject(9339, 1784.53, -1702.40, 38.65, 0.0, 270.0, 624.0);
CreateObject(9339, 1784.53, -1702.40, 38.90, 0.0, 270.0, 630.0);
CreateObject(9339, 1784.53, -1702.40, 39.15, 0.0, 270.0, 636.0);
CreateObject(9339, 1784.53, -1702.40, 39.40, 0.0, 270.0, 642.0);
CreateObject(9339, 1784.53, -1702.40, 39.65, 0.0, 270.0, 648.0);
CreateObject(9339, 1784.53, -1702.40, 39.90, 0.0, 270.0, 654.0);
CreateObject(9339, 1784.53, -1702.40, 40.15, 0.0, 270.0, 660.0);
CreateObject(9339, 1784.53, -1702.40, 40.40, 0.0, 270.0, 666.0);
CreateObject(9339, 1784.53, -1702.40, 40.65, 0.0, 270.0, 672.0);
CreateObject(9339, 1784.53, -1702.40, 40.90, 0.0, 270.0, 678.0);
CreateObject(9339, 1784.53, -1702.40, 41.15, 0.0, 270.0, 684.0);
CreateObject(9339, 1784.53, -1702.40, 41.40, 0.0, 270.0, 690.0);
CreateObject(9339, 1784.53, -1702.40, 41.65, 0.0, 270.0, 696.0);
CreateObject(9339, 1784.53, -1702.40, 41.90, 0.0, 270.0, 702.0);
CreateObject(9339, 1784.53, -1702.40, 42.15, 0.0, 270.0, 708.0);
CreateObject(9339, 1784.53, -1702.40, 42.40, 0.0, 270.0, 714.0);
CreateObject(9339, 1784.53, -1702.40, 42.65, 0.0, 270.0, 720.0);
CreateObject(9339, 1784.53, -1702.40, 42.90, 0.0, 270.0, 726.0);
CreateObject(9339, 1784.53, -1702.40, 43.15, 0.0, 270.0, 732.0);
CreateObject(9339, 1784.53, -1702.40, 43.40, 0.0, 270.0, 738.0);
CreateObject(9339, 1784.53, -1702.40, 43.65, 0.0, 270.0, 744.0);
CreateObject(9339, 1784.53, -1702.40, 43.90, 0.0, 270.0, 750.0);
CreateObject(9339, 1784.53, -1702.40, 44.15, 0.0, 270.0, 756.0);
CreateObject(9339, 1784.53, -1702.40, 44.40, 0.0, 270.0, 762.0);
CreateObject(9339, 1784.53, -1702.40, 44.65, 0.0, 270.0, 768.0);
CreateObject(9339, 1784.53, -1702.40, 44.90, 0.0, 270.0, 774.0);
CreateObject(9339, 1784.53, -1702.40, 45.15, 0.0, 270.0, 780.0);
CreateObject(9339, 1784.53, -1702.40, 45.40, 0.0, 270.0, 786.0);
CreateObject(9339, 1784.53, -1702.40, 45.65, 0.0, 270.0, 792.0);
CreateObject(9339, 1784.53, -1702.40, 45.90, 0.0, 270.0, 798.0);
CreateObject(9339, 1784.53, -1702.40, 46.15, 0.0, 270.0, 804.0);
CreateObject(9339, 1784.53, -1702.40, 46.40, 0.0, 270.0, 810.0);
CreateObject(9339, 1784.53, -1702.40, 46.65, 0.0, 270.0, 816.0);
CreateObject(9339, 1784.53, -1702.40, 46.90, 0.0, 270.0, 822.0);
CreateObject(9339, 1784.53, -1702.40, 47.15, 0.0, 270.0, 828.0);
CreateObject(9339, 1784.53, -1702.40, 47.40, 0.0, 270.0, 834.0);
CreateObject(9339, 1784.53, -1702.40, 47.65, 0.0, 270.0, 840.0);
CreateObject(9339, 1784.53, -1702.40, 47.90, 0.0, 270.0, 846.0);
CreateObject(9339, 1784.53, -1702.40, 48.15, 0.0, 270.0, 852.0);
CreateObject(9339, 1784.53, -1702.40, 48.40, 0.0, 270.0, 858.0);
CreateObject(9339, 1784.53, -1702.40, 48.65, 0.0, 270.0, 864.0);
CreateObject(9339, 1784.53, -1702.40, 48.90, 0.0, 270.0, 870.0);
CreateObject(9339, 1784.53, -1702.40, 49.15, 0.0, 270.0, 876.0);
CreateObject(9339, 1784.53, -1702.40, 49.40, 0.0, 270.0, 882.0);
CreateObject(9339, 1784.53, -1702.40, 49.65, 0.0, 270.0, 888.0);
CreateObject(9339, 1784.53, -1702.40, 49.90, 0.0, 270.0, 894.0);
CreateObject(9339, 1784.53, -1702.40, 50.15, 0.0, 270.0, 900.0);
CreateObject(9339, 1784.53, -1702.40, 50.40, 0.0, 270.0, 906.0);
CreateObject(9339, 1784.53, -1702.40, 50.65, 0.0, 270.0, 912.0);
CreateObject(9339, 1784.53, -1702.40, 50.90, 0.0, 270.0, 918.0);
CreateObject(9339, 1784.53, -1702.40, 51.15, 0.0, 270.0, 924.0);
CreateObject(9339, 1784.53, -1702.40, 51.40, 0.0, 270.0, 930.0);
CreateObject(9339, 1784.53, -1702.40, 51.65, 0.0, 270.0, 936.0);
CreateObject(9339, 1784.53, -1702.40, 51.90, 0.0, 270.0, 942.0);
CreateObject(9339, 1784.53, -1702.40, 52.15, 0.0, 270.0, 948.0);
CreateObject(9339, 1784.53, -1702.40, 52.40, 0.0, 270.0, 954.0);
CreateObject(9339, 1784.53, -1702.40, 52.65, 0.0, 270.0, 960.0);
CreateObject(9339, 1784.53, -1702.40, 52.90, 0.0, 270.0, 966.0);
CreateObject(9339, 1784.53, -1702.40, 53.15, 0.0, 270.0, 972.0);
CreateObject(9339, 1784.53, -1702.40, 53.40, 0.0, 270.0, 978.0);
CreateObject(9339, 1784.53, -1702.40, 53.65, 0.0, 270.0, 984.0);
CreateObject(9339, 1784.53, -1702.40, 53.90, 0.0, 270.0, 990.0);
CreateObject(9339, 1784.53, -1702.40, 54.15, 0.0, 270.0, 996.0);
CreateObject(9339, 1784.53, -1702.40, 54.40, 0.0, 270.0, 1002.0);
CreateObject(9339, 1784.53, -1702.40, 54.65, 0.0, 270.0, 1008.0);
CreateObject(9339, 1784.53, -1702.40, 54.90, 0.0, 270.0, 1014.0);
CreateObject(9339, 1784.53, -1702.40, 55.15, 0.0, 270.0, 1020.0);
CreateObject(9339, 1784.53, -1702.40, 55.40, 0.0, 270.0, 1026.0);
CreateObject(9339, 1784.53, -1702.40, 55.65, 0.0, 270.0, 1032.0);
CreateObject(9339, 1784.53, -1702.40, 55.90, 0.0, 270.0, 1038.0);
CreateObject(9339, 1784.53, -1702.40, 56.15, 0.0, 270.0, 1044.0);
CreateObject(9339, 1784.53, -1702.40, 56.40, 0.0, 270.0, 1050.0);
CreateObject(9339, 1784.53, -1702.40, 56.65, 0.0, 270.0, 1056.0);
CreateObject(9339, 1784.53, -1702.40, 56.90, 0.0, 270.0, 1062.0);
CreateObject(9339, 1784.53, -1702.40, 57.15, 0.0, 270.0, 1068.0);
CreateObject(9339, 1784.53, -1702.40, 57.40, 0.0, 270.0, 1074.0);
CreateObject(9339, 1784.53, -1702.40, 57.65, 0.0, 270.0, 1080.0);
CreateObject(9339, 1784.53, -1702.40, 57.90, 0.0, 270.0, 1086.0);
CreateObject(9339, 1784.53, -1702.40, 58.15, 0.0, 270.0, 1092.0);
CreateObject(9339, 1784.53, -1702.40, 58.40, 0.0, 270.0, 1098.0);
CreateObject(9339, 1784.53, -1702.40, 58.65, 0.0, 270.0, 1104.0);
CreateObject(9339, 1784.53, -1702.40, 58.90, 0.0, 270.0, 1110.0);
CreateObject(9339, 1784.53, -1702.40, 59.15, 0.0, 270.0, 1116.0);
CreateObject(9339, 1784.53, -1702.40, 59.40, 0.0, 270.0, 1122.0);
CreateObject(9339, 1784.53, -1702.40, 59.65, 0.0, 270.0, 1128.0);
CreateObject(9339, 1784.53, -1702.40, 59.90, 0.0, 270.0, 1134.0);
CreateObject(9339, 1784.53, -1702.40, 60.15, 0.0, 270.0, 1140.0);
CreateObject(9339, 1784.53, -1702.40, 60.40, 0.0, 270.0, 1146.0);
CreateObject(9339, 1784.53, -1702.40, 60.65, 0.0, 270.0, 1152.0);
CreateObject(9339, 1784.53, -1702.40, 60.90, 0.0, 270.0, 1158.0);
CreateObject(9339, 1784.53, -1702.40, 61.15, 0.0, 270.0, 1164.0);
CreateObject(9339, 1784.53, -1702.40, 61.40, 0.0, 270.0, 1170.0);
CreateObject(9339, 1784.53, -1702.40, 61.65, 0.0, 270.0, 1176.0);
CreateObject(9339, 1784.53, -1702.40, 61.90, 0.0, 270.0, 1182.0);
CreateObject(9339, 1784.53, -1702.40, 62.15, 0.0, 270.0, 1188.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1194.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1200.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1206.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1212.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1218.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1224.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1230.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1236.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1242.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1248.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1254.0);
CreateObject(9339, 1784.53, -1702.40, 62.40, 0.0, 270.0, 1260.0);
CreateObject(18765, 1759.53, -1717.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1717.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1717.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1717.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1717.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1717.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1707.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1707.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1707.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1707.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1697.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1697.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1697.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1697.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1687.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1687.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1687.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1687.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1687.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1687.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1677.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1677.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1677.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1677.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1677.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1677.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1717.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1717.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1717.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1717.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1717.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1717.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1707.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1707.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1707.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1707.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1697.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1697.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1697.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1697.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1687.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1687.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1687.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1687.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1687.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1687.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1759.53, -1677.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1769.53, -1677.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1677.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1677.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1799.53, -1677.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1809.53, -1677.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(1649, 1757.80, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1721.81, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1757.80, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1673.36, 64.10, 0.0, 0.0, 0.0);
CreateObject(1649, 1755.58, -1719.58, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1715.18, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1710.78, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1706.38, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1701.98, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1697.58, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1693.18, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1688.78, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1684.38, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1679.98, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1675.58, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1719.58, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1715.18, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1710.78, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1706.38, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1701.98, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1693.18, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1688.78, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1684.38, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1679.98, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1675.58, 64.10, 0.0, 0.0, 270.0);
CreateObject(1649, 1757.80, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1721.81, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1757.80, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1673.36, 67.42, 0.0, 0.0, 0.0);
CreateObject(1649, 1755.58, -1719.58, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1715.18, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1710.78, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1706.38, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1701.98, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1697.58, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1693.18, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1688.78, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1684.38, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1679.98, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1675.58, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1719.58, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1715.18, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1710.78, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1706.38, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1701.98, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1693.18, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1688.78, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1684.38, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1679.98, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1675.58, 67.42, 0.0, 0.0, 270.0);
CreateObject(1649, 1757.80, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1721.81, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1757.80, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1673.36, 64.10, 180.0, 0.0, 0.0);
CreateObject(1649, 1755.58, -1719.58, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1715.18, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1710.78, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1706.38, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1701.98, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1697.58, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1693.18, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1688.78, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1684.38, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1679.98, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1675.58, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1719.58, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1715.18, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1710.78, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1706.38, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1701.98, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1693.18, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1688.78, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1684.38, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1679.98, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1675.58, 64.10, 180.0, 0.0, 270.0);
CreateObject(1649, 1757.80, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1721.81, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1757.80, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1762.20, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1766.60, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1771.0, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1775.40, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1779.80, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1784.20, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1788.60, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1793.0, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1797.40, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1801.80, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1806.20, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1810.60, -1673.36, 67.42, 180.0, 0.0, 0.0);
CreateObject(1649, 1755.58, -1719.58, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1715.18, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1710.78, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1706.38, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1701.98, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1697.58, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1693.18, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1688.78, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1684.38, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1679.98, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1755.58, -1675.58, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1719.58, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1715.18, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1710.78, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1706.38, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1701.98, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1693.18, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1688.78, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1684.38, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1679.98, 67.42, 180.0, 0.0, 270.0);
CreateObject(1649, 1812.82, -1675.58, 67.42, 180.0, 0.0, 270.0);
CreateObject(970, 1787.56, -1712.45, 63.15, 0.0, 0.0, 0.0);
CreateObject(970, 1792.16, -1712.45, 63.15, 0.0, 0.0, 0.0);
CreateObject(970, 1785.10, -1710.16, 63.10, 0.0, 0.0, 90.0);
CreateObject(970, 1794.60, -1710.16, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1794.60, -1705.56, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1794.60, -1700.96, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1783.90, -1694.66, 63.10, 0.0, 0.0, 90.0);
CreateObject(970, 1774.40, -1699.46, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1774.40, -1694.86, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1774.40, -1704.06, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1781.66, -1692.25, 63.15, 0.0, 0.0, 0.0);
CreateObject(970, 1777.06, -1692.25, 63.15, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1707.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1789.53, -1697.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1707.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(18765, 1779.53, -1697.40, 71.40, 0.0, 0.0, 0.0);
CreateObject(3440, 1755.58, -1673.36, 63.43, 0.0, 0.0, 0.0);
CreateObject(3440, 1755.58, -1673.36, 68.19, 0.0, 0.0, 0.0);
CreateObject(3440, 1755.58, -1721.81, 63.43, 0.0, 0.0, 0.0);
CreateObject(3440, 1755.58, -1721.81, 68.19, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1721.81, 63.43, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1721.81, 68.19, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1673.36, 63.43, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1673.36, 68.19, 0.0, 0.0, 0.0);
CreateObject(18765, 1819.53, -1717.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1819.53, -1707.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1819.53, -1697.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1819.53, -1687.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(18765, 1819.53, -1677.40, 60.10, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1699.61, 63.43, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1699.61, 68.19, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1695.17, 63.43, 0.0, 0.0, 0.0);
CreateObject(3440, 1812.82, -1695.17, 68.19, 0.0, 0.0, 0.0);
CreateObject(970, 1816.0, -1721.81, 63.15, 0.0, 0.0, 0.0);
CreateObject(970, 1820.50, -1721.81, 63.15, 0.0, 0.0, 0.0);
CreateObject(970, 1816.0, -1673.36, 63.15, 0.0, 0.0, 0.0);
CreateObject(970, 1820.50, -1673.36, 63.15, 0.0, 0.0, 0.0);
CreateObject(970, 1822.75, -1718.75, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1714.50, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1710.25, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1706.0, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1701.75, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1697.50, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1693.25, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1689.0, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1684.75, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1680.50, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1822.75, -1676.25, 63.15, 0.0, 0.0, 90.0);
CreateObject(970, 1775.34, -1693.18, 60.28, 0.0, 0.0, 45.0);
CreateObject(970, 1793.75, -1711.62, 60.28, 0.0, 0.0, 45.0);
CreateObject(19362, 1775.0, -1711.75, 62.40, 0.0, 90.0, 0.0);
CreateObject(19362, 1794.0, -1692.75, 62.40, 0.0, 90.0, 0.0);
CreateObject(1704, 1819.61, -1703.98, 62.60, 0.0, 0.0, 180.0);
CreateObject(1433, 1819.16, -1702.44, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1817.38, -1702.94, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1820.92, -1701.99, 62.60, 0.0, 0.0, 270.0);
CreateObject(1704, 1818.71, -1700.93, 62.60, 0.0, 0.0, 0.0);
CreateObject(1433, 1816.50, -1719.20, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1814.53, -1719.61, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1816.09, -1717.40, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1818.28, -1718.68, 62.60, 0.0, 0.0, 270.0);
CreateObject(1704, 1816.99, -1721.0, 62.60, 0.0, 0.0, 180.0);
CreateObject(1433, 1819.27, -1711.39, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1817.50, -1711.81, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1818.81, -1709.73, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1821.02, -1710.90, 62.60, 0.0, 0.0, 270.0);
CreateObject(1704, 1819.76, -1713.09, 62.60, 0.0, 0.0, 180.0);
CreateObject(1433, 1816.65, -1688.45, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1815.03, -1688.88, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1816.25, -1686.84, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1818.39, -1687.97, 62.60, 0.0, 0.0, 270.0);
CreateObject(1704, 1817.15, -1690.02, 62.60, 0.0, 0.0, 180.0);
CreateObject(1433, 1797.43, -1686.46, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1795.90, -1686.87, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1796.97, -1684.82, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1799.06, -1686.0, 62.60, 0.0, 0.0, 270.0);
CreateObject(1704, 1797.89, -1688.14, 62.60, 0.0, 0.0, 180.0);
CreateObject(14537, 1764.53, -1712.40, 64.53, 0.0, 0.0, 0.0);
CreateObject(14537, 1764.53, -1682.40, 64.53, 0.0, 0.0, 0.0);
CreateObject(1594, 1792.27, -1677.38, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1787.86, -1676.69, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1782.56, -1678.39, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1778.27, -1681.32, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1777.24, -1677.04, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1784.55, -1681.95, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1789.78, -1680.30, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1790.14, -1683.68, 63.08, 0.0, 0.0, 0.0);
CreateObject(1433, 1819.04, -1677.22, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1818.62, -1675.66, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1817.36, -1677.67, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1819.54, -1678.72, 62.60, 0.0, 0.0, 180.0);
CreateObject(1704, 1820.86, -1676.79, 62.60, 0.0, 0.0, 270.0);
CreateObject(1433, 1808.57, -1676.86, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1808.14, -1675.26, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1806.94, -1677.26, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1809.07, -1678.36, 62.60, 0.0, 0.0, 180.0);
CreateObject(1704, 1810.17, -1676.39, 62.60, 0.0, 0.0, 270.0);
CreateObject(1433, 1800.29, -1677.68, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1799.86, -1676.10, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1798.77, -1678.09, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1800.73, -1679.21, 62.60, 0.0, 0.0, 180.0);
CreateObject(1704, 1801.77, -1677.17, 62.60, 0.0, 0.0, 270.0);
CreateObject(1433, 1805.34, -1683.48, 62.78, 0.0, 0.0, 0.0);
CreateObject(1704, 1804.91, -1681.89, 62.60, 0.0, 0.0, 0.0);
CreateObject(1704, 1803.68, -1683.99, 62.60, 0.0, 0.0, 90.0);
CreateObject(1704, 1805.78, -1685.27, 62.60, 0.0, 0.0, 180.0);
CreateObject(1704, 1807.05, -1682.96, 62.60, 0.0, 0.0, 270.0);
CreateObject(1713, 1805.24, -1701.54, 62.59, 0.0, 0.0, 180.0);
CreateObject(1433, 1804.39, -1700.28, 62.78, 0.0, 0.0, 0.0);
CreateObject(1713, 1803.65, -1699.0, 62.59, 0.0, 0.0, 0.0);
CreateObject(1594, 1789.47, -1714.10, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1794.13, -1719.42, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1789.38, -1720.03, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1791.65, -1716.42, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1782.99, -1719.47, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1779.0, -1717.05, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1776.75, -1719.56, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1774.37, -1715.75, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1782.77, -1714.15, 63.08, 0.0, 0.0, 0.0);
CreateObject(1594, 1786.43, -1716.84, 63.08, 0.0, 0.0, 0.0);
CreateObject(1713, 1808.80, -1717.64, 62.59, 0.0, 0.0, 0.0);
CreateObject(1433, 1809.63, -1719.03, 62.78, 0.0, 0.0, 0.0);
CreateObject(1713, 1810.45, -1720.46, 62.59, 0.0, 0.0, 180.0);
CreateObject(1713, 1801.35, -1715.66, 62.59, 0.0, 0.0, 0.0);
CreateObject(1433, 1802.16, -1717.07, 62.78, 0.0, 0.0, 0.0);
CreateObject(1713, 1802.97, -1718.50, 62.59, 0.0, 0.0, 180.0);
CreateObject(1713, 1796.30, -1705.62, 62.59, 0.0, 0.0, 0.0);
CreateObject(1433, 1797.10, -1707.0, 62.78, 0.0, 0.0, 0.0);
CreateObject(1713, 1797.94, -1708.38, 62.59, 0.0, 0.0, 180.0);
CreateObject(1713, 1796.89, -1698.59, 62.59, 0.0, 0.0, 0.0);
CreateObject(1433, 1797.72, -1700.0, 62.78, 0.0, 0.0, 0.0);
CreateObject(1713, 1798.57, -1701.40, 62.59, 0.0, 0.0, 180.0);
CreateObject(1713, 1803.42, -1706.87, 62.59, 0.0, 0.0, 0.0);
CreateObject(1433, 1804.32, -1708.15, 62.78, 0.0, 0.0, 0.0);
CreateObject(1713, 1805.09, -1709.50, 62.59, 0.0, 0.0, 180.0);
The place for the new map is clean and useless objects of the map from the old place are deleted, so now we can choose one object as a basis on which we will calculate the position of all other objects.
http://imageshack.us/a/img600/3658/burgershot3.png
I've chosen this object with the model ID 9339 - this is the first object of the staircase:
http://imageshack.us/a/img585/6837/oldplaceofmap.png
(It's marked with the red color.)
This is the new object which will serve as a basis for the new place of map:
CreateObject(9339, 1195.0, -905.0, 42.19, 0.0, 270.0, 0.0);
This is the old object which will serve as a basis for the old place of map:
CreateObject(9339, 1784.53, -1702.4, 12.64, 0.0, 270.0, 0.0);
X axis offset: 1195.0 - 1784.53 = -589.53
Y axis offset: -905.0 - (-1702.4) = 797.4
Z axis offset: 42.19 - 12.64 = 29.55
Now we have the offsets and we can change the position of all other objects to the new place. Open the PAWNO (or some other PAWN IDE) and copy the objects (which are located above) to the PAWNO. Use the "CTRL + H" combination of keys in order to open the window with replacement option. Put the "CreateObject" text on the place "Search for:" and "CreateObjectEx" text on the place "Replace with:". Press the "OK" button and then "Yes to all" to confirm the replacement for the whole code.
Now you can put the code with the "CreateObjectEx" functions to the "OnGameModeInit" callback.
Now put these definitions to the script:
pawn Код:
#define X_OFFSET (-589.53)
#define Y_OFFSET (797.4)
#define Z_OFFSET (29.55)
Add this function to the script:
pawn Код:
stock CreateObjectEx(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
{
printf("CreateObject(%i, %0.3f, %0.3f, %0.3f, %0.3f, %0.3f, %0.3f);",
modelid, (x + X_OFFSET), (y + Y_OFFSET), (z + Z_OFFSET), rx, ry, rz);
return true;
}
Now you can press the F5 button and compile the script to .amx file. Now run the server with the newly compiled script. The server console will print out every object with the new position. Close the server console and open the "server_log.txt" file. I suggest you open this file in the PAWNO (or some other PAWN IDE) and do the similar thing like before - use the combination of "CTRL + H" keys in order to delete the time on the left side.
Example:
pawn Код:
[17:38:45] CreateObject(18852, 1195.000, -905.000, 53.049, 0.000, 0.000, 0.000);
[17:38:45] CreateObject(9339, 1195.000, -905.000, 42.189, 0.000, 270.000, 0.000);
[17:38:45] CreateObject(9339, 1195.000, -905.000, 42.439, 0.000, 270.000, 6.000);
[17:38:45] ...
Delete the other useless text in the "server_log.txt" file, so you'll only have this code:
http://pastebin.com/zdEtqMmX
Don't forget the objects which we deleted earlier for the new place of map:
pawn Код:
RemoveBuildingForPlayer(playerid, 5858, 1214.1484, -913.4453, 43.0547, 0.25);
RemoveBuildingForPlayer(playerid, 1522, 1199.9688, -917.6406, 42.0234, 0.25);
RemoveBuildingForPlayer(playerid, 5844, 1206.1406, -900.9766, 42.1094, 0.25);
RemoveBuildingForPlayer(playerid, 6010, 1214.1484, -913.4453, 43.0547, 0.25);
RemoveBuildingForPlayer(playerid, 5742, 1197.3203, -899.2109, 45.0938, 0.25);
The map moving is over, and this is how your new map should look like on the new position:
http://imageshack.us/a/img109/3920/burgershot4.png
http://imageshack.us/a/img46/9719/burgershot5.png