Game Development Community

Excluding certain files from compiling?

by Dave D · in Torsion · 07/31/2007 (10:18 am) · 5 replies

Is there a way to exclude certain file from compiling, yet still have it available to edit in the editor? I have several files that I use for dialogs and what not, every time I start to debug, Torsion tries to compile them. I really don't want to use a different editor since Torsion does a great job already. The compile errors don't really affect anything, just annoying.

#1
07/31/2007 (2:52 pm)
If these are not TorqueScript files or not valid TorqueScript files why not give it a different file extension.
#2
07/31/2007 (3:36 pm)
I tried that and then it opens in another editor. When I try to change file associations, Torsion drops an error:

"The file 'C:\Torque\myGame\myPathToFile\test.dlg' is not a script or text file type!"

It is a text file.
#3
07/31/2007 (3:53 pm)
The issue is your trying to force Torsion to edit generic text files. If it could easily be used to edit text files i would have made that a standard feature. It isn't setup to be a general purpose editor at the moment although i intend to fix that in a future version.
#4
07/31/2007 (8:34 pm)
Thanks, I look forward to future releases.
#5
10/16/2008 (2:17 pm)
I need to exclude a .cs (C#) file from compiling in torsion and I really cant move the file is there any way I can exclude it?
Thanks