ZTerrain Help

General GrubberSoft discussion. [Home]

Moderator: grubber

User avatar
grubber
The Birthgiver
Site Founder
Posts: 230
Joined: Wed Jun 29, 2005 18:57
Location: Czech Republic, Zlin
Contact:

ZTerrain Help

Post by grubber » Thu Jul 07, 2005 12:13

[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)

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

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

-floor file
Generates floor terrain from specified file.

-floorz x
Specifies basic floor height - height of heightmap color #128. (default 0)

-floortex texture
Textured used to cover floor terrain. (default RROCK19)

-ceiling file
Generates ceiling terrain from specified file.

-ceilingz x
Specifies basic ceiling height - height of heightmap color #128. (default 128 x height)

-ceilingtex texture
Textured used to cover ceiling terrain. (default RROCK19)

-lighttype type
Affects light level of terrain (default 0).
Types:
0 - static
1 - floor-height generated
2 - ceiling-height generated

-light x
Basic light level. For light type 0 specifies light level of whole terrain, for light types 1&2 specifies light level of heightmap color #255. (default 192)

-light1 x
Alternative light level. Used with light types 1&2, specifies light level of heightmap color #0. (default 64)

-surface tag
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)

-surfacez x
Specifies surface height. (default 0)

-help
Displays quick info about how to use ZTerrain.

Return to “GrubberSoft”