Game Development Community

What to do after editing player.cc and player.h

by Patrick Clifford · in Torque Game Engine · 06/13/2007 (4:36 am) · 5 replies

I have downloaded a few mods that require me to edit player.cc and player.h I know a little bit about c/c++ so im assuning just changing these files is not enough, dont i have to complie them? But into what? When i have mods that change these files what must i do after editing them?

Im going to guess i have to compile them into the torquedemo.exe file, but i honestly dont know.

#1
06/13/2007 (4:52 am)
Yes you'll need to re-compile if you make changes to the source code. Scripts are compiled on the fly when you run them (so to speak) so you don't have to worry with scripts.
Microsoft has a free vs2005 Express Edition and it's supported by GG and is very easy to use. So this is probably where you'll want to start.
tdn.garagegames.com/wiki/Torque/vs2k5
#2
06/13/2007 (5:34 am)
What mods did you install? If I know which ones I may be able to give you some tips.
#3
06/13/2007 (7:42 am)
There are a few i want to install that edit .cc and .h but mainly the advanced position mod that lets you swim, crouch, and go prone.

I am making a first person shooter, so ANY advice on good mods or tutorials is greatly appreciated.
#4
06/14/2007 (4:54 am)
Well i tried that mod and it didnt work. I then tried the jetpack mod (also edits player.cc and player.h) and got it to work =)


One question. When i complie the engine (using the guide tdn.garagegames.com/wiki/Torque/vs2k5) it adds 2 .dll and one.exe used for debugging. In order for the mod to work i must use this .exe. How can i get it to also replace the normal .exe and.dll's to use my new mod?
#5
06/14/2007 (9:19 am)
You are building the Debug version, change it to active release. You can do that in the configuration.