Some questions about Torque 3D
by Trafalgar Mowadeng · in Torque Game Engine · 03/31/2011 (7:30 am) · 11 replies
Now, as title says, I have some questions to ask... I'm actually using the Demo, so tell me if a feature is included only in Full versione or what.
Can I make an Online Multiplayer game? (ONLY Multiplayer) ..I have read about it, and I think yes.
If yes, how can I start a server and connect to it by client?
I would make a zombie MMO, so I need weapons and characters (bots), etc.. there's no problem about this, 'cause I usually use to script in virtual worlds, script languages similar to C++ and Java.
A problem, is the Client -> PHP connection, because I have to save player datas, so, is there a way?
If yes, how can I communicate CLIENT/PHP and, oviously, PHP/CLIENT?
For now, this is what I need: a multiplayer game, where I can see my friends running around me (lol).
After I will script all I need
Can I make an Online Multiplayer game? (ONLY Multiplayer) ..I have read about it, and I think yes.
If yes, how can I start a server and connect to it by client?
I would make a zombie MMO, so I need weapons and characters (bots), etc.. there's no problem about this, 'cause I usually use to script in virtual worlds, script languages similar to C++ and Java.
A problem, is the Client -> PHP connection, because I have to save player datas, so, is there a way?
If yes, how can I communicate CLIENT/PHP and, oviously, PHP/CLIENT?
For now, this is what I need: a multiplayer game, where I can see my friends running around me (lol).
After I will script all I need
About the author
Owner of ATMA Systems Developer of Prototype Dynamic System (a Combat System) My companies are based on a virtual world, called Second Life
Recent Threads
#2
03/31/2011 (8:04 am)
I echo what Michael says, and I'll add that I'm using PHP with three projects I'm working on now (one single-player, one multi-player, and one is an MMO). It's used in the same way for all three, but for different purposes (for my MMO, I currently use it for zoning between servers).
#3
I need PHP because I have to interact with a database, to ask player's informations and other, but I'm only trying now.
Thanks for your help about MMOs and, btw, about making a game.
But I've a question: is First Project (with template, empty room and empty terrain, FPS) networked? If yes, I think you can start a server by selecting 'Host' in the Play menu
03/31/2011 (8:33 am)
Fast response, thanks.I need PHP because I have to interact with a database, to ask player's informations and other, but I'm only trying now.
Thanks for your help about MMOs and, btw, about making a game.
But I've a question: is First Project (with template, empty room and empty terrain, FPS) networked? If yes, I think you can start a server by selecting 'Host' in the Play menu
#4
03/31/2011 (4:03 pm)
Quote:But I've a question: is First Project (with template, empty room and empty terrain, FPS) networked? If yes, I think you can start a server by selecting 'Host' in the Play menuExactly. One hosts, the others connect to the host. If it doesn't work, (your friends can't find you) check your firewall. Windows firewall loves to block torque. (as do others)
#5
I'll try the multiplayer with my friends today, and after I'll work on zombies D:
04/01/2011 (6:20 am)
Thank you, I understand.I'll try the multiplayer with my friends today, and after I'll work on zombies D:
#6
Me: host - Friend: other -> Doesn't work
Me: other Friend: hostm -> Doesn't work
04/01/2011 (9:31 am)
My firewall doesn't block nothing on my PC, but I still have connection problems with my friends, any idea?Me: host - Friend: other -> Doesn't work
Me: other Friend: hostm -> Doesn't work
#7
How are you trying to connect, through the Master Server or a LAN?
04/01/2011 (4:36 pm)
Check your friends firewall as well.How are you trying to connect, through the Master Server or a LAN?
#8
Btw, I tried to start a LAN server, and it worked fine, but when I tried with my friends, it didn't work
(Is this english? I don't know, sorry D:)
04/02/2011 (5:22 am)
My friend's firewall is ok, he plays a lot with computer games so he disabled it (lol)Btw, I tried to start a LAN server, and it worked fine, but when I tried with my friends, it didn't work
(Is this english? I don't know, sorry D:)
#9
04/02/2011 (3:19 pm)
The friend multiplayer testing may not work because the default master server is down. (edit: is it still down?)
#10
04/02/2011 (3:46 pm)
Did you make sure your friend had the "Host" option checked aswell?
#11
I think so, because when I'm the host, he click Join, not Play.
04/03/2011 (3:45 am)
Have only I to check the option 'Host'?I think so, because when I'm the host, he click Join, not Play.
Employee Michael Perry
GarageGames
Yes. Out of the box Torque 3D is a multiplayer enabled engine. You can run a server that stays persistent on a small scale.
When you create a new Torque 3D project, the functions are already in place that create the client and server connections. Those scripts are also in the demo.
A zombie MMO sounds like a blast! Out of the box Torque 3D is not set up for MMO game development, though. There is a decent amount of modifications that would need to be made to the engine, both C++ and TorqueScript. There are a lot of factors that need to be considered. Luckily, one of our more rockstar community members started a thread about the subject: Before posting about an MMO, read this. Out of the box you get a client/server architecture, which allows up to 128 unique connections to a server. The scripting language is TorqueScript, not PHP. There is currently no built in database support, but there are dozens of resources on how to implement on.
It's doable, but not an easy task. People have already made MMOs using various version of Torque. However, they had experienced C++ developers on the team and a lot of time to dedicate to the project.