NEWB Starting point
by Christopher Lamb · in Torque Developer Network · 05/26/2008 (11:09 am) · 2 replies
Hi all,
I'm an ultra newbie at using the torque engine, I only bought the TGE last week. I have read the tutorials etc but one question I want to know is how do you actually start a new game with regards to the directory structure. I notice that there is a starter.fps directory in the example folder. Is this there to be used as a starting point, if so Is it a case of copying that directory into the example folder and renaming it and modifying it to suit your own needs or is it best to do that with the tutorial.base which I have been doing and create your own scripts directory and other files as needed.
If anyone could shed some light on this issue I would be extremely grateful.
Cheers
I'm an ultra newbie at using the torque engine, I only bought the TGE last week. I have read the tutorials etc but one question I want to know is how do you actually start a new game with regards to the directory structure. I notice that there is a starter.fps directory in the example folder. Is this there to be used as a starting point, if so Is it a case of copying that directory into the example folder and renaming it and modifying it to suit your own needs or is it best to do that with the tutorial.base which I have been doing and create your own scripts directory and other files as needed.
If anyone could shed some light on this issue I would be extremely grateful.
Cheers
About the author
Torque Owner Gary Preston
Take whichever of starter.fps, starter.racing or tutorial.base fits your needs the best. Then use it as a starting point and extend from there. Either by directly modifying the scripts, or making a copy of the folder first and working in the new folder.
Tutorial base is a more stripped down version of starter.fps, most notably it's missing network game support. There's nothing stopping you adding this (or any other feature provided by starter.fps/starter.racing) back in though, which can be a useful exercise in and of itself.
Be aware when you copy whichever folder, you'll need to update the "$defaultGame" variable found at the top of main.cs to launch your new "mod". Mod been the name of your new folder. Also you may need to re-add each of the textures in the level editor as the paths will still be trying to use the old folder name for example starter.fps.
I wouldn't worry too much about your folder structure to begin with (with the exception of trying to keep client and server code in their own folders).
It's pretty easy to come back to it later and re-organise things once you have a better idea how you'd like everything to work.