Generating Terrain with PnP TerrainCreator

From Multiverse

Jump to: navigation, search

PnP TerrainCreator is a modern heightmap based editor for interactive and automated terrain generation. See http://www.pnp-terraincreator.com/ for downloads and more information.

Procedure

To generate terrain with PnP TerrainCreator for use with Multiverse:

  1. Export your terrain as 24bit bgr PNG files.
  2. Run the MV Mosiac Creator and load one of the heightmap files.
    • Set tile size to whatever you exported the heightmaps as (so probably 1024) and set meters per pixel to something like 1m per pixel.
    • Check the Heightmap button and set the altitudes to minumum:0, maximum:20000
    • Save the mosiac.
  3. Open up the .mmf (the mosiac file) with a text file editor (like PSP Pad) and alter the values as needed:

For example:

L3DT Mosaic master file
#MosaicName:   Pagon
#MosaicType:   XXX
#FileExt:   png
#nPxlsX:   2048
#nPxlsY:   2048
#nMapsX:   2
#nMapsY:   2
#SubMapSize:   1024
#HorizScale:   1
#WrapFlag:   FALSE
#UnifiedScale:   TRUE
#GlobalMinAlt:   0
#GlobalMaxAlt:   20000
#TileState:   0   OK
#TileState:   1   OK
#TileState:   2   OK
#TileState:   3   OK
#EOF

Change the following lines to match your setup:

  • nPxlsX: 2048 (you get this number by going SubMapSize*how many tiles across your world has)
  • nPxlsY: 2048 (you get this number by going SubMapSize*how many tiles up your world has)
  • nMapsX: 2 (how many tiles across)
  • nMapsY: 2 (how many tiles up)
  • TileState: 3 OK (you need as many of these as there are tiles, so if you have 10 tiles, you need to go upto 9).
Personal tools