Ghosting a control object
by Thomas Hogarth · in Torque Game Engine Advanced · 08/20/2009 (11:54 am) · 0 replies
Hi guys
I'm working on a little project for the TopGear live show. It's a rather odd racing game, where the car is controlled by the entire crowd using colour cards and the volume of thier shouting.
Because of the input method for last year I created a version of path camera that could move a model and also added a bit of strafing left/right from the path etc (so they always get round the track but can still steer a bit)
The problem I have now is that this year they whant the game to be two player. So I got it to connect two clients to a server (not dedicated) and started looking through vechile etc to see how unpackUpdate etc works.
I've gotten most of the way there but I do get the occasional rather nasty jitter. I think this is caused by an older authoritive update on from the server, so I tried looking into the warp tick stuff and that is where I've become lost. Seems to me Torque is seriously lacking some helloworld type examples. Trying to work out the warping on a full player is too complicated.
So basically because I follow a spline (path camera) my position value is 1 dimensional. Could anyone give me a good example of ghosting a 1 dimensional value with warping.
Many thanks
Tom
PS
If I get stuck much longer I will be looking for someone to come to the rescue so please let me know if you are able to do this $$$.
I'm working on a little project for the TopGear live show. It's a rather odd racing game, where the car is controlled by the entire crowd using colour cards and the volume of thier shouting.
Because of the input method for last year I created a version of path camera that could move a model and also added a bit of strafing left/right from the path etc (so they always get round the track but can still steer a bit)
The problem I have now is that this year they whant the game to be two player. So I got it to connect two clients to a server (not dedicated) and started looking through vechile etc to see how unpackUpdate etc works.
I've gotten most of the way there but I do get the occasional rather nasty jitter. I think this is caused by an older authoritive update on from the server, so I tried looking into the warp tick stuff and that is where I've become lost. Seems to me Torque is seriously lacking some helloworld type examples. Trying to work out the warping on a full player is too complicated.
So basically because I follow a spline (path camera) my position value is 1 dimensional. Could anyone give me a good example of ghosting a 1 dimensional value with warping.
Many thanks
Tom
PS
If I get stuck much longer I will be looking for someone to come to the rescue so please let me know if you are able to do this $$$.
About the author