Multiplayer mission check box questions
by Max Thomas · in Torque Game Engine · 07/10/2004 (7:23 am) · 7 replies
Hello,
I haven't got to test this but when you start a mission and check the multiplayer mission box does it create a server that you can find? And if it doesn't create a server how can I make it so that when that little box is checked it will make that computer host a server for all other computers to find with the query master.
Thanks, Max
I haven't got to test this but when you start a mission and check the multiplayer mission box does it create a server that you can find? And if it doesn't create a server how can I make it so that when that little box is checked it will make that computer host a server for all other computers to find with the query master.
Thanks, Max
#2
Thanks, One more question if you have a router will it stop torque from connecting to the internet?
07/10/2004 (8:41 am)
Ok,Thanks, One more question if you have a router will it stop torque from connecting to the internet?
#3
so what you are saying is it not only registers itself on the LAN but also on the Garage Games servers for others to find? And it does this automatically? How does it know which games to search for when you query the master server?
Does it go off the name of your game? Where are those internally set in the script? (I think I already changed them, but if you know off hand)
For my game, I would like to have a pre-enter mission screen (like starcraft and other games) where players connect to the host and then the game is launched with all the players in it from the beginning. Any suggestions??
07/15/2004 (4:59 pm)
@ Ben,so what you are saying is it not only registers itself on the LAN but also on the Garage Games servers for others to find? And it does this automatically? How does it know which games to search for when you query the master server?
Does it go off the name of your game? Where are those internally set in the script? (I think I already changed them, but if you know off hand)
For my game, I would like to have a pre-enter mission screen (like starcraft and other games) where players connect to the host and then the game is launched with all the players in it from the beginning. Any suggestions??
#4
07/15/2004 (5:13 pm)
Also, I notice scripting about passwords. How do you implement that so that when you create or host a multiplayer game that the players must enter a password to enter your game?
#5
@Chris: I can't answer all your questions here (I'm sure if you carefully read the source code, forums, and resources you'll be able to answer many of your own questions!), but in short: Yes. Yes. Game name. Either the one in C++ or the script one, I forget at this moment. I have written a few of those, it's pretty simple, you'll need to modify script code in common. See GameConnection (the C++ class) for details.
07/15/2004 (7:52 pm)
@Max: The router may make it so that people can't connect to you for multiplayer games. Depends on the router.@Chris: I can't answer all your questions here (I'm sure if you carefully read the source code, forums, and resources you'll be able to answer many of your own questions!), but in short: Yes. Yes. Game name. Either the one in C++ or the script one, I forget at this moment. I have written a few of those, it's pretty simple, you'll need to modify script code in common. See GameConnection (the C++ class) for details.
#6
07/17/2004 (6:50 pm)
Chris I think you can find everything you need in the prefs file.
#7
you say you have written a few multiplayer pre-startup screens. Can it be done completely in script? Is it possible to create a GameConnection and connect to it without launching the game? Is it possible there is a resource (or maybe someone could submit one) on how to do this?
@Max
Yes, I see the pref file and all that it contains. Thanks. So I now know how to do the whole password thing and all, but what about the pre-startup screen.
Someone out there must have done one of these. Could anyone be so kind as to post it as a resource?
07/22/2004 (8:50 am)
@Benyou say you have written a few multiplayer pre-startup screens. Can it be done completely in script? Is it possible to create a GameConnection and connect to it without launching the game? Is it possible there is a resource (or maybe someone could submit one) on how to do this?
@Max
Yes, I see the pref file and all that it contains. Thanks. So I now know how to do the whole password thing and all, but what about the pre-startup screen.
Someone out there must have done one of these. Could anyone be so kind as to post it as a resource?
Associate Kyle Carter