I actually slapped together a tool for this a while ago because I had to move some mapping around. I published the source on GitHub in case you want to build it yourself. If you can't find out how to use it, let me know and I'll help you out.
Disclaimer: As stated above, it's slapped together meaning that it's no neat or optimal code. It does however get the job done. Source Build zip |
Is it also possible to move vice city since those are custom objects from 0.3.8DL
|
If they are created using CreateObject code then yes. It basically takes the raw text you put in, takes the values it needs, does some math and then pushes it out in correct creation code.
|
CreateVC2SAObject(-18000,4314.8200073,126.6359863,7.9870000,0.0,0.0,0.00000,299.00,1);
CreateVC2SAObject(-18001,4601.4799805,181.605957,8.9073000,0.0,0.0,-89.99987,90.00,0);
CreateVC2SAObject(-18002,4527.0999756,181.605957,8.9073000,0.0,0.0,-89.99987,90.00,0);
CreateVC2SAObject(-18003,4480.1000061,35.1899414,14.0298004,0.0,0.0,-89.99987,150.00,1);
CreateVC2SAObject(-18004,4645.4199829,39.0799560999999,14.0405998,0.0,0.0,0.00000,150.00,1);
CreateVC2SAObject(-18005,4564.289978,194.7869873,29.8456001,0.0,0.0,0.00000,299.00,1);
CreateVC2SAObject(-18006,4823.6400146,50.0450439000001,9.8858004,0.0,0.0,-95.00095,200.00,0);
CreateVC2SAObject(-18007,4818.4000244,126.7879639,9.8858004,0.0,0.0,0.00000,200.00,0);
CreateVC2SAObject(-18008,4199.6499939,80.2790527,15.3457003,0.0,0.0,0.00000,290.00,1);
CreateVC2SAObject(-18009,4773.4899902,55.3900146000001,7.1297998,0.0,0.0,180.00000,150.00,0);
CreateVC2SAObject(-18010,4765.539978,178.9909668,10.4841003,0.0,0.0,0.00000,150.00,0);
CreateVC2SAObject(-18011,4640.0900269,-201.8200684,10.3922997,0.0,0.0,-141.99988,180.00,1);
CreateVC2SAObject(-18012,4527.1300049,183.2039795,12.7549000,0.0,0.0,0.00000,90.00,0);
CreateVC2SAObject(-18013,4311.3500061,12.4200439000001,9.3888998,0.0,0.0,90.00019,299.00,0);
CreateVC2SAObject(-18014,4592.1599731,198.5670166,14.9847002,0.0,0.0,121.99977,90.00,0);
CreateVC2SAObject(-18015,4537.2199707,199.6899414,14.9847002,0.0,0.0,56.00033,90.00,0);
CreateVC2SAObject(-18016,4518.1900024,165.9909668,19.1921005,0.0,0.0,61.50025,90.00,0);
CreateVC2SAObject(-18017,4621.4799805,229.4709473,10.2355003,0.0,0.0,0.00000,90.00,0);
CreateVC2SAObject(-18018,4529.75,199.8800049,10.2355003,0.0,0.0,0.00000,90.00,0);
CreateVC2SAObject(-18019,4508.1000061,229.2349854,10.2355003,0.0,0.0,0.00000,90.00,0);
CreateVC2SAObject(-18020,4564.2399902,188.6710205,10.2355003,0.0,0.0,0.00000,90.00,0);
CreateVC2SAObject(-18021,4290.9200134,-158.4599609,9.3888998,0.0,0.0,180.00000,299.00,0);
CreateVC2SAObject(-18022,4291.3299866,-394.5900879,9.3888998,0.0,0.0,180.00000,299.00,0);
CreateVC2SAObject(-18023,4870.7600098,-166.3601074,10.0903997,0.0,0.0,-26.49985,165.00,0);
CreateVC2SAObject(-18024,4813.7999878,-2.93005369999992,10.0558004,0.0,0.0,0.00000,165.00,0);
CreateVC2SAObject(-18025,4813.8900146,84.9589844,10.0558004,0.0,0.0,0.00000,165.00,0);
CreateVC2SAObject(-18026,4601.3499756,183.3959961,12.7549000,0.0,0.0,0.00000,90.00,0);
CreateVC2SAObject(-18027,4611.7600098,165.8630371,19.1921005,0.0,0.0,121.49976,90.00,0);
CreateVC2SAObject(-18028,4864,45.1300048999999,9.8858004,0.0,0.0,-170.49997,200.00,0);
CreateVC2SAObject(-18029,4705.0100098,-242.8000488,13.3853998,0.0,0.0,159.99965,200.00,0);
CreateVC2SAObject(-18030,4197.9499969,160.0360107,22.0193996,0.0,0.0,0.00000,299.00,1);
CreateVC2SAObject(-18031,4842.9199829,61.2550048999999,8.1934004,0.0,0.0,-89.99987,299.00,1);
CreateVC2SAObject(-18032,4841.2199707,63.7060547000001,10.8432999,0.0,0.0,-89.99987,299.00,0);
After I replaced all 'CreateVC2SAObject' with 'CreateObject' the tool didn't throw any errors. I can't compile to check if it works at the moment, but you could probably give it a try and see what it does.
|