[Tool/Web/Other] [PHP] Object mover (also online demo available!)
#1

SA-MP Object Mover
About
What is it ?
Like the title says, this is an SAMP Object mover.
It allows you to move a whole map to a new position, or to just move it up as example
if your having problems with water.

Inspiration
I made a object mover before in c# called "Gamer's mapping tool", but i noticed it doesnt work on my current pc anymore.
now i saw Kwarde's Object Mover and i noticed he uses this calculation:
"X = X + value"
this is perfect for moving maps for smaller distances, but it isnt easy to move a map accurate from Las Venturas position to Los Santos as example.

Thats why i made my own Object Mover, my object mover allows you to just enter coordinates on the map, it works using the calculation:
"(X = X - offset) + newX"

How to use it?
1.Just paste your map in the textarea*,
2.Now enter in the textboxes underneat the textarea the new location of the map**,
3.Click on Calculate and copy your map!

Notes:
* it MUST be CreateObject(x,y,z,rx,ry,rz); format without comments!
** If you only want to adjust the height of the map, just enter the coordinates of the FIRST object in your map. Also note that the Z axe is a multiplyer, so entering "2" at the Z axe will make your map the twice as height as normal!

Online demo
Go to my website (http://www.gamer931215.tk) and click on "Web tools" and select "SA-MP Object Mover", or use the directlink here.

Download
(You need to be logged in to see the download)
Reply
#2

Actually, this looks easier to use than Kwarde's mover. Good job!
Reply
#3

CreateObject has this parameters:
Model, X, Y, Z, rX, rY, rZ, DrawDistance
Not
X, Y, Z, rX, rY, rZ
Reply
#4

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
CreateObject has this parameters:
Model, X, Y, Z, rX, rY, rZ, DrawDistance
Not
X, Y, Z, rX, rY, rZ
Who cares about the stream distance,
You should stream the objects anyway via Incognito's streamer, which doesnt use DrawDistance

Il might add it in a future version, but this version works okay for now
Reply
#5

Quote:
Originally Posted by gamer931215
it MUST be CreateObject(x,y,z,rx,ry,rz); format
https://sampwiki.blast.hk/wiki/CreateObject:
(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
Reply
#6

Quote:
Originally Posted by Kwarde
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/CreateObject:
(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, FloatrawDistance)
What did i just say... ?

Quote:
Originally Posted by gamer931215
Посмотреть сообщение
Who cares about the stream distance,
You should stream the objects anyway via Incognito's streamer, which doesnt use DrawDistance

Il might add it in a future version, but this version works okay for now
Reply
#7

Yayaya this is great!
Reply
#8

Really great work gamer
Reply
#9

I don't suppose your planning on re-uploading the live demo? Would love to try this out as I need to move a map back into the sa boundries.
Reply
#10

Looks nice...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)