Game Development Community

Hello, question on making a deathmatch server

by James Thomas · in Game Design and Creative Issues · 12/05/2008 (9:09 pm) · 1 replies

Ok, so i have made a pretty cool level and completed some of the introductory scripting missions but now I am stuck.

What i want to learn to do next is have my game start as a dedicated server and then test multiple people joining. two questions on this:

What changes to my build do i have to make?

and

Can i create a host and then join it twice on the same computer? (for testing)

my only reference is an older book for the 1.4 torque, and the file structure has changed since then, so i am pretty lost.

Thanks in advance for the help.

after this i plan on making a couple of weapons and then adding melee. its gonna be sweet.

#1
12/06/2008 (4:44 am)
Starting up a dedicated server is usually accomplished by running the game exe with a few extra arguments.

./yourgame.exe -dedicated -mission game/data/mission/yourlevel.mis

Quote:
Can i create a host and then join it twice on the same computer? (for testing)

Yes and No. You can run a dedicated server and then run a separate client and join the server, however when you try to run a 2nd client torque will quit after informing you that another instance is already running. You can disable this by editing the source though. Look for the error message it brings up in the source.