preview:api:map_density_spawn_info
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
preview:api:map_density_spawn_info [2019/10/04 17:58] – [Density] polymorphgames | preview:api:map_density_spawn_info [2023/12/12 12:16] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
**Category**: | **Category**: | ||
+ | // | ||
===== Properties ===== | ===== Properties ===== | ||
Line 9: | Line 10: | ||
==== DensityMap ==== | ==== DensityMap ==== | ||
+ | // | ||
+ | |||
A grayscale texture that will be used to spawn prefabs. A white (or gray) pixel shows where a prefab will be spawned, a gray pixel will affect the scale of the object and nothing will be spawned at a black pixel. | A grayscale texture that will be used to spawn prefabs. A white (or gray) pixel shows where a prefab will be spawned, a gray pixel will affect the scale of the object and nothing will be spawned at a black pixel. | ||
+ | |||
* **Type**: '' | * **Type**: '' | ||
- | * **Expected**: | + | * **Expected**: |
---- | ---- | ||
==== Density ==== | ==== Density ==== | ||
- | The distance between objects. Value can not be lower than 3. | + | // |
- | * **Type**: '' | + | |
+ | The distance between objects. Value can be between 0 and 1, with 0 at low density and 1 at high density. | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 23: | Line 31: | ||
==== PrefabConfigList ==== | ==== PrefabConfigList ==== | ||
+ | // | ||
+ | |||
Multiple settings can be set for different prefabs, each with their own random weight. | Multiple settings can be set for different prefabs, each with their own random weight. | ||
- | | + | |
+ | | ||
+ | * **Expected**: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== PatchBeforeVersion ==== | ||
+ | // | ||
+ | |||
+ | These prefabs will be force-spawned in existing maps if the Map Version is smaller than 'Patch Before Version' | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
preview/api/map_density_spawn_info.1570226323.txt.gz · Last modified: 2019/10/04 17:58 by polymorphgames