Making A Cave - NemPosted: May 26th, 2003 - 11:03:17 pm

In this sample tutorial I will describe one of the best ways to create a cave in Terrain Generator. This tutorial also shows the general use of the Raise/Lower and Touch-Up tools as well as the smoothing pass.

First off we need to generate our starting terrain. Because this is only a small cave I chose 12 * 12 dimensions with the Length set to 128 units. Don't use any of the other generation options for this step.

Once you've got the terrain ready select the 'Touch-Up' tool. With it lock all the vertecies that you don't want to use for your cave, ie outline the shape of your cave by locking all the vertecies outside of it. To lock a vertex simply press the 'L' key when you have it highlighted. You can cycle through the selected vertex in a square by rolling your mouse wheel. Also locking lots of vertecies tends to slow the program down, to fix this you can choose not to highlight locked vertecies in the 'View-->Highlight' menu. Your final outline should look something like this:

Next alter the heights of the vertecies on the border of the outline with the 'Touch-Up' tool so that they form a uneven outline. Note you can use the 'Page Up' and 'Page Down' keys for greator control:

Now were going to make the bottom half of our cave. With the Raise/Lower tool make a rough outline of the shape of the caves base. Next run it through a smoothing pass (in the 'Map' menu) this will give you a good smooth general shape to work off of. Finally add some roughness back into the terrain with the 'Raise/Lower', 'Noise', or 'Touch-Up' tool (up to you). Your result may look something like this:

Now that the bottom of our cave is complete were ready to export it. In the 'File-->Export' menu select the 'Exportation Options'. I'd recommend you use the 'Best Fit' style and uncheck the 'Hints' and 'Sky Brushes'. Also make sure for the 'Direction' you have 'Flatten Bottom' selected. Now that your ready export it using the 'Export to .MAP File' command:

Next were going to take the terrain we made for the bottom of the cave and reuse it for the top. Simply take the 'Raise/Lower' tool and following the steps used before do the same thing only make it a hill instead of a valley. Your finished result may look something like:

Again were going to export the terrain only this time were going to set the 'Direction' to 'Flatten Top'. Once you've done that export the terrain again (only to a different file):

For this next step I'm going to be using the QuArK editor. However, this step does not require any special features and simply reading what I write should be enough for you WorldCraft users to follow. Start a new map in your editor and copy and paste the cave bottom and cave top into it. Then simply align the two together (because we locked the outer vertecies it'll be a perfect fit)! It should look something like this when your done:

Next we can clean it up a bit by deleting any unused triangles:

And last but not least we'll add some funky lighting, a walkway, and stick a little hole in the roof for looks. This is what my finished terrain looked like in Half-Life. Not bad eh?





I've uploaded my finished map so you can take a look at it. Unfortunately the map is phrased in QuArK which means WorldCraft users will lose some texture alignment data when they view it. You can get it here (23kb zipped).

Modified: Jul 2nd, 2003 - 11:32:38 am[ 55193 Views ]

[ 1 2 ]

16. TheFailWhalePosted: Jan 29th, 2011 - 5:45:34 pm
Hello, I am trying to put the files together in QuArK, but I can't figure out how( exhausted ). Any help would be appreciated.

[ 1 2 ]

You must be logged in to post a comment.
New users can register here.
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.021906s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS
π