Starter.Racing demo not working in multiplayer mode
by Tim Hutcheson · in Torque Game Engine · 04/06/2005 (5:52 am) · 12 replies
Just tried running the starter.racing demo on the LAN, after running the starter.fps demo just fine, and found that it behaves oddly. The server sarts up normally and looks fine but when another workstation runs the engine and joins the server, the client suddenly has a view that seems like a dis-embodied camera floating amid a broken terrain.
To verify this, I loaded both wokstations with freshly compiled copies of the TGE 1.3 distro. Works fine in multiplayer when running the FPS stuff but not the Racing demos.
I'm certain it's seeing three spawn points defined in the mission file because I added messages to the pickSpawnPoint function in game.cs to be sure. But thanks for the suggestion.
I now notice that if I fly the client camera up and look down at the race track, none of the track objects are in the terrain. So it seems that it's not loading any objects at all, just the terrain. Hmmmm...
Any ideas?
To verify this, I loaded both wokstations with freshly compiled copies of the TGE 1.3 distro. Works fine in multiplayer when running the FPS stuff but not the Racing demos.
I'm certain it's seeing three spawn points defined in the mission file because I added messages to the pickSpawnPoint function in game.cs to be sure. But thanks for the suggestion.
I now notice that if I fly the client camera up and look down at the race track, none of the track objects are in the terrain. So it seems that it's not loading any objects at all, just the terrain. Hmmmm...
Any ideas?
About the author
#2
05/16/2005 (6:57 am)
@Tim. Did you ever find out anything else that my be causing the behaivor? I haven't been able to figure this out.
#3
05/16/2005 (8:21 am)
The problem is that the racing demo was never meant to be run as a multiplayer game, it's just a demo for how you might construct a racing game. The problems disappeared completely whenever I added a little code to properly spawn multiple vehicles as each player joins the game. Having said that, I'm not sure specifically what causes the behavior.
#4
05/17/2005 (10:32 am)
So did you get this code from the FPS demo? I'll look around the code to see if I can figure it out. I like finding out things myself but don't mind a little guidance.
#5
05/17/2005 (11:15 am)
When I get home tonight I'll ferret out the mods I made and post them here. They aren't very extensive.
#6
07/04/2006 (6:07 am)
Does anyone have a fix for this stuff? It's a BRUTAL bug, since I wanted to demo this!!!
#7
It takes a bit of coding, but the time is well worth the effort.
07/04/2006 (2:34 pm)
I just used the fps demo to make a racing game. It works properly for multiplayer.It takes a bit of coding, but the time is well worth the effort.
#8
07/05/2006 (8:25 am)
Jeff, if you send me your email address I'll send you a zip of my script folders that I used last year.
#9
07/05/2006 (8:56 am)
Thanks, Tim ... I just e-mailed you! :)
#10
07/05/2006 (9:15 am)
Jeff, I never got the email. So I updated my email address in the profile. Send it again.
#11
07/05/2006 (10:24 am)
Hi Tim - thanks again :) ... I just re-sent.
#12
07/05/2006 (12:32 pm)
Got the demo ... awesome! I keep saying it ... but ... thanks again!!! ;)
Torque Owner BigPapa