User Tools

Site Tools


api:custom_map

CUSTOM_MAP

Category: Asset

Parent class: ASSET

List of CUSTOM_MAP assets

Properties


HeightMap

Serialized

A grayscale texture that will be used to generate the map's topography. Best results can be achieved when using an 1024×1024 image with a single 16 bit layer.


MinHeight

Serialized

The height of a pure black pixel in the HeightMap. Any other pixel is interpolated.

  • Type: float
  • Expected: float value
  • Default value: 5

MaxHeight

Serialized

The height of a pure white pixel in the HeightMap. Any other pixel is interpolated.

  • Type: float
  • Expected: float value
  • Default value: 100

MaterialMask

Serialized

An RGB texture that describes the ground's texture. Red is grass, green is sand, blue is currently unused.


VillagePathList

Serialized

Designates the Entrances of the Newcomers and the Entrances and Exits of the Envoys and Trader. For the best results, make sure the two positions aren't separated by water.


SpawnList

Serialized

List of prefabs that will be added to the map when it is loaded. Use this list to add resources to the map, such as berries and rocks.


DensitySpawnList

Serialized

Allows you to add objects randomly based on a texture.

api/custom_map.txt · Last modified: 2022/11/17 19:03 (external edit)