Game Development Community

Hello World script trouble

by Chris Nesmith · in Torque Game Engine · 09/14/2004 (6:42 pm) · 5 replies

I cant seem to get the hello world script to work in chapter 2 every time i try it says tge is not a valid command can someone please help me.

#1
09/15/2004 (4:00 am)
Double check your syntax. It worked fine for me.
#2
09/15/2004 (4:47 am)
I think it may be cause i didnt install the demo on the cd... i have a torque liscense but i think the examples must need the version on the disc.
#3
09/15/2004 (11:07 am)
Hello,

I had the same problem, try using echo instead of print. There is a print command somewhere but I am not sure off hand where it is.

Ben
#4
09/15/2004 (6:35 pm)
Its kinda funny it dosent work right with a liscensed version so if u have a liscense u have to install the book demo anyway atleast thats the only way i got the examples ot work the way said in the book.
#5
09/16/2004 (1:28 am)
Quote:I cant seem to get the hello world script to work in chapter 2 every time i try it says tge is not a valid command can someone please help me.
The executable built using the source code is not named "tge.exe", it is usually named "torqueDemo_DEBUG.exe" or "torqueDemo.exe" so "tge" would be an invalid command if you don't have an executable file of that name on your system.

The Torque executable is reasonably small and the version that comes with 3DGPAI1 includes an uninstall option, so I suggest you follow the book as closely as possible. The more you deviate from the suggested path, the less helpful the book will be as a guide.