Game Development Community

DifView for 3dws and TGE

by Brandon Maness · in Torque Game Engine · 10/19/2005 (12:57 am) · 2 replies

I couple of people had mentioned doing this, but I got tired of waiting and had an hour or so to burn, so here is a link to the quickClip video tutorial, and .rar project file. I think it is about 2 meg.

torque.smdlabs.com/media/freeTutorials/quickClips/difView.htm

I just modified the Tutorial.base project to load the dif you exported into a dynamically generated .mis file upon export. The only thing you'll need to add is your Torque.exe. If you want interior debug rendering, then compile a debug build of TGE.

Here is a quick list of some things I added:

-Preloaded f11 editor so it does not stumble the first time you press it.

-Player, and terrain left in so you can run through your dif to make sure it works properly.

-Slowed down the default camera speed so you are not going 300 mph when you press 'wasd'

-Included the interior debug render dialog GUI resource

-Quickly close TGE by pressing 'escape' and 'enter'

-Automagically generated .mis file based on mapname that has the .dif and any .dts shapes in it.

-If the export mapname$ matches an existing automatically generated .mis file, then it is loaded, and saved on exit.

I think that's most of it, this didn't take long, so don't expect it to scratch your back or anything. :)

B--

#1
10/19/2005 (10:02 am)
Thanks, you made my ToDo list shorter. I will check this out tonight. On a side note, I thought that this would be a nice feature for TST, but I guess since Contructor is coming out soon, there woun't be a need.
#2
10/19/2005 (2:22 pm)
UPDATE:

Today I realized that I had not done any work on streamlining the DTS situation.. oops!

Ok, so I've updated the download to 0.2, and updated the quickClip video tutorial so that it covers the changes.

Here is a summary of the DTS workflow:

-When you export your .map file it will take the name you called the map, and create a new Torque .mis file with that name. This will allow you to have a unique mission file for each dif interior.

-When you exit from Torque any changes you've made to the mission will automatically be saved to that dif specific mission file.

Simple as that. If you'd like to see it in action, just watch the quickClip video tutorial.

B--