Previous Blog Next Blog
Prev/Next Blog
by date

Torque 1.4 SDK and 3DGP All in One CH4

Torque 1.4 SDK and 3DGP All in One CH4
Name:Greg Wright 
Date Posted:Feb 11, 2006
Rating:Not Rated
Public:YES
Comments:YES
RSS Feed:GarageGames Blog feedor Subscribe with .
Profile Page:View profile page for Greg Wright

Blog post
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.

Recent Blog Posts
List:02/11/06 - Torque 1.4 SDK and 3DGP All in One CH4
02/10/06 - Torque Beginner Experience

Submit ResourceSubmit your own resources!

Michael Cozzolino   (Feb 11, 2006 at 20:01 GMT)
You will find some inconsistencies (spelling?) with book examples since the Engine is constantly evolving. Think of it as a learning experience and not a hurdle and you'll be fine.

You must be a member and be logged in to either append comments or rate this resource.