Posts: 1
Threads: 1
Joined: Mar 2011
Reputation:
0
Hello i mapped a very nice custom interior for a server and I did it in the air. I need to now reset every single object to ground level and move it over to LSairport any suggestions?
Posts: 1,275
Threads: 121
Joined: Jul 2011
Reputation:
0
Delete the old map & make a new one in the location you want.
Posts: 352
Threads: 33
Joined: May 2013
Reputation:
0
You can't actually move ever simple object, so you need to remap it.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
You can move a map fairly simple with a little bit of code, but if you want to change the orientation (angles) then that's a whole different story. Say, if your maps is at -50, 100, 1080 and you want it to be at ground level, say 300, -2000, 10 then the only thing you need to do is add 350 to x, subtract 2100 from y and subtract 1070 from z.
Posts: 1,363
Threads: 14
Joined: Apr 2009
Reputation:
0
there are many programs where you can use a macro to add text, you could even create a small script in pawn to work out and print the new co-ordinates into a text file
Posts: 1,167
Threads: 57
Joined: Jul 2010
Reputation:
0
You can try as this
new Float:movex = 1000.0;
new Float:movez = -1000.0;
And at each object line add something like this.
CreateObject(objectid,100.0+movex,100.0,100.0+movez,0.0,0.0,0.0);
So it moves that object for 1000.0 coords around the map for example.
Hope you got what I mean