Root folder set up
by Richard Preziosi · in Torque Game Engine · 02/10/2007 (8:46 pm) · 7 replies
Ok, I have searched through the forums, and was unable to find what I really desired, so I've decided to ask.
I am wanting to start my own project, but I have failed to find anything that can get me a basic set up with basically nothing. the simple and super simple tutorials are a little too basic, I basically want the tutorial.base with no reference to anything else, with no starter.fps or starter.race. I'm looking for a basic root folder setup that will allow me to run the engine with the gui toolbar that can get me started.
Perhaps a less confusing way to put it is, what files/folders do I need to start my game?
I would like the basic tutorial.base capabilities, but without all the other junk thrown in.
Hope someone understands this, cause I sure don't. Thanks.
I am wanting to start my own project, but I have failed to find anything that can get me a basic set up with basically nothing. the simple and super simple tutorials are a little too basic, I basically want the tutorial.base with no reference to anything else, with no starter.fps or starter.race. I'm looking for a basic root folder setup that will allow me to run the engine with the gui toolbar that can get me started.
Perhaps a less confusing way to put it is, what files/folders do I need to start my game?
I would like the basic tutorial.base capabilities, but without all the other junk thrown in.
Hope someone understands this, cause I sure don't. Thanks.
#2
What I really meant though, was, how do i strip down just to the totorial.base, without any of the starter.fps or starter.race things tied in. I want to be able to make and distribute without any of the starter things tied in to my compile. Thanks.
02/12/2007 (10:38 am)
Thanks Michael, no sarcasm here, i really didn't know that. That method is a bit too stripped for me, however i may try that for a game in the future, think it will definitely be a good idea as far as really understanding what each script can do, to build totally from scratch.What I really meant though, was, how do i strip down just to the totorial.base, without any of the starter.fps or starter.race things tied in. I want to be able to make and distribute without any of the starter things tied in to my compile. Thanks.
#3
As far as actual files and mechanics, Tutorial.base has practically nothing in it.
02/12/2007 (10:46 am)
Well, what do you mean by "starter things." The tutorial.base is extremely stripped down, so it's just a matter of copying that folder, renaming it, and going through the script files and putting your game name in the place wherever you see "tutorial.base" or "starter.fps."As far as actual files and mechanics, Tutorial.base has practically nothing in it.
#4
I guess the simplier question to ask is, if I make a new game folder inside the example folder, and then package it into an installer, what outside of the game folder needs to be packaged with it as well so that i can run? I think that might be a little easier to understand, but who knows, i'm a confusing individual. Thanks for bearing with me.
02/12/2007 (6:05 pm)
I'm not sure exactly what I mean either, lol. What I am thinking is, having all the starter.race, and starter.fps scripts is just wasting space, I'm not going to use it, and i definitely do not want to simply rename and distribute it, not that I have anything more than just a level to walk around, so maybe by the distribution time I will have figured it out myself.I guess the simplier question to ask is, if I make a new game folder inside the example folder, and then package it into an installer, what outside of the game folder needs to be packaged with it as well so that i can run? I think that might be a little easier to understand, but who knows, i'm a confusing individual. Thanks for bearing with me.
#5
The most bare-bones game you can have, without breaking your back rearranging core scripts, could look like this:
To clarify, anything and everything that has to do with starter.fps and starter.racer, are in their respective folders. Any scripts not involved with those particular mods, involve commonly shared resources and the editor.
So, at the risk of sounding like a broken record, keep the common folder, remove the creator folder, and organize your game folder however you like. Delete starter.fps and starter.racer, and you no longer have extra scripts you don't need.
02/12/2007 (7:11 pm)
I recommend the common folder, for ease of use, but my game does not have it. You don't want to include the creator folder, because it contains the GUI and Mission editor.The most bare-bones game you can have, without breaking your back rearranging core scripts, could look like this:
Example
->Common
->Game
->client (contains GUIs, client side scripts, some 2D assets)
->server (contains Server side scripts, core game play stuff)
->data (missions, environments, terrains, etc)
->Main.cs (main hook into game)
->Game.exeTo clarify, anything and everything that has to do with starter.fps and starter.racer, are in their respective folders. Any scripts not involved with those particular mods, involve commonly shared resources and the editor.
So, at the risk of sounding like a broken record, keep the common folder, remove the creator folder, and organize your game folder however you like. Delete starter.fps and starter.racer, and you no longer have extra scripts you don't need.
#6
02/12/2007 (7:46 pm)
Thanks a lot Michael, you hit the nail right on the head, and also answered a question I did not even know that I had; concerning the mission editor. I had just noticed that I saw things with starter.fps/racer mixed in some scripts that I was browsing through, and it threw me off track. Again thanks to all who replied.

Employee Michael Perry
ZombieShortbus
1) Create folder called TurboBall
2) Put main.cs in TurboBall.
From here, you can build the entire directory how ever you want, but you have to make sure all of your scripts use the correct, new paths.