Terrain Copy Out operator

The Terrain Copy Out operator can be used to copy a terrain out to another event.


Terrain

  • Grid names: terrain grids with matching names will be copied.

Rename

  • Add suffix: when enabled, copied grids will have the specified suffix appended to their name.

Operation

  • Operation: controls how grid cell values for matching grids in the target event will be merged with the grid being copied out.

  • Target terrain name must match: grids in the target event will only match with the grid being copied out if their names are identical.

  • Target terrain transform must match: grids in the target event will only match with the grid being copied out if their transforms are identical.

If a matching grid in the target event is not found, based on the selected criteria, the source grid will be copied into a new grid in the target event.

  • Clear source terrain if copied out: if the copy event is successful, the source grid will be cleared.

Color interpolation

  • Relative to height change threshold: when enabled, colors from a matching grid will be interpolated towards colors in the source grid being copied out, based on the change in height between the source grid and the matching grid at corresponding locations in the grids. This allows you to smooth and blend colors between grids based on changes in their heights - if a change in height greater than the specified interpolation threshold occurs during the copy operation, the color of the target grid will interpolate towards the color of the source grid based on the ratio between that height change and the height change threshold.

An example use case for this parameter would be this: if you copy a mountain grid out to an event with a matching desert grid using an “add” operation (resulting in a grid that has a mountain protruding from the center of a desert), by increasing the “relative to height change threshold” value, you can ensure that the colors from the original desert grid blend smoothly into the colors of the added mountain, along the slope of the newly added mountain cells, by the given height change threshold (so if the desert is brown and the mountain is white, and the mountain is 100 units tall and the color interpolation threshold is set to 50, the newly added mountain’s colors will blend from brown to white from its base to halfway up its slope). If you were to set the threshold to 0 in that example, no blending would occur - all previously-brown (desert) cells in the grid would become (mountain) white.