All construction units and Nano Turrets can modify the terrain in Zero-K. Terraforming costs energy, metal and time.
The simplest way to use terraform is to hold left mouse while placing a structure. This allows you to place the structure higher or lower.
See Structure Placement for more information on structure terraforming.
Structure terrforming controls can be changed in the menu: Settings > Interface > Building placement.
There are also 5 terraform commands found under the 'Special' tab in the menu:
Note: Right Click at any time during the terraform will cancel the command (so will mousewheel movement, that's a bug though).
Interface: Lasso Selection
Level, Raise, Smooth and Restore have the same interface for selecting the effected area. They differ in what they do to the terrain.
Left click on the ground and hold the mouse to start drawing a line. Drawing the area selects the area to be terraformed. If the end of the line is close to the start when the left mouse button is released the area inside the loop will be terraformed (like lasso selection), if the ends are far away the drawn line will be terraformed (good for making walls).
If you are using Smooth or Restore the command will be given when you release the mouse. If you are using Level or Raise you will have to chose either which height to level to or how much to raise the land. This is done by moving the mouse up/down then clicking when it looks like it is at the desired height.
Effects of Terraform and Modifiers
Here are the effects of Level, Raise, Smooth and Restore. The modifiers Alt and Ctrl can be held during the Height Choosing phase of the Level and Raise commands for more height choosing control.
Level will move the terrain in the area to exactly the same height, the result terrain will be flat. For example a hill could be flattened.
Hold Alt to snap to either the starting height, just below water level (so that ships can't pass) or the level just below water level that land units cannot pass (23 deep).
Hold Ctrl and move the mouse to select the height to be levelled to from terrain by mousing over the terrain.
Tap Space to cycle through only raise or only level. This limits the terraform to either take away or add terrain instead of a mix of both. Can be toggled during lasso stage.
Raise raises or lowers the terrain in the area by the same amount, the relative height of the terrain within the area is not changed.
Hold Alt to snap to heights by steps of 15. A 15 high (or deep) wall (or trench) will be impassable to vehicles but passable to bots. A 18 high wall will be impassable to most common bots. A 30 high wall will be impassable to everything except spiders.
Press Ctrl to reset the height to 0.
Smooth smooths the terrain, cliffs become less sharp.
Restore reverts the height of the terrain to what it was at the start of the game.
Tap Space to cycle through only raise or only level. This limits the terraform to either take away or add terrain instead of a mix of both. Toggle during lasso stage.
"Advanced" Area Selection
For easier terraforming, alt and/or ctrl can be used to modify the way the lasso command is given.
Hold Alt while clicking to terraform a rectangular area.
Hold Alt and click on a building or unit to create a wall around that unit.
Hold Alt + Ctrl while clicking to create a hollow rectangle of terraform.
Hold Ctrl at any time during line drawing to create a straight section of line. Straight and non-straight lines can be mixed by pressing and releasing Ctrl.
The ramp command interface is different from that of the other terraform commands.
First select the Ramp command from the command menu.
This is a simple way to make a ramp between 2 points on the ground. It uses exactly the same interface as advanced ramp but it can be unclear how to make a simple ramp just from the explanation of the full features of advanced ramp.
- Left Click the start of the ramp
- Left Click the end of the ramp
- Left Click again
Using the full ramp interface you can make a ramp between any 2 arbitrary points above or below the terrain and chose the width of this ramp.
Left Click on the ground to set the start of the ramp. If you want to choose the height of the start of the ramp hold the click and move the mouse up or down. A little green line will appear out of the ground to indicate the height. The default height is the ground height, release the mouse to select the height.
Hold Alt when choosing the start height to snap to the original ground height or just below water level(helpful for getting hovers out of the water).
Then Left Click on the ground to set the end of the ramp. As with the start of the ramp, you can hold the mouse and move to choose the height.
Hold Alt when choosing the end height to snap the gradient of the ramp to either upwards bot pathable, upwards vehicle pathable, flat, downwards vehicle pathable, downwards bot pathable, the original ground height or just below water level .
Move the mouse up/down (not held down) and click to set the width of the ramp. Then Left Click to build it.
The ramp colour indicates whether all units will be able to use it, if vehicles/tanks will not be able to use it and if only Spiders can use it.
Optional: Tap Space to cycle through only raise or only level. This limits the terraform to either take away or add terrain instead of a mix of both. Can be toggled at any stage during the ramp command.
Terraform by default costs 1 metal, energy and build power to raise or lower 1 heightmap grid, each vertex of the blue grid maps onto a point on the heightmap grid. Due to the sloped sides it will be costly to make a very high spire. Equal volumes of terraform will have the same cost regardless of shape. Cost can be changed with the "terraform cost multiplier" ModOption.
As a general guideline, assuming the base value for terraforming cost, creating a 15 deep wall (or trench) will cost roughly 19 resources per 'segment'.
Building a "skydust" (i.e. Stardust on a pillar) costs about 50 resources for a 50 height pillar, or 85 resources for 100 height.
Buildings cannot be moved vertically. If you want to put a Fusion in a hole for safety the hole will have to be built before the Fusion.
Because buildings cannot move vertically they can be used to stop walls being terraformed by the enemy.
You can use terraforming to make a trench or wall underwater to stop amphibious bots.
Terraform ramp can be used with Newtons to fire units at the enemy!
To set hotkeys for terraform commands, navigate into the game menu and look under hotkeys for Levelground, Raiseground, Rampground, Smoothground and Restoreground.