PlayerSpectateObject
#1

Hola Peeps.

This is not a help thread but a General Discussion about ANY Idea for creating an include/plugin to enable us spectate objects. Maybe you have an idea in mind but you're unable to script it? Let others know, maybe they can do it for ya?

So, Got any?
Reply
#2

Get the objects position then set your camera at it
Reply
#3

Problem) Library array of objects ... since your talking about an include or plugin, you either have to double the existing library ( which is kind of redundant ), or hooking into the existing library ( Again redundant because you could simply just reassemble the existing streamers and add the option ). So, in a nut shell, unless your actually adding the function on one of the existing countless streamers, the 'solution' is excessive.

Since 'spectating' is a native, your really not creating something 'new' .... thus, you REALLY dont need a plugin or include. Simply modify the spectate function to obtain the object pos, set the player to spectate, and place the camera to point at the defined object.

now, if the object is a 'moving' object ... you now have to change camera positions based on a ticker, or timer. which again, isn't a 'new' concept, just a re-write of existing formulas, to reset and repoint the cameras based on motion.

Ultimate recap: Its best as a 'useful function' then an include or plugin.
Reply
#4

Why you want to spectate an object? It doesn't move? (only balls, but thats not synced)
Reply
#5

Quote:
Originally Posted by RobinOwnz
Посмотреть сообщение
Why you want to spectate an object? It doesn't move? (only balls, but thats not synced)
So .. MoveObject(objectid) doesnt really move an object?...damn, and all these years, those objects where moving, and it was just my eyes playing tricks on me!

synced ?? seriously ....So again, those other players that are running into those gates and doors the same as me... was another figment of my imagination.

Dude... thank you SOOOOOO much for showing me that i need to get my eyes checked, and see a shrink for all those games my mind has been playing with me, I'm FOREVER in your debt!
Reply
#6

Its acually can be. Im currectly at school so i will try something... After
Ill may post it in filterscripts and includes
Reply
#7

Quote:
Originally Posted by Joshua_Turnerz
Посмотреть сообщение
So .. MoveObject(objectid) doesnt really move an object?...damn, and all these years, those objects where moving, and it was just my eyes playing tricks on me!

synced ?? seriously ....So again, those other players that are running into those gates and doors the same as me... was another figment of my imagination.

Dude... thank you SOOOOOO much for showing me that i need to get my eyes checked, and see a shrink for all those games my mind has been playing with me, I'm FOREVER in your debt!
Moved object without MoveObject isn't synced.
Reply
#8

Quote:
Originally Posted by Joshua_Turnerz
Посмотреть сообщение
So .. MoveObject(objectid) doesnt really move an object?...damn, and all these years, those objects where moving, and it was just my eyes playing tricks on me!

synced ?? seriously ....So again, those other players that are running into those gates and doors the same as me... was another figment of my imagination.

Dude... thank you SOOOOOO much for showing me that i need to get my eyes checked, and see a shrink for all those games my mind has been playing with me, I'm FOREVER in your debt!


Read what varthshenon says, retard.

If you still don't get it:
You created a ball, and you push it. On your screen you see that it's moving, but if somebody comes to the area where the ball is and watches the ball, it doesn't do anything and should be at the position where the ball actually was.


and please, dont think you know everything about SAMP or something -_-
Reply
#9

god damn ... and here i wasn't paying attention to GetObjectPos( and SetObjectPos( repetitively .... those would NEVER ever force a sync .... Lets not mention, you don't even NEED a timer to do it, because if your using a streamer, it ALREADY has one running!

Come on guys.... just because the server doesn't do it FOR you automatically, doesn't mean you cant do it yourself.

@Robin, I dont really need to know everything, i just need to find 'solutions' which apparently places me 'ahead' of you... But thank you for the 'RETARD' comment...coming from you, i think ill take that as a complement!
Reply
#10

Actually, using a Timer and setting the Camera on the Object's Position is not the fastest/good method.

Like how we 'Spectate Players'?
The Camera 'PIVOT' is always on the players position accurately and we are able to move the camera around it. (Client feature)

I'm talking about something like this... If you find out any alternative method of it, you are a creative guy.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)