preview:api:custom_map
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
preview:api:custom_map [2019/10/04 18:04] – [SpawnList] polymorphgames | preview:api:custom_map [2023/12/12 12:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
**Category**: | **Category**: | ||
+ | Parent class: | ||
- | [[preview: | ||
- | '' | + | [[preview: |
- | See mod Example 03 for a complete example. | ||
===== Properties ===== | ===== Properties ===== | ||
Line 15: | Line 14: | ||
==== HeightMap ==== | ==== HeightMap ==== | ||
+ | // | ||
+ | |||
A grayscale texture that will be used to generate the map's topography. Best results can be achieved when using an 1024x1024 image with a single 16 bit layer. | A grayscale texture that will be used to generate the map's topography. Best results can be achieved when using an 1024x1024 image with a single 16 bit layer. | ||
+ | |||
* **Type**: '' | * **Type**: '' | ||
- | * **Expected**: | + | * **Expected**: |
---- | ---- | ||
==== MinHeight ==== | ==== MinHeight ==== | ||
+ | // | ||
+ | |||
The height of a pure black pixel in the HeightMap. Any other pixel is interpolated. | The height of a pure black pixel in the HeightMap. Any other pixel is interpolated. | ||
- | | + | |
+ | | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 29: | Line 35: | ||
==== MaxHeight ==== | ==== MaxHeight ==== | ||
+ | // | ||
+ | |||
The height of a pure white pixel in the HeightMap. Any other pixel is interpolated. | The height of a pure white pixel in the HeightMap. Any other pixel is interpolated. | ||
- | | + | |
+ | | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 36: | Line 46: | ||
==== MaterialMask ==== | ==== MaterialMask ==== | ||
+ | // | ||
+ | |||
An RGB texture that describes the ground' | An RGB texture that describes the ground' | ||
+ | |||
* **Type**: '' | * **Type**: '' | ||
- | * **Expected**: | + | * **Expected**: |
---- | ---- | ||
==== VillagePathList ==== | ==== VillagePathList ==== | ||
+ | // | ||
+ | |||
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. | 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. | ||
- | | + | |
+ | | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== SpawnList ==== | ==== SpawnList ==== | ||
+ | // | ||
+ | |||
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. | 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. | ||
- | | + | |
+ | | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== DensitySpawnList ==== | ==== DensitySpawnList ==== | ||
- | DensitySpawnList allows | + | // |
- | * **Type**: '' | + | |
+ | Allows | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
preview/api/custom_map.1570226681.txt.gz · Last modified: 2019/10/04 18:04 by polymorphgames