Game Development Community

Never ending mission ...

by Ken Finney · in Torque Game Engine · 09/05/2001 (8:32 pm) · 2 replies

.. to explore new worlds, to... oops, wrong topic.

Actually, how can I set up the server, so that a mission never ends ? I tried setting the time to 0, but it stills restarts the mission after a long while (never measured it). Is this gonna be one of those "dive into the source code thingies ...?

Regards,
CERDIP

#1
09/05/2001 (8:52 pm)
I believe the test app. doesn't have a timeout on the mission, but the mission is restarted when everyone exits the server. In Tribes 1 (and 2) the server was reset after the last player left to restore the run-time (player-voted) options back to their initial state.

Look for resetServerDefaults() in server/scripts/server.cs The function is called from server/scripts/clientConnection.cs when the last player leaves.
#2
09/06/2001 (6:53 pm)
ty Tim.