Game Development Community

GUI not saving? and other newb stuff

by Matthew Hoesterey · in Torque Game Engine · 03/06/2005 (5:19 pm) · 2 replies

So many questions. I apologize but I'm the artist trying to understand the engine so I can communicate with my coders better, so bare with me. ;-)

OK...

So I'm going through the torque documentation and doing the exercises. I'm stuck. I've done everything exactly as the "Hello world" exercise states. I downloaded a text editor and modified the init.cs file. Everything's fine until I close and reopen the FPS starter. When I do all the changes to the main menu are gone (the my first button that is). Hello world is still saved but it seams that my mainmenugui isn't saving. Why? I have torque installed on G: do I need to change settings?


Also starting a new project where should I put my files? Is it important? It seams that torque has a defined directory structure but I can't find any info about it in the docs. ie... When I make a model for the game what dir do I put it in?

Can I define my own directory structure? (I want to stay organized)

Currently the only way I can see to open torque is through one of the starter kit exe files. Making my own game should I simply copy one of these files point it to new directories and then just rename the exe?

I heard their is a torque IRC channel. Could anyone tell me what it is?


Thanks. :)

#1
03/07/2005 (9:22 am)
I haven't looked at the "hello world" exercise, but are you saving your GUI after you make the changes?

Quote:Also starting a new project where should I put my files? Is it important? It seams that torque has a defined directory structure but I can't find any info about it in the docs. ie... When I make a model for the game what dir do I put it in?

Can I define my own directory structure? (I want to stay organized)
I believe the only required directory structure is that by default the root main module (main.cs) has to be in the same directory as the Torque executable. Beyond that you are free to do what you wish as long as the paths in your scripts are valid.

Quote:Making my own game should I simply copy one of these files point it to new directories and then just rename the exe?
If you are building your own executable, then you can just copy the built exe to your directory structure. An easier way is to just change the path for the executable to be created in the settings for the project when it is built.

Quote:I heard their is a torque IRC channel. Could anyone tell me what it is?
The Torque IRC channel can be accessed from the "Community" pane at the righ side of most of the GG web pages. It is listed as "Chat (irc)"
#2
03/07/2005 (9:59 am)
Quote:... but it seams that my mainmenugui isn't saving. Why?

I suspect that it probably *is* saving, but not in the manner you'd expect
1) Make sure your system clock is set right
2) Look for other files on your system called "mainMenu.gui" or whatever; they're probably being saved someplace else.

If you're on linux, check ~/.garagegames/torqueDemo

Gary (-;