Using a room as a level instead of the hightmap
by BigPapa · in Torque Game Engine · 03/19/2005 (10:13 pm) · 5 replies
Hello gang,
I've been reading the forums for while now looking for answers to my question but i'm not getting exactly what I need.
What I want to do is design a room in Quark, Milkshape, Deled or any other tool and use that room as my world. Whenever I create a new mission in the mission editor, it auto generates a hightmap. I don't want to use this hightmap and was wondering if I can eliminate it completly.
The closest thing I found was the following thread that basically suggested creating a large flat surface to cover the hightmap. It sounds ok but if I can remove the entire hightmap i think it would be even better.
Here's the thread i mentioned:
http://www.garagegames.com/mg/forums/result.thread.php?qt=24821
Thanks in advance.
I've been reading the forums for while now looking for answers to my question but i'm not getting exactly what I need.
What I want to do is design a room in Quark, Milkshape, Deled or any other tool and use that room as my world. Whenever I create a new mission in the mission editor, it auto generates a hightmap. I don't want to use this hightmap and was wondering if I can eliminate it completly.
The closest thing I found was the following thread that basically suggested creating a large flat surface to cover the hightmap. It sounds ok but if I can remove the entire hightmap i think it would be even better.
Here's the thread i mentioned:
http://www.garagegames.com/mg/forums/result.thread.php?qt=24821
Thanks in advance.
#2
I can try just covering the terrain with a large planar surface but if I can get rid of it all toghether then even better.
I'll keep looking for those threads.
Thx.
03/19/2005 (10:42 pm)
I'm modifying the sample racing game to be a street racing game. I just don't want to have to load a resource that will have no value and will not be seen.I can try just covering the terrain with a large planar surface but if I can get rid of it all toghether then even better.
I'll keep looking for those threads.
Thx.
#3
e.g1 pic http://holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/terrain/img/t_terraform_menu02.jpg
e.g.2 pic http://holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/terrain/img/t_terraform_menu03.jpg
You will see either the Terrain Block or your "heightmap" whichever you have used for your terrain. You could just select either of these dependant on which is being used and just delete it. There is a nice tutorial i spotted here which the images are from and i suggest you give it a look as its helped me with most of my initial start tests.
http://holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/
I'm sure this also explains the removal of code (blockforterrain) if you want to do that also but the terrain will no lnger be used if you remove it. Hope this helps as i just spotted this thread and something i also have recently been doing.
03/20/2005 (5:39 am)
Hello Papa, if you goto your Terrain Editore.g1 pic http://holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/terrain/img/t_terraform_menu02.jpg
e.g.2 pic http://holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/terrain/img/t_terraform_menu03.jpg
You will see either the Terrain Block or your "heightmap" whichever you have used for your terrain. You could just select either of these dependant on which is being used and just delete it. There is a nice tutorial i spotted here which the images are from and i suggest you give it a look as its helped me with most of my initial start tests.
http://holodeck.st.usm.edu/vrcomputing/vrc_t/tutorials/
I'm sure this also explains the removal of code (blockforterrain) if you want to do that also but the terrain will no lnger be used if you remove it. Hope this helps as i just spotted this thread and something i also have recently been doing.
#4
Don't forget to add the plane because otherwise the player will fall...
03/20/2005 (7:51 am)
You can easily throw away the heightmap by editing the .mis file with a texteditor (like notepad) and delete the TerrainBlock (usually from 'new TerrainBlock' line to the next closing curled brace).Don't forget to add the plane because otherwise the player will fall...
#5
@Archies - I will also try your suggestion.
Thx guys.
03/20/2005 (3:10 pm)
@dirkk - I commented out the Terrainblock and that did the trick.@Archies - I will also try your suggestion.
Thx guys.
Torque Owner GregM
I have one question though.
Do you really need to delete the terrain block at all?
If your players are all in the room does it matter what's outside? I suppose if you have windows to look out of and don't want them to see terrain then that's an issue. For instance if your level takes place on a starship with large portals/windows to gaze out at the stars from then you wouldn't want funky mountains and such in the view, but for a dungeon or cavern just ignore the terrain or place the room beneath it.