Torque 1.4 SDK and 3DGP All in One CH4
by Greg Wright · 02/11/2006 (6:44 am) · 1 comments
So I finally got Chapter 4 code to work and it was not easy. I copied C:\3DGPAi1\RESOURCES\CH4 to my Torque directory C:\Torque\SDK\example\Game4. I then wrote the chapter 4 code by hand from the book. After the code was written I debugged using the console.log. Once the syntax errors were removed, I kept getting a red dot for my game. That was odd. Checking the log file I noticed that C:\Torque\SDK\example\Game4\common\presets.cs was not there. Hmm. I copied the file from C:\3DGPAi1\RESOURCES\CH5 into my Torque directory. Upon running the exe, the world loaded, yeah!
Unfortunetly, i couldn't move but I noticed the global keybindings worked. Upon changing the playerKeymaps to global keybindings everything worked. However, I don't want to use global keybindings. It's fine for an example but I will need to find the Torque 1.4 solution. Also, switching to 3rd Person POV doesn't work and I am not sure why. I'll have to dig into that as well.
I'll let you know through blogs, what I find.
The good news about all of this is it does work for the C:\Torque\SDK\example\Game4\tge.exe that comes with the book 3DGP All in One, it just doesn't work with Torque 1.4 exe.
Unfortunetly, i couldn't move but I noticed the global keybindings worked. Upon changing the playerKeymaps to global keybindings everything worked. However, I don't want to use global keybindings. It's fine for an example but I will need to find the Torque 1.4 solution. Also, switching to 3rd Person POV doesn't work and I am not sure why. I'll have to dig into that as well.
I'll let you know through blogs, what I find.
The good news about all of this is it does work for the C:\Torque\SDK\example\Game4\tge.exe that comes with the book 3DGP All in One, it just doesn't work with Torque 1.4 exe.

Torque 3D Owner Michael Cozzolino
Big Monk Games