Game Development Community

How do you run starter.fps and starter.racing?

by Highlander · in Torque Game Engine · 11/30/2005 (11:30 am) · 4 replies

Hello,

I was able to get the demos from Finney's book to run by typing TGE -CH2 etc... in a command prompt.

I bought the engine and downloaded the new 1.4 SDK. I went to the example folder. The only .exe I see there is "torqueDemo.exe"

When I run it, it brings up a screen with some clickable options, none of which seem to launch one of the actual demos.

I tried to put TGE.EXE from the book files into the starter.fps directory and running it, but I got a blank console screen.

I'm sure I am missing something really easy here. Could someone tell me what it is?

Thanks,
Mike

#1
11/30/2005 (11:33 am)
If you go into c:\Torque\sdk\example\main.cs

Change $defaultGame = "starter.fps"; to the name of the folder you want to run.
#2
11/30/2005 (11:33 am)
Open up main.cs (the one in the SAME directory as TGE.exe)

The very first line, aside from the comments should read something like:
$defaultGame = "GameOne";

Change this to read
$defaultGame = "starter.fps";

save, exit and run tge.exe.
#3
11/30/2005 (11:58 am)
Thanks gentlemen, works perfectly!

Now, the next question is- what piece of the documentation did I miss where this is explained? I want to go back and read the rest of it...

-Mike
#4
11/30/2005 (12:04 pm)
Just FYI, another way to do this is to create a shortcut to torqueDemo.exe, and in the command line put "-game starter.fps"