Skip to content

Creating a world from an image

rutgerkok edited this page Oct 20, 2012 · 23 revisions

Under Construction. Any help is welcome. For now, use this tutorial by mysource

Shaping your world can be difficult. Rivers always generate in the wrong place, islands are not where you want, your mountains don't look good enough. Sure, you can achieve a lot with all the biome options. But Terrain Control also has a feature to generate your biomes from an image. With this feature you can take complete control over your world. However, you can also use the normal biome mode and then use a image to do some small map improvements.

## Pros and cons

The pros:

  • Complete control over your biomes
  • Much easier to work with
  • Can be used to produce custom (adventure?) maps

And the cons:

  • Images are not infinite, you must fall back on another biome generator when you are outside the image.
  • No random biome combinations: biome placement looks as good (or as bad) as you have painted it.
  • Has some quirks which are described below.

## Creating an image

In each of the BiomeConfigs there is a BiomeColor variable. This variable is the hexadecimal color of the biome. It's not only used as the output color in the /tc map command, but also as the color in the input image. Exactly this color should be used in the image to let the biome spawn there. On the Biome Placement page there is a color chart with the colors of the vanilla biomes. For each custom biome you should change the BiomeColor from 0x000000 (black) to another color.

Each pixel on the image represents 4x4 blocks. As said above, the color in the image must be exactly the BiomeColor. Most brush tools of the photo editors won't work, as they change the color to another one:

TODO: picture of misused brush tool

Another common error is to resize the image without disabling anti-aliasing:

mysource's image explaining how to correctly resize images

mysource's image explaining how to correctly resize images

## Letting Terrain Control generate it properly

Work in progress

## Using ContinueNormal and /tc map to do some small map improvements

Work in progress