Game Development Community

Help with this

by Shakey · in Torque Game Engine · 11/14/2008 (10:03 am) · 1 replies

I have started a game based off the tutorial.base game. I have my project set up right. When I am distributing my game for others to see. I delete all the .cs files and only have the .dso files for distributing. I also removed the creator folder from my project as to only distribute the game. The program runs fine, but a small problem I noticed by looking at the console log file, is when I removed the creator folder from the project, it still looks for it and out puts a warning.

Quote:
setModPaths: invalid mod path directory name: 'creator'
--------- Loading MODS ---------
Loading compiled script DeepSleep/main.cs.
setModPaths: invalid mod path directory name: 'creator'
Loading compiled script common/main.cs.
Loading compiled script DeepSleep/client/defaults.cs.
Loading compiled script DeepSleep/server/defaults.cs.
Compiling DeepSleep/prefs.cs...
Loading compiled script DeepSleep/prefs.cs.
Missing file: creator/main.cs!
Error: Unable to find specified mod: creator

I know it is originating from the main.cs, but what part of the code do I get rid of when I don't want the creator folder included.

In the main.cs, where the executable is it says RUn the Torque Creator mode by default, it's needed for editors.

#1
11/14/2008 (10:41 am)
I dont have a copy of torque handy to double check, but it seems like the init.cs file is starting up the creator mod, also if you look in one of your main.cs files, there could be an include to creator/main.cs....


Its really not a big deal if it cant be found...

I am pretty sure its in your init.cs file, but I will double check tonight when I Get off work for you and see if I Cant help you track it down!