Help with advanced camera tutorial
by Kyle Pickering · in Torque Game Engine · 10/18/2008 (10:00 am) · 2 replies
Hey everyone, I'm currently trying to follow the tutorial at http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5471 (camera modes), and i've gotten stuck right at the first steps.
First, where the author says: "First off all you need to take the attached advancedCamera.cc/h files and add to engine\game and add them to the project." Where exactly am I putting these files? I'll be the first to admit i'm new to torque, so if theres some common knowledge or something based around where these things go i'm out of the loop.
Second, where the author says: "Exposing mCameraObject
The first thing you want to do is add console method's to access the GameConnection setCameraObject/getCameraObject methods. I added these to GameConnection.cc right after the console method for getControlObject:" Where is GameConnection.cc (or what has it been replaced with)? I did a search on my computer for that file and it yielded no results, which makes me think that either in the 4 years that has passed since the article was written, or in the update to TGEA, some of the base file setups have changed.
Thanks everyone for your time!
KP
First, where the author says: "First off all you need to take the attached advancedCamera.cc/h files and add to engine\game and add them to the project." Where exactly am I putting these files? I'll be the first to admit i'm new to torque, so if theres some common knowledge or something based around where these things go i'm out of the loop.
Second, where the author says: "Exposing mCameraObject
The first thing you want to do is add console method's to access the GameConnection setCameraObject/getCameraObject methods. I added these to GameConnection.cc right after the console method for getControlObject:" Where is GameConnection.cc (or what has it been replaced with)? I did a search on my computer for that file and it yielded no results, which makes me think that either in the 4 years that has passed since the article was written, or in the update to TGEA, some of the base file setups have changed.
Thanks everyone for your time!
KP
About the author
#2
10/18/2008 (10:28 am)
Yea i have a license. I'll go ahead and repost this down in there. thanks for the reply!
Associate Konrad Kiss
Bitgap Games
GameConnection.cpp is what you're looking for and it's also in the T3D folder. But indeed, TGEA has changed a lot since that resource was published, and it probably will not work without having to modify a few things here and there - check out the thread, it probably has help on it.
Edit:
I just realized that this is in the public area. Do you own a license to TGEA? If you don't then you do not have the source of the engine, and can not use that resource, because you only get a precompiled exe with the demo. If you are a licensee, you would get better help in the private forums - maybe even some source code.