Skip to content

Terrain

leszekd25 edited this page Jan 28, 2020 · 5 revisions

Terrain editor mode

Terrain mode has 3 submodes: Heightmap, Lakes and Flags.

Heightmap

Terrain is built from a heightmap. This editor mode allows you to edit the heightmap and see the effects on terrain immediately.

User interface

enter image description here

Brush settings

You use brush to paint on terrain - whether it's height paint, texture paint, or anything else.

Size

Radius of the brush. The larger the size, the bigger the area affected by brush.

Shape

Currently, brush supports 3 shapes: Square, Circle, Diamond. Circle is the default shape, and is usually enough for most cases.

Strength/Value

Depends on draw mode (see below)

Interpolation mode

There are 4 interpolation modes for painting brush, all of which affect relative strength of the brush in the painting area: Constant, Linear, Square, Sinusoidal.

enter image description here

Draw mode

Heightmap editor has 5 sculpt modes available to shape the terrain.

Add/Subtract

enter image description here

Add mode simply adds height to existing terrain. Subtract mode takes that height away. Strength denotes the height displacement at the center of brush on a single stroke.

Set

enter image description here

Set mode sets height at a desired value. Interpolation mode does not apply. Value denotes the height the terrain will be set to.

Smooth/Rough

enter image description here enter image description here

Smooth mode smooths out/roughs up terrain, diminishing/attenuating irregularities. Value denotes how much the terrain will be smoothed out/roughed up in a single stroke, and should be a value between 0 and 100.

Inspector

This mode does not have an inspector.

3D display controls

You can use Left Mouse Button or Right Mouse Button to modify terrain.

  • Add mode: LMB to add terrain, RMB to subtract terrain
  • Set mode: LMB to set terrain, RMB to probe terrain (get height value)
  • Smooth mode: LMB to smooth out terrain, RMB to rough it up

Additional information

Terrain height can't be lower than 0 or higher than 65535. Terrain with height 0 denotes area submerged in ocean and is impassable.

You can't modify terrain under a lake.

Lakes editor mode

This mode is very simple. It allows you to add and remove lakes, and to change lake types.

Inspector

enter image description here

Lake type

You can change appearance of selected lake by changing its type. Available types: Water, Swamp, Lava, Ice.

Internal depth

Read-only. Depth of selected lake at its deepest point.

3D Display controls

Use LMB on a terrain which is not submerged in lake to create a new lake. The lake will flood all neighbouring terrain below the terrain at 3D cursor position. If the terrain is flat as a pancake, the water will have nowhere to go, and the lake will not be created. Therefore, you should click on sloped terrain for desired results. Any existing lakes which make contact with the new lake are assimilated into the latter.

Use LMB on a terrain submerged in lake to select that lake.

Use RMB on a terrain submerged in lake to remove that lake.

Use RMB anywhere else to deselect any selected lake.

Terrain flags editor mode

While terrain tiles (see Textures mode) can have optionally set movement and visibility flags, you can set custom flags in this editor mode. This is sometimes a necessity - many objects in game don't have built-in collision mesh and units would simply pass through these objects, were it not for the custom flags.

User interface

enter image description here

Brush settings

You use brush to paint on terrain - whether it's height paint, texture paint, or anything else.

Size

Radius of the brush. The larger the size, the bigger the area affected by brush.

Shape

Currently, brush supports 3 shapes: Square, Circle, Diamond. Circle is the default shape, and is usually enough for most cases.

Flag type

There are two modes: Movement and Visibility. You can set custom flags depending on which flag mode you are in.

Flag colors

Tile movement flags are maroon. Custom movement flags are bright red. Custom visibility flags are bright yellow. If a tile is affected by both visibility and movement flag, it turns orange. As for now, there are no tile visibility flags - it appeared that not a single official map uses those.

Inspector

This mode does not have an inspector.

3D display controls

Use LMB to set custom flags on terrain according to flag mode. Use RMB to remove custom flags from terrain according to flag mode.

Weather

TODO : )

Written with StackEdit.

Clone this wiki locally