Game Development Community

Single player game in Torque?

by Jacob · in Technical Issues · 10/26/2004 (7:59 pm) · 5 replies

Greetings!

I understand that Torque is very capable of running multiplayer games...however, if I want to create a game with no network/multiplayer support at all, will I still need to work with client/server code? In other words, will I have to program or script things that are not necessary for single player games anyways? (this was implied in "3D Game Programming All In One") Thank you!

#1
10/26/2004 (11:18 pm)
Kind of ... not really :P

There will be some "server" code, but its really just a name in this case.

I suggest you look at this resource to see a really stripped down single player mission. I ran it this morning so it definitely works.
#2
10/27/2004 (5:41 pm)
Thanks Vernon, I'll take a look at it...but what you're saying is, that there won't be much extra unnecessary code that will have to be put in and the game can still be as good as one made for muliplayer with Torque?
#3
10/27/2004 (5:45 pm)
Personally I would still do your game as a server/client game . . .just in case you want to include Co-Op
#4
10/30/2004 (8:03 pm)
Thank you all...most likely, I will not be doing anything for multiplayer, so my question is: what do I need to do (delete code?) to disable the multiplayer features completely. First of all, I hope not to have to programm anything extra that I will not use and secondly, since Torque seems already set up for multiplayer support, non of those features need to load in my case, freeing up memory and being less CPU intensive. Please correct me if I don't have this concept down. Thanks!
#5
10/31/2004 (4:41 pm)
Well those resources showed you exactly what you need as a minimum and even provided a download of the exact scripts. If you still want to start off from the demo or starter.fps, then yes, you'll just delete all the stuff you don't need until you get down to what the resource shows you.

I preferred this approach when I was learning, as I could add in things as I needed and then I knew exactly what everything was doing.

You are only going to learn by doing. Invest a bit of time and you will see how it all runs (1 day and you should have all the *basics* sorted). Make good use of the resources and the search bar at the top of this page. Look for the script references from Melv May and Ron Yaketta (sp?), they were very useful.