Moving a mapping - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Moving a mapping (
/showthread.php?tid=597167)
Moving a mapping -
UnknownNovicePawner - 27.12.2015
Hi guys.
I've made a mapping for my server but I don't like the current location of the mapping and I want to move it in another location. I searched and I find a program called Object Calculator but it's not going in my way (not working, bugs ?). Is there any program, include or script to for that please ?
I know, I don't have a master's degree in English, hope you guys understand.
Thanks.
Re: Moving a mapping -
UnknownNovicePawner - 28.12.2015
bump
Re: Moving a mapping -
Antonio144 - 28.12.2015
I don't know of any script or tool that can do this automatically, but the math is pretty simple. Get one object's coordinates (S), then get that object's desired coordinates (E), calculate the difference (Δ delta) for X,Y,Z. (Ex-Sx, Ey-Sy, Ez-Sz). Then add the ΔX,ΔY and ΔZ to each object's coordinates. You can do that easily in excel.
We can discuss rotating the map after you've moved the map to your desired location.
Re: Moving a mapping -
UnknownNovicePawner - 28.12.2015
Thanks for the answer.
I've got to do that for every single objects or for one object only ?
Re: Moving a mapping -
TwinkiDaBoss - 28.12.2015
You want to move it?
https://sampforum.blast.hk/showthread.php?tid=250791
Re: Moving a mapping -
Pottus - 28.12.2015
Quote:
Originally Posted by TwinkiDaBoss
|
That is so old dude nowadays we can move maps on any axis and any angle.
Re: Moving a mapping -
ChromeAmazing - 28.12.2015
Just use a normal map editor and move all the objects, simple as that.
Re: Moving a mapping -
TwinkiDaBoss - 28.12.2015
Quote:
Originally Posted by Pottus
That is so old dude nowadays we can move maps on any axis and any angle.
|
Yeah but still helps for his cause. Better than letting him edit every X Y Z manualy like he thinks he should
Re: Moving a mapping -
Boar - 28.12.2015
https://sampforum.blast.hk/showthread.php?tid=506610
Check this out.
Re: Moving a mapping -
UnknownNovicePawner - 29.12.2015
Quote:
Originally Posted by Boar
|
Thanks a lot man, I will gain a very great time for this. I don't know how can I thank you so much for this.
EDIT: I tested it and it works perfectly.