Game Development Community

Remove terrain

by Telmo Menezes · in Torque Game Engine · 01/07/2005 (9:54 am) · 7 replies

How can I remove the terrain from a mission? I tried deleting the object on the editor, tried unlocking it and then deleting and nothing happens...

I'm not talking about removing textures or making it plan, I actually want to have no terrain in the mission.

Regards,
Telmo Menezes.

#1
01/07/2005 (11:07 am)
It's not possible in the editor itself. You can however, delete it from the .mis file and no more terrain. :)
#2
03/06/2007 (4:50 am)
I tried removing the terrain file from *mis file, But My code crashed. What I want to do is either make my own terrain or make the existing terrain completely flat. Any suggestion or help.....
#3
03/06/2007 (5:21 am)
You can easily make it flat.
Go to the terrain editor, and pick that you want to use a terrain file.
Then dont choose any and hit apply.

This will flatten the terrain.
#4
03/07/2007 (5:07 am)
@Daniel
not entirely true. A friend of mine actually just deleted it when i was in his server. He also deleted the sky. This was in torque 1.5. But i do remember older torque versions crashing when you did that. It seems torque 1.5 doesnt mind about the terrain.
#5
03/07/2007 (5:33 am)
Sky and terrain are ScopeAlways objects, and if you delete them on the server you will get a fat crash because sky holds quite a bit of important information for scoping (that should not be there, but that is not the point) and visible distance.

Deleting the TerrainBlock within the .mis file should not pose any problems.
#6
03/07/2007 (6:34 am)
Then why didnt it crash for us that time? (it seems it only happens sometimes...). Yes, the sky is all messed up with the mirror effect.. which is very common when there's an unlimited view in dx and opengl. But other then that, it was really fine. We only left 1 dif cube shape to stand on, the rest got deleted. It was fine.
#7
03/07/2007 (7:06 am)
How should I know why your friends server or client does not crash all the time when he does something strange? Step trough the debugger and check it out :) Deleting sky was probably not inteded when it was designed, and you can expect odd behaviours because of that.