preview:api:map_density_spawn_info
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
preview:api:map_density_spawn_info [2019/10/04 17:58] – [DensityMap] 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 | + | // |
- | * **Type**: '' | + | |
+ | The distance between | ||
+ | |||
+ | * **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.1570226307.txt.gz · Last modified: 2019/10/04 17:58 by polymorphgames