Game Development Community

Custom Interior Crashing Demo

by K · in Torque Game Engine · 02/09/2008 (11:18 am) · 6 replies

I'm running the demo version (1.5.2) of Torque, and it keeps crashing when I try to add a custom interior to it. I get it into the World Editor fine, but as soon as I try to relight the scene or enter (collide with) it, that's when it crashes.

#1
02/09/2008 (12:03 pm)
What did you use to create the interior?
#2
02/09/2008 (1:38 pm)
I exported it from Torque Constructor.
#3
02/10/2008 (4:48 pm)
Kenny - did you get the 1.04 update? if not, go to the constructor TDN page, and get the update and try again.
If you ARE using the update, I'd like to see if I could duplicate the problem. Email me the csx file, and I will see what I can do.

Jaimi
#4
02/10/2008 (5:59 pm)
I just got the update, now when I try to export it I get a message that tells me there's no detail brush defined. What I was hoping was that I could just load in the .dts file (because I prefer working in blender) and export it. I did check out the detail brush article one the TDN, but I don't completely understand what it's trying to say.
#5
02/10/2008 (6:10 pm)
The error that you are seeing says "Error exporting detail level 0. No brushes are defined. A brush is required when exporting to dif".

What it is trying to say is that you have to have at least one "brush" in your scene, this is so it can create the tree that is needed for rendering. (the DTS objects are "details", and do not help define the tree).

DTS files are not meant to be used for the main geometry of your interior -- you can put DTS files directly into the world editor without exporting to dif. However, they do get lightmaps to make them look nicer, so I can understand why some people do it. Beware that dynamic shadows won't cast on them if you export them in a DIF, though.

To fix this, just add a brush to your scene. Make it small and hide inside something.
#6
02/10/2008 (6:11 pm)
PS - a "brush" is one of the Primitives (cube, pyramid, ramp, etc)