Game Development Community

Hi, i guees i did something wrong...

by Daniel Wexler · in Technical Issues · 01/08/2006 (2:46 pm) · 12 replies

Hi. I got the: "3D game programming ALL IN ONE" book, and it says to use ultraEdit.
I'm using TexPad4 (I'm saying that, because I'm not sure if that's the problem, I guess not).
and I did the 1st' script from the book, just a simple "hello" faction.

After that, it says to go to the command and print:

tge -ch2 HelooWorld.cs

I get an error says my pc doesn't recognize the tge command.
My question is, where is the compiler for torque, is it in the ultraEdit software?, or did I miss something ?

Thanks.

#1
01/08/2006 (3:58 pm)
I have not read the book but the source compiles with VC6, VC7, gcc etc
I think ultraEdit is just an IDE for reading scripts. The TGE it refers to might be the compiles engine, i.e TorqueDemo.exe
#2
01/08/2006 (4:01 pm)
Got it, so i need a compiler.
I thought that TGE is already coming with one.
Thanks.
#3
01/08/2006 (5:03 pm)
You can use "Torque Build Environment (TBE)" which is free.

Or

You can use MS Visual Studio Express which is also free
#4
01/08/2006 (5:13 pm)
He doesnt need to compile the C++ Code >.<
HEs trying to launch TGE form the command line
#5
01/08/2006 (5:38 pm)
I think i'm trying to compile the code through the command line. And i do need a compiler for that, Right?.

I'll D/L both, thanks.
#6
01/08/2006 (5:51 pm)
Well the obvious question is.... is "TGE" the name of the torque exe? cause that's not what mines called.


mine calls itself torque_demo or something. and you'll need to CD to that directory beforce trying to call it.
#7
01/08/2006 (5:52 pm)
NO you don't need a compiler to compile the script. At first glance I would say

Quote:tge -ch2 HelooWorld.cs

is the problem.

Btw way support for TBE is dwindling since MS released theirs for free, at least so I hear. I might be wrong.
#8
01/08/2006 (6:08 pm)
Fail66, This is not a Prob' thats my Bad English, i went over that like 10 times.
:p
#9
01/08/2006 (7:14 pm)
HMG, this is becoming so tricky....
I'm a bit lost, I have no idea how to use those compilers, I thought it will be easy.
Write the script, right click, compile, done, I guess I'm very far from it.
OK, I'll ask some friends, maybe they could help.
If any of you got some time and/or willing to help me I'll be grateful (if you in Vancouver... WOW).
daniel_wexler("at")hotmail("dot")com

Thank you all.
Daniel.
#10
01/08/2006 (7:56 pm)
Um, you don't need a compiler to compile the script, TGE does that for you.

I assume you've done the following:

Typed up a script in any text editor and saved it to c:\3dgpai1\ch2
Then you cd, changed directory to wherever the tge.exe file is.
Then you typed tge -ch2 HelloWorld.cs
#11
01/08/2006 (9:06 pm)
Well, I did a big mistake, and now all is oki.

:(

Daniel.
#12
01/09/2006 (11:09 am)
Ok, last thing I don't understand, ok ?
How come I need to install the thingy from the disc?, why can't I use the TGE that I already have, I mean, how come TGE doesn't have the TGE.exe file, when I'll make my own game, I will have to use different compiler than tge.exe?.

Daniel.