Game Development Community

racing

by Kevin O · in Torque Game Engine · 09/28/2002 (3:54 pm) · 14 replies

I've noticed that there's a racing folder in the torque engine but currently only the fps game can be run using torqueDemo. I am making a racing game so I would be interested to see the racing game running. How long will it be before this game is playable?

If it is a long time, are there any 3rd person perspective game demos that I could see to get me started?

About the author


#1
09/28/2002 (4:05 pm)
all you need to do is run the test app as "TorqueDemo_DEBUG.exe -mod racing"
#2
09/28/2002 (6:51 pm)
And third person view is just a Tab key away..
#3
10/03/2002 (2:05 pm)
Hm, can't get the racing mod to run.

The main.cs has these lines:
exec("./client/init.cs");
exec("./server/init.cs");
exec("./data/init.cs");
but I don't have the client directory in the racing directory. Has it been removed from the CVS server?
#4
10/03/2002 (2:13 pm)
It's a mod, not a full game so it isn't meant to have a client directory.

Why doesn't it run? What happens?
#5
10/03/2002 (2:19 pm)
It doesn't do anything after the "Loading objects" progress bar has reached 100%. It seems like it hangs. Gonna debug into it..
#6
10/03/2002 (2:37 pm)
Open the console and see if there's anything printer there.

Otherwise run with the option -log 1 and read the text file that is created.
#7
10/03/2002 (2:39 pm)
*build* *debug*

Okay, after building the Demo exe, everything works fine.
I was using the prebuilt Demo application before.

Sorry, and thanks for your help, Mike
#8
10/03/2002 (2:46 pm)
Pleasure.
#9
11/03/2002 (11:51 am)
Anyone can tell me how to make the racing mod a standalone game? What do I need in there to get it running without the fps folder?
#10
11/03/2002 (12:17 pm)
I think it assumes the FPS folder will be in there.

However, you can change the default mod (in main.cs) to point to racing instead of fps.

It's a variable called like $defaultMod = "fps";
#11
11/03/2002 (1:37 pm)
I know how to point it to the racing folder instead of the fps...but its missing files. For example the racing doesn't have a client folder. So my question is...what should I add to the racing folder to let it work?
#12
11/03/2002 (6:12 pm)
All I did was copy the files from racing into the fps directory and edited game.cs to exec the new scripts. You then have everything from racing in the fps base, which you can edit at will.
#13
11/03/2002 (9:11 pm)
What you would do is make your own fps(game) directory.... If you want to see how to implement vehicles into your game check out my project and yahoo group. We are working on tutorials for vehicles.
#14
11/04/2002 (2:22 am)
I know how to add vehicles.... I just want to make sure I have the absolute minimum in there required to run it...Its just for a spare time project to learn the scripting a bit better.
So for example.. it needs a client folder, and in that client folder there needs to be a init.cs? What else?