Both tools are on the inspector's Map tab, with an MMO World map open.
Terrain from a heightmap
- Under Terrain, set the height white stands for.
- Choose Terrain from heightmap image and pick a greyscale PNG or JPEG.
Black is the ground and white the full height, stretched across the map's Ground size, with the image's top edge to the north. The terrain is shaded grass, earth, rock and snow by height and slope; an image beside the heightmap named <name>_color is draped over it instead.
To start from level ground, choose New flat terrain to sculpt. A map whose terrain is a model of your own can be made editable with Make the terrain model editable, which samples it into a grid.
The terrain shows at once and is one undo step. Save writes it into the map's folder as terrain_height.png and terrain_color.png, the editable copy, and terrain.glb, the model your exporters and other tools read.
Objects placed before the terrain stay at their height. Use Stand everything on it under Terrain to put them on the ground.
Sculpting and painting the terrain
With an editable terrain, the Terrain section shows its grid and height range. Switch on Shape the terrain with the mouse, then drag on the map. Each drag is one undo step, and the terrain redraws when you let go.
Sculpt shapes the ground. Pick what the brush does:
| brush | does |
|---|---|
| Raise, Lower | lifts or sinks the ground under the brush; hold Shift to do the opposite |
| Smooth | evens out bumps and sharp edges |
| Flatten to the first click | pulls the ground toward the height where the drag started |
| Level to a height | pulls the ground toward the height you set |
| Noise | roughens the ground; New noise pattern gives a different one |
| Ramp between two points | lays a straight slope from where the drag starts to where it ends |
Brush radius is in metres. Strength is how far Raise, Lower and Noise move the ground with each dab, in metres, and for the others how much of the way to their target each dab goes. The falloff sets how the brush fades toward its edge: smooth, linear, sphere or constant.
With Keep objects standing on the ground on, props, spawns and other objects that stood on the terrain stay on it as you reshape it, in the same undo step. Stand selected on it and Stand everything on it put objects on the ground at any time.
Paint colours the ground. Pick a colour from the swatches or set red, green and blue, then the opacity and hardness. A stroke never builds past its opacity where it crosses itself. Colour by height and slope shades the whole terrain grass, earth, rock and snow again, which replaces what you painted.
Stop editing the terrain keeps the map's terrain model but stops Save from rewriting it.
The grid holds at most 257 points a side, so on a large map they can stand metres apart, which the section shows. A brush narrower than that spacing changes little; make it wider. Making a model editable samples whatever is under each point from above, so props standing on it are sampled too.
Using your own terrain model
Any model file in the map's folder can be the terrain: set Terrain model to it. The map is drawn on it, objects snap to it, and the walkable area is sampled from it. While the map has an editable terrain, that is drawn instead, and Save writes it to terrain.glb.
Walkable area
Under Walkable area:
- Set the cell size.
- Set the steepest slope a character can walk and the highest step it can climb.
- Choose Generate from the geometry.
Studio samples the map and writes a grid named walk, where blocked cells are marked. Paint it to correct it (see The inspector and grid painting), then save. Your exporters read the grid for your server's pathing.
The grid samples only the top surface, so under a bridge or a building's upper floor the ground below is not walkable unless you paint it.