Just got the engine and need some help
by Jason Hardesty · in Torque Game Engine Advanced · 04/27/2007 (11:37 pm) · 18 replies
Just got the engine and have a few questions. For argument sake, say I have all the files for my game in a folder called game. What do I need to put in this folder to run the engine. Do I need to copy tgea.exe and paste it in the folder? The only tgea.exe I have found is in the example folder that is used for the demo that comes with TGEA. also is there any other files i need to put in my game folder? another thing Im getting this error when I try to run an example from garagegames web site called MinApp Tutorials by John Vanderbeck. The error says OpenGL is not implemented yet and I have done everything the Tutorial says. One last thing is is there any place on the site that shows you how to start from nothing and build the game like create main.cs, then the common folder, and so on. I cant find anything on this and I dont know what you have to do to get just a basic game with a character in a world setup.
Thanks
Jason
Thanks
Jason
#2
04/28/2007 (1:57 am)
TGEA dosent support OpenGL
#3
If this is a mistake, you should contact Garage Games and have them rectify it. This will grant you access to some additional documentation, TDN (Torque Developer Network, it's a community based Wiki) and the private forums.
04/28/2007 (2:01 am)
Ah, I think I know why you're confused and why you posted in the public forums. According to your profile, you don't own the engine. If this is a mistake, you should contact Garage Games and have them rectify it. This will grant you access to some additional documentation, TDN (Torque Developer Network, it's a community based Wiki) and the private forums.
#4
04/28/2007 (6:32 am)
.
#5
04/28/2007 (10:59 am)
Wait it says I dont have it? I payed 300 I better have it. So how do I know if i have it? I have the TGEA_SDK folder that has a engine folder, lib, bin, tools and a couple other. And the part about TGEA dosent support OpenGL. So if I try to run any of the TEA examples they wont work? I have the 3D game programming all in one book for torque does that also mean if I use this code it wont work because its not for TGEA? Thats wierd that it doesnt support OpenGL seeing how its the upgraded version and all. Whys that? so now Im just lost. The TDN doesnt seem to have that much there to help.
#6
04/28/2007 (11:56 am)
.
#7
thanks Jason
04/28/2007 (12:31 pm)
Thank you for your help guys. Berserk you didnt offended me. I was just worried that I didnt have the engine after paying for it lol. So in the book that I said I had and I have seen through out the site and examples I see that everyone uses a common folder. Is this folder that you would put in every game project you would work on? Is it something to do with the script calls? In my book it says something about most the time you wont need to do anything in this folder unless you want to add an add-on. is this true?thanks Jason
#8
04/28/2007 (2:29 pm)
.
#9
Thanks
Jason
04/28/2007 (5:55 pm)
First I would like to say thanks for the great help. The book I have is the first one you listed 3D Game Programming All In One. So is the third book a good place to start with. Will it show the main.cs should have x things done in it and should call these things and so on will all the other files you may need? Oh I thought of another question. Does Torque have AI? Thanks
Jason
#10
04/28/2007 (6:59 pm)
Torque Doesn't Have any AI. The closest thing it has is a few commands to command AIPlayers, such as movement and some other things. There are resources out there to add some additional AI functionality.
#11
04/28/2007 (7:10 pm)
Have a few more questions hope Im not bugging you guys. One is where are the private forms. I go to TDN and see no option there for forms. also after looking through the demo and other examples I see that in the client folder there are config.cs, defaults.cs, init.cs and prefs.cs. Are these files in most projects? Is most of the code I will be writing for the client\script and server\scripts and data for all my models?
#12
Your Account Details

My Account Details

All licensed users have "Torque SDK Owner" written in their notes.
If you want support, buy the engine. If you have purchased the engine and an error has been made with your account, contact Garage Games immediately to have it rectified. This will grant you access to the private forums and all of TDN.
04/28/2007 (10:26 pm)
Quote:Looks to me like you're using a pirated version:
Wait it says I dont have it?
Your Account Details

My Account Details

All licensed users have "Torque SDK Owner" written in their notes.
If you want support, buy the engine. If you have purchased the engine and an error has been made with your account, contact Garage Games immediately to have it rectified. This will grant you access to the private forums and all of TDN.
#13
04/28/2007 (10:53 pm)
Ok what the hell?!?!?!?!? I have it!!! I know I have it because I dont have $295 any more.
#14
04/29/2007 (12:16 am)
Jason owns TGEA. It looks like the new sku's of TGEA aren't showing SDK owner on the profile page. We'll look into that. Thanks everyone for helping Jason out.
#15
I hate the thought of providing information and wasting my time on unlicensed users who obtained Torque illegally, it's not fair to the rest of us paying customers.
04/29/2007 (12:20 am)
Sweet thanks for clearing that up Eric. I hate the thought of providing information and wasting my time on unlicensed users who obtained Torque illegally, it's not fair to the rest of us paying customers.
#16
04/29/2007 (12:32 am)
So can I not get in to the private forms then?
#17
Try visiting the following link and select which forums you'd like to have access to: Edit Forum Subscriptions.
If that doesn't work you'll have to wait for GG to fix your account.
04/29/2007 (1:00 am)
I'm not sure, it looks like there's an error with this website and new owners of TGEA.Try visiting the following link and select which forums you'd like to have access to: Edit Forum Subscriptions.
If that doesn't work you'll have to wait for GG to fix your account.
#18
04/29/2007 (1:32 am)
.
Torque Owner Tim Heldna
What I can tell you is that the exe stays where it is, by default within a folder named "example". With the exe is a script file named main.cs. This tells the engine which mod folder to work from:
So if you created a new folder named "Game" which contained all your game data you would set the $defaultGame variable to "Game". The main "main.cs" file tells the exe what to do, you don't need multiple exe's in multiple locations.
Inside of your "Game" folder, you will typically need to have:
- A "client" folder which contains client side scripts and GUI data.
- A "data" folder which contains your game's assets like models, textures, sounds etc.
- A "server" folder which contains server side scripts.
In your client side scripts (at a minimum) you'll need things like preferences (video settings, audio settings, other general game settings etc), keybindings, and GUI scripts.
The server scripts take care of most of the game related functions (loading a mission, spawning a player, health, weapons, inventory etc).
That's not a very detailed response but should give you a basic idea of how the default structure works.