Skip to main content

Affecting Landscape Height

How a Path interacts with the landscapes depends on the Landscape Adjustment settings in the PathDescription and PathTemplates.

1. Landscape Layer

Errant Paths should use a separate Landscape Layer for modifying the landscape to avoid different tools/plugins writing over the same data. Different Paths can even use different layers, if needed. The layer which is used by a Path is set in the PathDescription asset in Landscape Layer property.

image

note

The Landscape Layer used by Errant Paths should be placed above (before) the layers used by Errant Landscape and Errant Biomes. We warn about this issue when we detect that the layer used by Paths is not the first layer.

It's safe however to have a layer used for manual sculpting above (before) the Errant Paths layer. The warning will still be shown, but can be safely dismissed.

image

2. Setting up height adjustment in a PathTemplate

Landscape adjustment can be setup for any PathSpline, SplineMesh or StaticMesh in the PathTemplate. We recommend adjusting landscape to PathSplines as it leads to smoother results.

The video shows creating a new LandscapeBiomesAdjustmentProperties asset, setting it for a PathSpline and then configuring adjustment to spline.

3. Adjust Strategy settings

Inside the AdjustStrategy, you can tweak several settings:

Operator - decides how to resolve the landscape adjustment against the existing landscape and other Paths. In Auto mode, the Path can both raise and lower the landscape in different areas. In Max mode, the Path can only raise the landscape. This mode is useful when making tunnels. In Min mode, the Path can only lower the landscape. This mode can be useful when creating rivers that intersect each other.

Offset - offsets the landscape up or down relative to the Path.

Lateral Expand - controls the width of the central part of the landscape adjustment.

Lateral Falloff - controls the width of the fade out area between the central part of the landscape adjustment and the normal landscape underneath.

Longitudinal Falloff - controls the length of the fade out area before the Path starts and after the Path ends.

Elongation - decides how much the landscape adjustment extends from the Path at its start/end, longitudinally.

Lateral Expand Shape Curve - controls the shape/height of the landscape adjustment cross-section.

Value in the X axis are expected to be in the range of <-1,1>. Curve points outside that range are ignored.

Lateral Influence Curve - controls how much falloff is applied at a Path's cross-section.

Values on the Y axis are expected to be between 0 (no adjustment) to 1 (full adjustment).

Value on the X axis:

  • <-3,-1) - left side
  • <-1,1> - central/expand region
  • (1, 3> - right side.

Curve points outside the range of <-3,3> are ignored.

Longitudinal Influence Curve - controls how much falloff is applied before the Path starts and after it ends.

Values on the Y axis are expected to be between 0 (no adjustment) to 1 (full adjustment).

Value on the X axis:

  • <-3 to -1) - influence before the Path starts.
  • [-1 to 1] - unused area
  • ( 1 to 3] - influence after the Path ends.

4. Overriding settings in the PathDescription

PathDescription has a Landscape Adjustment Overrides section which allows to override the Landscape Adjustment properties for the whole Path.

You can disable Landscape Adjustment for Path Splines or Components by un-ticking the relevant boxes. You can also apply modifiers to the Expand, Falloff and Offset properties in the AdjustStrategies.

image

5. Multiple landscapes

Path adjusts height and weightmaps of every landscape that is beneath it, as long as the specified in the PathDescription "Landscape Layer" is present there.