Object mover
#1

Hi, sorry to create another topic.

Me and my friend are in some trouble.

We made a map, and made another, but out of our astonishment, their in the same place!

Is there some kind of moving tool, or another way to not do it via hand?
Thanx

PS: YES... I have searched, through ****** and SA-MP Forums, I found a function by seif_ but it didn't work correctly, that's it really.. Oh and some dead rapidshare links.
Reply
#2

just change the X and Y by x amount?
Reply
#3

Quote:
Originally Posted by gotenks918
just change the X and Y by x amount?
yeah here's the thing...

The map is a city, still in making with 450 objects, mind telling me how long that would take? That's why I need some kinda' tool

I also don't have the time nor patience to do it manually, or I would....
Reply
#4

It could be done with PHP if you can find someone. I'm too lazy :P
Reply
#5

Why not make one in pawn joe?

I'll make one when pedro send the maps to me (cbf atm).
Reply
#6

Quote:
Originally Posted by Kyosaur!!
I'll make one when pedro send the maps to me (cbf atm).
Your gonna have to wait a couple more days ( im trying to reach 1000 objects, wich is not easy and i am lazy as hell).

-----------------------

Anyway this thread can be deleted / locked now, since we got ourselfes a solution.
Reply
#7

Quote:
Originally Posted by Kyosaur!!
Why not make one in pawn joe?

I'll make one when pedro send the maps to me (cbf atm).
I'm not nowhere near as good as you and dave, kyo, otherwise I would
Reply
#8

put one of the objects in the new place you want (do not save it!), get the new object position, compare with the old position... lets say:
Old X was: 305.23
New X is: 1640.61

Old Y was: 109.15
New y is: 1002.80

X: 1640.61 - 305.23 = 1335.38.
Y: 1002.80 - 109.15 = 893.65.

Then you can do like this:
pawn Код:
// old:
CreateObject(model,305.23,y,z,rx,ry,rz);

// new:
CreateObject(model,x+1335.38,y+893.65,z,rx,ry,rz); // obj 1
CreateObject(model,x+1335.38,y+893.65,z,rx,ry,rz); // obj 2
CreateObject(model,x+1335.38,y+893.65,z,rx,ry,rz); // obj 3
Do with All objects: Coords + dif from new pos.

Warning:
This is a example code. You have to do your own code for this to work.

Ps: works great when I need to move many objects.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)