Game Development Community

Newbie question: How do I rebuild?

by Alex Strand · in Torque Game Engine · 04/09/2009 (10:48 pm) · 5 replies

Up until now I've only been making character models, and I want to add the cell shade effect from: http://www.garagegames.com/community/resources/view/10318

I have all the files in the right place, All I need to know now is how to "rebuild". I've searched GarageGames but found nothing.

#1
04/10/2009 (6:39 am)
I use Visual C++ 2005, I don't know what you're using but for me, I add the files to the project, modify if need be and then hit "Rebuild Torque Demo" in the menu (Make sure it's set to Release if you don't want the Debug version) program does it's funky thing and then blops out the (hopefully) compiled .exe somewhere. (Yeah, somewhere.... I can't figure out how to set the output folder.. err..)
#2
04/10/2009 (8:49 pm)
Which files? Sorry for the newbie questions. I don't want to screw anything in TGE up.

EDIT: Oh, You thought I meant the files for the rebuild. I was talking about the scripts from the cell shade tutorial
#3
04/11/2009 (7:23 am)
Aha! err, yeah I thought you meant rebuilding the saucecode.

Keep a backup of your current working version.

Rebuild the scripts?

Just run DeleteDSOS.bat and start up the program, that will compile all your script files into DSO's
#4
04/11/2009 (7:47 am)
I think he did mean the source code - I can't find any script changes in that resource, but lots of code changes in files like tsMesh.cc.

Alex - do you have a code editing program? Code, not script (the distinction is important). Code is in the TGE/engine folders, and is saved in .h and .cc files. Scripts are in the example directroy and are saves as .cs(.dso) files.

If you don't have a code editor, I'd recommend Microsoft's Visual C++. 2008 is the latest version, and the only one you can find easily :P.

Here's a good tutorial on building the engine with VS2005 - most of the steps should apply to 2008 as well. Butonce you've done that, you can make the necessary code changes, then build again.
#5
04/11/2009 (8:19 am)
Yeah I'm confuzzled. lol.

What I described earlier would be a condensed way to compiling the sourcecode.

Listen to Daniel, he knows what he's talking about :)