Game Development Community

Create new terrain file through script?

by Dave Calabrese · in Torque Game Engine · 11/10/2006 (3:42 pm) · 2 replies

Awhile ago, I could swear I saw a function that you could run which would create a new, flat, blank .TER file. I've spent some time sifting through lots of manuals and code, yet I now can't find that anywhere. I'm working on something where I want the game to be able to basically be able to dynamically create a .TER file, then the .MIS file, save it all and load it up. I've got the mission part down fine (that's easy), but making the blank terrain (or copy/pasting an existing one through code) seems to be escaping me.

Any thoughts? Anyone know that function I might be thinking of?

#1
11/13/2006 (8:37 am)
Lack of responses I guess means either this got lost in the other daily posts, or there really isn't any way to create a basic terrain file in TGE, and one must always copy/paste an existing one... bleh. Okay, if that's the case, I'll have to work with that, then.
#2
11/13/2006 (8:46 am)
You could probably do a direct copy of a template .TER file through code without too much trouble.