Game Development Community

How do you add file to Visual C++ 2008 express

by Alaric Karczag · in Game Mechanics Kit · 01/19/2010 (12:08 am) · 6 replies

as one who hase only opened a programming program, I followed most of what was in the step by step instructions except for the following:

Engine:
3. Adding GMKs C++ files to your project file
To finish the integration of GMK C++ code you should make changes to your Visual Studio project
file. Actually you have to add GMK *.cpp and *.h files to your proj

Physics:
Step 5
Add files C++ to your project.
Bullet
Add files from enginesourceT3DlogickingMechanicsphysicsbullet

how is this done? maybe add to your resource as not all of us are programmers :)
Thanks in advance!

TGEA 1.8.2 unmodified build
GMK 1.2.6
Visual C++ 2008 express

#1
01/23/2010 (6:43 am)
anyone?
#2
01/23/2010 (9:57 am)
The GMK files and library need to be copied to your engine directory as specified in the documentation.

You should right click on the T3D folder in the DLL project within Visual Studio. Click 'Add->New Filter' and rename it "logickingMechanics" without the quotes. Right click on the 'logickingMechanics' folder and click 'Add->New Filter' and rename the filter "physics" without the quotes. Right click on the 'physics' folder and click 'Add->New Filter'. Rename it "bullet" without the quotes.

Right click on each of these new folders and click 'Add->Existing Item' and add the files from the appropriate GMK folders. Change the project parameters as shown in the documentation and recompile. Don't forget to uncomment the appropriate line in the physics.h file.



#3
01/23/2010 (8:55 pm)
Awsome help man. I should be able to do it tonight.
Does it say "T3D" or is that my project name ie: GMKTest with all it own subfolders?
I ask because I see a T3D folder in my project/solution explorer in GMKTest/source files/engine/

I have installed 1_8_2, made a new project, copied files from GMK to my new project folders (GMKTest)
and launched VC2008expres by opening:
C:\torque\TGEA_1_8_2\projects\GMKTest\buildfiles\visualStudio 2008\gmktest.sln

thanks again for the help
#4
01/24/2010 (12:09 am)
It is the "T3D" in your GMKTesk/source files/engine folder in the solution explorer.
#5
01/24/2010 (6:39 am)
In the gmk.zip what is the bullet_2_74 folder for?
Any big differances between it and the "bullet" directory in the
....zip\physicsPack directory?
#6
01/24/2010 (7:18 am)
Awsome! Got it running thank you!
Have you noticed that the default player is the jetpack, you can't jump, but if you jet around the AI loose track of the player and stop shooting? Is this a bug? Or a limit of how the AI can see?