Skip to content

Settings Object

Ben edited this page Jul 19, 2019 · 1 revision

  • A : Display section
  • B : Biomes settings
  • C : Prefabs picking section
  • 1 : The shape of the map. This field is populated by reflection, it is looking for classes with the attribute MapShapeName
  • 2 : Seed (0 = random). Used by the RNG
  • 3 : The space between a tile and its neighbours (1 = the size of a tile)
  • 4 : Settings to customize the border of the map
  • 5 : Number of biomes for this map
  • 6 : Name of the biome
  • 7 : The biome's expected size. It will always at least be this size, it can be more depending of the shape and RNG
  • 8 : Distribution/Quantity/Missing (depends of the type of the landform) is the amount of this landform expected in the biome. Distribution is a percentage (0-100) and Quantity is the precise amount. Some type of landforms do not have this field because they will fill the whole space left (plains) or take as much as they want (roads)
  • 9 : Order of generation of the landform, the less the earlier it will be created
  • 10 : Picking method of the prefab. This field if populated by reflection, looking for classes with the attribute "PickingMethodName". It defines how the prefab for this landform will be chose
  • 11 : Rotate method of the prefab. Can be 0, 60, 120, 180, 240, 300 or random. It defines the rotation of the prefab on its local Y axis
  • 12 : Size of the list of prefabs below available for this landform