Game Development Community

Why oh why - book version 1

by razz · in Torque Game Engine · 07/20/2007 (1:08 pm) · 7 replies

.

#1
07/20/2007 (1:19 pm)
Rasmus you don't have to use the same version of the engine which came with the book. There's no reason you couldn't just download the 1.4 or 1.5 version of the demo from this site, rip the .exe from it, and just slap that into your GPAIO1 directory and use it as your game executable. the book focuses on script writing and the way the engine parses script and script commands really haven't changed that much between these versions so it should work. the only command you may need to replace is the command for switching from third person to first person.
#2
07/20/2007 (1:27 pm)
.
#3
07/20/2007 (1:41 pm)
Did you try using demo.exe?
#4
07/20/2007 (2:28 pm)
I'm fairly sure I bought version 1 of this book as well. I encountered exactly the same stuff: the example scripts were filled with errors. Here's a tip: skip all the example scripts in the book, don't even bother trying to run them. Read the text and information, as that's generally quite good.

If you want a book that has solid (working) example scripts, get Game Programmer's Guide to Torque. That author keeps his errata up to date, and that book's scripts are better in the first place. Plus, it was written with TGE version 1.4.
#5
07/20/2007 (3:04 pm)
.
#6
07/20/2007 (4:48 pm)
Well the first thing you tried isnt going to work properly because the demo folder and the gpai1 folder have different main.cs files. so unless you swap the main.cs files thats not going to work.

the second thing you tried really shouldve worked. some of the functions may not work exactly as expected, but it shouldnt be crashing. torque is funny like that though. try restarting or something. there was a time where every time i ran the 1.5 exe it crashed and then it just all of a sudden stopped happening. so all I can say is keep trying. whatever you do, you definitely dont need to use the 1.2 version of the engine.

also I think it would be more helpful if you could identify the line or error message you think the engine printing when it crashes. but again, I've had the same problem, random crashes in 1.5 with no perceivable reason, and it just stopped happening eventually.
#7
07/21/2007 (12:38 pm)
.