[tag=path]Doom/ZTerrain/Help[/tag]At first you have to draw the heightmap. It must be grayscale 8bpp BMP. Also note that if you want to create e.g. 64x64 terrain, you have to use 65x65 heightmap, because each heightmap pixel specifies height of one vertex, not sector.

Basic usage: ZTerrain [options] [output]

You can specify several options:
(note: they are case-sensitive)

-sizex
Specifies size of one block. It's a distance between pixels of heightmap in mappixels. (default 256)

-heightx
Specifies height of one block. It's a height of one heightmap pixel in mappixels. (default 16)

-surfacetag
Tag sectors whose floor is below surface height. If ceiling is also below surface height, the sector will be tagged tag+1. Then you can use e.g. Transfer_Heights to create water surface. (default 0)