Game Development Community

General World Editor Questions

by John LeClair · in Torque Developer Network · 10/15/2008 (6:23 am) · 1 replies

I know i am going to get flammed, being a TGE noob, but I seem to be stuck with a problem in using the World Creator.
I decided to modify the CPdemo1 (the thick forest and rain) first person shooter mission to learn the World Creator tools.
Perhaps I have been writing device drivers too long and have gone totally narrow minded, but i am just not grasping some of the editor basics.

I added a underground military base (from Lighting System Feature demonstration Mission) interior Instance (data\interior\lightingPack\demo4.dif) in the middle of the forest. Think of it as an underground military base camoflaged in the middle of the forest.

Here are my problems I am seeing.
1) Trees are growing through the inside of the base.
2) Storms are seen inside the base.
3) If I try and cover the base up with dirt using the terrain editor, the dirt (or snow if i try and edit the Barebones mission with the same demo4.dif added) fills in the tunnel.
4) if i excavate, then the military base is uncovered.


My questions (if i havent completely put you all to sleep yet):
1) Perhaps I need to create in a different order. First terrain, then interiors, then foliage, etc..
2) Is their a way to cover the interior military base without filling in the tunnel or have trees growing through the tunnel ?
3) Is their any way to import the simGroup (base) from "Lighting System Demonstration mission" file to the "CPdemo mission" ? Such that I get not only the .dif interior but the steam, spots, and pipes ?
I imagine that a [x y z] reference point in the new mission would need to be determined, and then the absolute reference points in the original simGroup and all items would needed to be translated relative to the new mission coordinates. Does a tool exist ?

Thanks for any input.
John Le Clair

#1
10/15/2008 (7:04 am)
If your interiors are portaled correctly, you shouldn't be seeing terrain inside of them. However, you will want to remove any terrain faces (set empty) inside of the interiors to avoid collisions with invisible terrain. Make sure the ShowTerrain is not checked in the options for your interior. As for trees and such, make sure that they are not placed far enough below the terrain so as to interfere with your interior. You should also use set empty around the base entry of the interior. Getting it right can be annoying depending on the terrain. Often times people will decorate tunnels with either DIF or DTS geometry to make the transition more seamless. If your interior is portaled and has no leaks, you shouldn't be having a problem with precipitation or weather effects in the interior.