[PHP] Object mover (also online demo available!) -
gamer931215 - 24.04.2011
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)
Re: [PHP] Object mover (also online demo available!) -
Hiddos - 24.04.2011
Actually, this looks easier to use than Kwarde's mover. Good job!
Re: [PHP] Object mover (also online demo available!) -
Kwarde - 24.04.2011
CreateObject has this parameters:
Model, X, Y, Z, rX, rY, rZ, DrawDistance
Not
X, Y, Z, rX, rY, rZ
Re: [PHP] Object mover (also online demo available!) -
gamer931215 - 24.04.2011
Quote:
Originally Posted by Kwarde
CreateObject has this parameters:
Model, X, Y, Z, rX, rY, rZ, DrawDistance
Not
X, Y, Z, rX, rY, rZ
![Wink](images/smilies/wink.png)
|
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
Re: [PHP] Object mover (also online demo available!) -
Kwarde - 24.04.2011
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)
Re: [PHP] Object mover (also online demo available!) -
gamer931215 - 24.04.2011
Quote:
Originally Posted by Kwarde
|
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 ![Smiley](images/smilies/smile.png)
|
Re: [PHP] Object mover (also online demo available!) -
royal_king - 24.04.2011
Yayaya this is great!
Re: [PHP] Object mover (also online demo available!) -
BASITJALIL - 24.04.2011
Really great work gamer
Re: [PHP] Object mover (also online demo available!) -
Infamous - 15.11.2011
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.
Re: [PHP] Object mover (also online demo available!) -
Epic_Mickey - 15.11.2011
Looks nice...