Doodad Palettes
Doodad Palettes¶
Doodad Palettes are sets of doodads that can be painted onto a map in the map editor. Each click picks a seed, and the seed decides which doodads appear where, along with their rotation and scale, so painting over the same ground again during a stroke adds nothing new.
The map is divided into cells, and each cell holds at most one doodad, which keeps painted doodads from clumping together. The Drop Chance decides whether a cell gets a doodad, and the rows' chances decide which one.
Note: Doodad Palettes are only used by the map editor; painted doodads are ordinary doodads on the map.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Constrain to Height | Whether doodads are only placed on tiles at the height that was first clicked. | Toggle |
| Constrain to Layer | Whether doodads are only placed on tiles of the layer that was first clicked. | Toggle |
| Drop Chance | The percent chance, from 0 to 100, that a cell drops a doodad. The rows' chances then decide which doodad is dropped. | Number |
| Jitter | How far a doodad may be offset from the center of its cell, from 0 (centered) to 0.5 (anywhere in the cell). | Number |
| Lock to Grid | Whether doodads are placed exactly at the center of their cells, rather than offset by the jitter. | Toggle |
| Name | The name of the doodad palette. | String |
| Radius | The radius of the brush, in tiles. | Number |
| Rows | The doodads that can be painted, with their chance of appearing in a cell. | Doodad Palette Row |
| Seed Maximum | The highest seed that can be picked when the seed range is used. | Number |
| Seed Minimum | The lowest seed that can be picked when the seed range is used. | Number |
| Spacing | The size of a cell, in tiles. Each cell holds at most one doodad. | Number |
| Use Seed Range | Whether each click picks its seed from the seed range, limiting the palette to a few repeatable patterns. | Toggle |
Doodad Palette Row¶
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Chance | The weighted chance that the doodad is picked when a cell drops a doodad. A row's odds are its chance divided by the total of all rows' chances. | Number |
| Doodad | The doodad to paint. | Doodad |
| Maximum Rotation | The maximum rotation, in degrees, added to the doodad's own rotation. | Vector |
| Maximum Scale | The maximum scale, multiplied by the doodad's own scale. | Vector |
| Minimum Rotation | The minimum rotation, in degrees, added to the doodad's own rotation. | Vector |
| Minimum Scale | The minimum scale, multiplied by the doodad's own scale. | Vector |
| Uniform Scale | Whether one random value, taken from the X range, scales all three axes together. | Toggle |