Game Development Community

RTS Resource Problems

by Scott Szretter · in Torque Game Engine · 08/02/2003 (7:11 pm) · 6 replies

Has anyone tried this recently?
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3645

Im using the latest I think 'head' version (didnt specify a checkout version in wincvs).

I made the changes to the .cc files and .cs files. Sucessful build with vc6.

I put debug messages in using 'echo' in the .cs files for example the incmaxcamera and decmaxcamera routines. I see my messages, so I know my code is there, and its being called. No red code in the ~ screen, so I think there are no problems with the code.

Only thing strange - the i, k, and c keys - those routines torque says does not exist. Im not sure if they are all just typos, or maybe im missing something.

But the mouse wheel does not work either, and I know its getting to my code - for example the incCameraDistance routine in the .cs file because i put an echo in there. It just doesnt do anything.

Also note that this supposedly is supposed to be 3.0 away from the player looking at the player... Well, I dont know how far away the camera is, but its definately not starting out looking at the player...

Anyway, any tips, advice, help?
Thanks!

#1
08/02/2003 (10:16 pm)
First thing you might try - delete all the .dso files (compiled torque script files) so that it forces a re-compile of the project the next time you start Torque. Sometimes you'll discover your error, or the script will compile properly (still not sure why it doesn't recompile - I've never actually asked about the problem :-) That might fix your problem.
#2
08/03/2003 (3:20 am)
Just tried that, did not seem to make a difference. :(
#3
08/03/2003 (3:50 am)
Ok, another clue - I put debug code in gameConnection.cc, and found the 'm' key is working - it is setting the mFirstPerson var. It doesnt actually do anything visually though. Also, if mFirstPerson is false, the mCameraDist variable will change when I move the mouse wheel. That seems good, but again it doesnt actually do anything visually. ??
#4
10/23/2003 (9:21 am)
Any luck with this? I seem to be having similar problems.
#5
10/29/2003 (7:03 am)
Anyone?
#6
10/29/2003 (9:05 am)
Anyone?