Game Development Community

Understanding Torque Maps

by Chris Garrett (CG) · in Torque Game Engine · 04/09/2002 (8:16 pm) · 2 replies

After much reading in the forums/resources, I have been unable to determine a couple of key things that I would like to know about.

I do know that the maps in Torque repeat themselves by default.

Is there a way to turn off repeat, and have control over all the terrain available?

What is the maximum size for a map?

Can you define the boundaries of the map instead of it going on forever?

Thanks in Advance..........

#1
04/10/2002 (5:53 am)
Chris,

1) There is currently no way to turn off repeat, although several people have released source code mods which allow this.

2) The landscape can be any size, however this is only a scale factor. The actual resolution of the landscape is set at 256x256 units in the engine.

3) You can define map boundaries in script (like a wall, etc), or you can setup the collision system to not allow anything outside of the map area. It depends what you want the edge of your world to look like. :)

I'm currently working on a TerrainManager class within Torque which will answer all of your questions. It allows an NxM matrix of terrains and can allow infinite tiling of the matrix.

Here's the thread describing it:
www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=4474

--Bryan
#2
04/11/2002 (3:34 pm)
Not exactly correct Bryan; here is a post on turning off terrain tiling and collision via the mission file:

www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=2471

Perhaps you can work this into your efforts?