Game Development Community

Disable world editor

by Tim Fox · in Torque Game Engine · 07/16/2005 (10:37 pm) · 7 replies

When i want to publish my game for people to play how do i disable the world editor and all of that?!?!?
(i own the indie license)

#1
07/16/2005 (11:25 pm)
I'm not sure... but my best guess (and... it's probably wrong...) would be just to delete the files under the 'engine' folder and recompile.

Good luck.

Quote:(i own the indie license)

We're in the private SDK forums. ;)
#2
07/17/2005 (12:21 am)
Yeah, remove the editor scripts and the editor source code(so ppl can't drop scripts in and mission edit).
#3
07/17/2005 (2:39 am)
Funny you ask this, I was just finishing my GID game today and encountered this very problem. Well, first you need to delete the source code so no one can use it when you ship your product. Basically just leave the example folder and delete everything else. Next, go into the "common" folder in example and delete Editor and Debugger. This gets rid of the world editor...I think. Next, go delete all the .cs files so you only leave the compiled .cs.dso ones. (Note* Make sure you make a backup copy of your Torque project first! Very important! Also, run your project if any changes have been made. You need the newest .cs.dso files if you want your current build.) So after deleting all those .cs files and deleting the editor and debugger along with the source code you're good to go. However, people can still steal your art but now there are ways of encrypting Torque so it crashes their mission when they try to use your stuff. That's fairly new though so I don't know how to do that.

Good luck,
Matt
#4
07/17/2005 (3:18 am)
It's not as easy just to delete the editor folder altogether in the source, you need to remove a few parts of code for that to work as well.
#5
07/18/2005 (6:00 pm)
What are those parts of code and where are they?
#6
07/18/2005 (6:08 pm)
Check out the C:\Torque\SDK\engine\editor directory.
#7
07/27/2005 (3:00 am)
And this is why I'm not a programmer. :)