Detecting Z coordinate -
zaibaslr2 - 03.08.2015
Hello everybody,
So, the problem is, I've been trying to do this a long time ago, but still can't find a proper way to do it.
I have a custom map on the ocean (islands), and most of the objects are SA:MP objects (for example, volcano and islandbase).
I need to find Z coordinate for given X and Y.
I tried using ColAndreas plugin, but it does not work with SA:MP objects.
I tried using SetPlayerPosFindZ, but it does not work with SA:MP objects either.
Is it even possible to make it? Please give your suggestions.
Thanks for replies.
Re: Detecting Z coordinate -
MarvinPWN - 03.08.2015
Do you tried this?
https://sampforum.blast.hk/showthread.php?tid=275492
Re: Detecting Z coordinate -
zaibaslr2 - 03.08.2015
Quote:
Originally Posted by MarvinPWN
|
It does not work with custom maps, only GTA:SA map, but you can create your own heightmap with MapAndreas, but it requires to know Z coordinate, which I'm trying to get somehow
AW: Detecting Z coordinate -
Kaliber - 03.08.2015
The basic question is, for what do you need the Z-coordinate?
Re: Detecting Z coordinate -
SoFahim - 03.08.2015
Maybe you want to know , Z coords right?
If yes!
This is the system!
CreateObject(X, Y,
Z, RX, RY, RZ, blah blah )
If you want to know InGame, then use this
FS
Re: Detecting Z coordinate -
Crayder - 03.08.2015
ColAndreas!
https://sampforum.blast.hk/showthread.php?tid=560218
It works with custom maps and it's 3D, it's exactly what you need.
Re: Detecting Z coordinate -
zaibaslr2 - 03.08.2015
Quote:
Originally Posted by Crayder
|
No, dude, I wrote a comment and you replied to it
Quote:
Will this ever support SA:MP objects? It doesn't seem to work with not GTA:SA objects
Right now there is a bug in the wizards code that causes the SA-MP objects to not be handled. Pottus and Chris are both through with the project and neither will be attempting to fix it, but it'd be real nice if someone else could step up and try.
|
Re: Detecting Z coordinate -
Crayder - 03.08.2015
Quote:
Originally Posted by zaibaslr2
No, dude, I wrote a comment and you replied to it
|
Then your best option is getting every coordinate you can and creating a heightmap for MapAndreas. Though, MapAndreas doesn't support coordinates outside of the SA boundaries; an island that is off of the main map would crash MapAndreas.
Re: Detecting Z coordinate -
zaibaslr2 - 03.08.2015
Quote:
Originally Posted by Crayder
Then your best option is getting every coordinate you can and creating a heightmap for MapAndreas. Though, MapAndreas doesn't support coordinates outside of the SA boundaries; an island that is off of the main map would crash MapAndreas.
|
I did not know that, I guess rest in peace heightmap
AW: Detecting Z coordinate -
Kaliber - 03.08.2015
Dude...for what exactly do you need the height?