Creating multiple instances of an area
by Chris B · in Torque Game Engine · 03/04/2006 (10:15 am) · 2 replies
I was just wondering, if its even possible, if anyone would have any ideas on how to go about setting up multiple instances of an area.
Say for example, I am creating a 3D Chess game.
I run my dedicated server which I would ideally like to be able to host up to 100 players.
I create a default mission (in this case it may be a mission that consists of only a chess board with all my pieces setup) which two people could connect to, and play a game of chess.
I dont need the mission loaded on the server to be different for each instance, and I don't need those instances to communicate in any way, shape or form. I don't need any more than two people to be able to connect to an instance.
Is it possible? Is it a pipe dream? Would anyone be able to offer suggestions on ways to implement this type of feature?
Thanks in advance for any suggestions :-)
Say for example, I am creating a 3D Chess game.
I run my dedicated server which I would ideally like to be able to host up to 100 players.
I create a default mission (in this case it may be a mission that consists of only a chess board with all my pieces setup) which two people could connect to, and play a game of chess.
I dont need the mission loaded on the server to be different for each instance, and I don't need those instances to communicate in any way, shape or form. I don't need any more than two people to be able to connect to an instance.
Is it possible? Is it a pipe dream? Would anyone be able to offer suggestions on ways to implement this type of feature?
Thanks in advance for any suggestions :-)
#2
Thus all 100 clients could be controlling players in the same room, but each players client would only be receiving information and be aware of one other player plus one table.
Have a search and read up on the various methods of scoping.
03/04/2006 (10:25 pm)
One method would be to use scoping. If you scoped the first chess table/set you spawn to two clients only, then it will only be visible/interactable to those two clients. The next two clients would have a new table spawned and scoped to them.Thus all 100 clients could be controlling players in the same room, but each players client would only be receiving information and be aware of one other player plus one table.
Have a search and read up on the various methods of scoping.
Torque Owner Jason Burch
Create a master server
Then you can create separate zones on different ports and when one zone gets full (2) players then it won't let anyone come in.
On the master server you could have it list all of the zones which would be separate instances of the server.
This might not be the best but it's an idea?
so you could actually host the zones on multiple servers just like they do in a MMOG or you could have 50 instances plus the master server on one....don't know if that would be ok with bandwidth.
But if you are doing a MP chess game with only 2 players then there shouldn't be that much to send and receive.