Posts: 1,250
Threads: 92
Joined: Mar 2011
Reputation:
0
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?
Posts: 485
Threads: 9
Joined: May 2011
Reputation:
0
Get the objects position then set your camera at it
Posts: 43
Threads: 0
Joined: Aug 2011
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.
Posts: 1,079
Threads: 64
Joined: Jan 2010
Why you want to spectate an object? It doesn't move? (only balls, but thats not synced)
Posts: 43
Threads: 0
Joined: Aug 2011
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!
Posts: 48
Threads: 10
Joined: Sep 2011
Reputation:
0
Its acually can be. Im currectly at school so i will try something... After
Ill may post it in filterscripts and includes
Posts: 1,079
Threads: 64
Joined: Jan 2010
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 -_-
Posts: 43
Threads: 0
Joined: Aug 2011
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!