Stumped at first base
by Mark Francombe · in Torque Game Engine · 03/19/2007 (4:16 pm) · 7 replies
Well after fiddling around in the scripts for.. well too long... it became time for me to actually LEARN WHAT THE F*** I WAS DOING...
Not so fast...
So I got the book and jump straight in with HelloWorld... so I save to the CH2 directory as stated.. and boff around with DOS for a while to get my cmdline to point there... type the tge -ch2 helloworld.cs thang...
but to no avail...
now... colour me curious, but aint there supposed to be a program called tge.exe sitting somewhere around in that folder OR WHAT... this IS copied straight from the book CD...
While Im here.. I fired up the demos in some of the other chapters... and altho I see emaga game... the character aint moving... ahh wait a sec... ok fixed.. wasnt using the default W ASD keys... how silly...
Anyone help me please???
I WOULD actually like to do everything in the book so that when I get back to my game (which I have actually go pretty far in... multiple NPC's all talking with conversation system and Inventry for er... stuff.. plus some very nice buildings and stuff) I would like to know HOW the HELL i got it all to work!!!!!!
thx
m
Not so fast...
So I got the book and jump straight in with HelloWorld... so I save to the CH2 directory as stated.. and boff around with DOS for a while to get my cmdline to point there... type the tge -ch2 helloworld.cs thang...
but to no avail...
now... colour me curious, but aint there supposed to be a program called tge.exe sitting somewhere around in that folder OR WHAT... this IS copied straight from the book CD...
While Im here.. I fired up the demos in some of the other chapters... and altho I see emaga game... the character aint moving... ahh wait a sec... ok fixed.. wasnt using the default W ASD keys... how silly...
Anyone help me please???
I WOULD actually like to do everything in the book so that when I get back to my game (which I have actually go pretty far in... multiple NPC's all talking with conversation system and Inventry for er... stuff.. plus some very nice buildings and stuff) I would like to know HOW the HELL i got it all to work!!!!!!
thx
m
#2
Thanks!
03/24/2007 (6:44 am)
Care to give any hints as to which one? I also am going to need some help, as I haven't coded since college, six years ago.Thanks!
#3
03/24/2007 (11:08 am)
Yeah right.. dont you jusyt hate responses like that??? When THIS exact book is dealing with Torque, and we are on a Torque forum, and writing in an area that id DEDICATED TO THAT BOOK... some help might not be inappropriate???
#4
The chapter 2 code goes into a certain folder. It tells you which one in the book. (can't think of it off the top of my head. It's been a year or so since I went thru that book) Read the book carefully and pay attention to the instructions as to where the code goes.
Ok, went back and reread that part of the chapter....duhh
Did you install the cd? or just copy it? It installs the torque demo onto your hard drive. Chapter 2 should be in the demo folder area. (as said before, I don't recall. It's been a while)
03/24/2007 (4:39 pm)
Mark, don't pay any atteniton to that post.The chapter 2 code goes into a certain folder. It tells you which one in the book. (can't think of it off the top of my head. It's been a year or so since I went thru that book) Read the book carefully and pay attention to the instructions as to where the code goes.
Ok, went back and reread that part of the chapter....duhh
Did you install the cd? or just copy it? It installs the torque demo onto your hard drive. Chapter 2 should be in the demo folder area. (as said before, I don't recall. It's been a while)
#5
Im actually a bit further than this ( i have built a rudimentary game and added some resources) but not being a coder I get stumpt too often... so i thought i would go back to basics and run thru all the tut's in the book.
thx again Mike
03/25/2007 (2:09 am)
Thanks Mike, I actually dont know what I did, the chapter folders are on my hard-drive but I dont remember how I installed them... Ill check.. maybe I moved them to my D drive and they are meant to be in C... that gave me a hint anyhow... Thanks...Im actually a bit further than this ( i have built a rudimentary game and added some resources) but not being a coder I get stumpt too often... so i thought i would go back to basics and run thru all the tut's in the book.
thx again Mike
#6
I went back and looked. Chapter 2 is the hello world one. I had a bunch of problems with it. Once I got past it, everything went well.
03/25/2007 (8:55 am)
I'm glad I could help. If/when you have more questions, just ask. Most of us here are willing to help when we can.I went back and looked. Chapter 2 is the hello world one. I had a bunch of problems with it. Once I got past it, everything went well.
#7
Might it be that I installed the files on a different partition "drive" other than C:?
Thanks any help is appreciated.
04/07/2007 (10:01 pm)
Might be off topic but...this concerns the same chapter. After getting the "Hello World" code typed up into UltraEdit 32 I exec the helloworld.cs file in the Torque console and I get the compiling process going but it never completes. Might it be that I installed the files on a different partition "drive" other than C:?
Thanks any help is appreciated.
Torque 3D Owner James Bond