Game Development Community

Should I change these invalid paths?

by Joe Bestor · in Torque Game Builder · 03/16/2005 (8:41 am) · 4 replies

$currentEffectFile = "T2D/client/effects/";  // set current effect file

   $currentEmitterFile = "T2D/client/emitters/";   // set current emitter file

Found in my torque 2d installation, c:\torque 2d\sdk\example\particleeditor\client\editor.cs

#1
03/16/2005 (9:50 am)
Why are they invalid Joe?

- Melv.
#2
03/16/2005 (10:21 am)
Thinking they could have been:
$currentEffectFile = "particleeditor/client/effects/";
$currentEmitterFile = "particleeditor/client/emitters/";

Like done in c:\torque 2d\sdk\example\tileeditor\client\imageselection.cs
// Directory where brushes are stored.
$currentBrushDirectory = "tileeditor/client/brushes/";

// Directories to find maps/layers.
$currentMapDirectory = "tileeditor/client/maps/";
$currentLayerDirectory = "tileeditor/client/layers/";
#3
03/16/2005 (10:26 am)
To be honest Joe, you can position them wherever you want them. To be consistent, you're probably correct having them there.

We're using the awful "getLoadFilename" and "getSaveFilename" default dialogs from the TGE which are pretty non-user-friendly. These are primarily for those but we'll be changing these dialogs as they are pretty naff. You should be able to browse much easier and load/save your stuff wherever you like.

I'll probably do that change soon though.

Thanks.

- Melv.
#4
03/16/2005 (10:58 am)
Thanks Melv!