Coordinates help
#1

I'm not too sure how to get co-ordinates for a tutorial. What i mean is when you have a tutorial on a rp server,it has the camera in the air looking at the place and this needs 2 sets of coordinates (SetPlayerCameraPos and SetPlayerCameraLookAt) But since these are different co-ords to XYZ i dont know how to get them.
Reply
#2

is the same as setplayerpos... using /save you can do it...
Reply
#3

Oh there is euhmm a fs made by Ryder i think it will start making you a class with the SetPlayerCameraLookAt and everything, just hit search and put this "Class Maker"
Reply
#4

Quote:
Originally Posted by Pharrel
Посмотреть сообщение
is the same as setplayerpos... using /save you can do it...
so its the X and the Y or the Y and the X or what?


Thanks,but i dont want to make class i just wanna know how to get the co-ords.
Reply
#5

[bump]
Reply
#6

Quote:
Originally Posted by sherlock
Посмотреть сообщение
[bump]
for SetCameraPos - I use airbreak, then /save.
For Setcameralookat - go on the ground,or air or when do you want it to look at and /save
It will show look at the coords of SETCAMERALOOKAT,from SETCAMERAPOS
Reply
#7

Quote:
Originally Posted by Issam
Посмотреть сообщение
for SetCameraPos - I use airbreak, then /save.
For Setcameralookat - go on the ground,or air or when do you want it to look at and /save
It will show look at the coords of SETCAMERALOOKAT,from SETCAMERAPOS
I know! nobody is telling me wether it is X,Y or Z that i need or both or which one goes with which..
Reply
#8

SetPlayerCameraPos
• This is the point where the camera will be.
• Just image that this is you with a photo. It will be the pos where you are standing.
• Parameters: (playerid, Float:X, Float:Y ,Float:Z)

SetPlayerCameraLookAt
• This is the point where the camera looks to.
• Imagine that this is the point you want to take a photo of. The camera will center this point and look at it.
• Parameters: (playerid, Float:X, Float:Y ,Float:Z)


All in all:
First get the pos where your camera is supposed to be (SetPlayerCameraPos) and then go to the point where the camera should look at (SetPlayerCameraLookAt).


Jeffry
Reply
#9

Ooh i get it now thanks :P So they can both be exactly the same?
Reply
#10

Quote:
Originally Posted by sherlock
Посмотреть сообщение
Ooh i get it now thanks :P So they can both be exactly the same?
Theoretically they could, but I don't know how this will look ingame.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)