SEED - Image maps: Difference between revisions
add |
Update file type and spawnarg instructions for 2.10 |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
For each [[SEED]] entity you can specify an '''image map''' which will influence where entities are placed. This can even be | For each [[SEED]] entity you can specify an '''image map''', which will influence where entities are placed. This can even be overridden for each target class of the SEED with '''seed_map'''. | ||
The map is an 8 bit greyscale | The map is an 8 bit greyscale PNG image, where black is 0% and white is 100% spawn probability. | ||
== How to use == | == How to use == | ||
For | For example put this spawnarg on your SEED: | ||
"map" "spots" | "map" "spots" | ||
or put this on a target entity: | |||
"seed_map" "patterns" | |||
The image map must be placed in the "textures/seed" directory of your FM, and the map name in the spawnarg must be the base name of the image file. For example, "sinus" will load "textures/seed/sinus.png". | |||
Note: The image base map is combined with whatever distribution you set with falloff, also inhibitors are still taken into account. | Note: The image base map is combined with whatever distribution you set with falloff, also inhibitors are still taken into account. | ||
Line 17: | Line 21: | ||
=== Random maps === | === Random maps === | ||
If your map spawnarg consists of multiple maps listed with ",", one of them will be | If your map spawnarg consists of multiple maps listed with ",", one of them will be chosen randomly and then used: | ||
"map" "spots, spots2, sinus" | "map" "spots, spots2, sinus" | ||
Line 31: | Line 35: | ||
!bgcolor="#ffdead" align="center"|Look | !bgcolor="#ffdead" align="center"|Look | ||
!bgcolor="#ffdead" align="center"|Usage | !bgcolor="#ffdead" align="center"|Usage | ||
!bgcolor="#ffdead" align="center"|Name | |||
!bgcolor="#ffdead" align="center"|Look | |||
!bgcolor="#ffdead" align="center"|Usage | |||
|- | |||
|'''cloud''' | |||
|[[Image:Cloud.jpg|120px]] | |||
|align=left|Vegetation f.i. grass | |||
|'''patterns''' | |||
|[[Image:Patterns.jpg|120px]] | |||
|align=left|To make vegetation placed less uniform | |||
|- | |||
|'''splat''' | |||
|[[Image:Splat.jpg|120px]] | |||
|align=left|Vegetation f.i. grass | |||
|'''vegetation''' | |||
|[[Image:Vegetation.jpg|120px]] | |||
|align=left|To make vegetation placed less uniform | |||
|- | |- | ||
|two_spots | | | ||
| | |||
| | |||
|'''spots''' | |||
|[[Image:Spots.jpg|120px]] | |||
|align=left|Vegetation spots f.i. grass | |||
|- | |||
|'''two_spots''' | |||
|[[Image:Two spots.jpg|120px]] | |[[Image:Two spots.jpg|120px]] | ||
|To place f.i. items in front of two sitting people at a table | |align=left|To place f.i. items in front of two sitting people at a table | ||
|'''sinus''' | |||
|[[Image:Sinus.jpg|120px]] | |||
|align=left|Interesting patterns f.i. for vegetation | |||
|} | |||
== Gallery v1.05 == | |||
These maps are new in TDM v1.05: | |||
{| style="margin: 0.5em; margin-left: 1em; border: 1px solid #a0a0a0; text-align: right; border-collapse: collapse;" cellpadding="5" border="1" | |||
|- | |||
!bgcolor="#ffdead" align="center"|Name | |||
!bgcolor="#ffdead" align="center"|Look | |||
!bgcolor="#ffdead" align="center"|Usage | |||
!bgcolor="#ffdead" align="center"|Name | |||
!bgcolor="#ffdead" align="center"|Look | |||
!bgcolor="#ffdead" align="center"|Usage | |||
|- | |- | ||
| | |'''corner''' | ||
|[[Image: | |[[Image:Corner.png|120px]] | ||
|vegetation | |align=left|Dense vegetation in a corner | ||
|'''corner2''' | |||
|[[Image:Corner2.png|120px]] | |||
|align=left|Sparse vegetation in a corner | |||
|- | |- | ||
| | |'''splat2''' | ||
|[[Image: | |[[Image:Splat2.jpg|120px]] | ||
|vegetation f.i. | |align=left|Vegetation f.i. grass | ||
|'''drip''' | |||
|[[Image:Drip.png|120px]] | |||
|align=left|For vegetation that "fades" f.i. bushes at a forest edge | |||
|} | |} | ||
{{seed}} | {{seed}} |
Latest revision as of 02:18, 2 September 2021
Introduction
For each SEED entity you can specify an image map, which will influence where entities are placed. This can even be overridden for each target class of the SEED with seed_map.
The map is an 8 bit greyscale PNG image, where black is 0% and white is 100% spawn probability.
How to use
For example put this spawnarg on your SEED:
"map" "spots"
or put this on a target entity:
"seed_map" "patterns"
The image map must be placed in the "textures/seed" directory of your FM, and the map name in the spawnarg must be the base name of the image file. For example, "sinus" will load "textures/seed/sinus.png".
Note: The image base map is combined with whatever distribution you set with falloff, also inhibitors are still taken into account.
Random maps
If your map spawnarg consists of multiple maps listed with ",", one of them will be chosen randomly and then used:
"map" "spots, spots2, sinus"
Gallery
There are a few premade maps in TDM, here is a visual overview:
Gallery v1.05
These maps are new in TDM v1.05:
Name | Look | Usage | Name | Look | Usage |
---|---|---|---|---|---|
corner | Dense vegetation in a corner | corner2 | Sparse vegetation in a corner | ||
splat2 | Vegetation f.i. grass | drip | For vegetation that "fades" f.i. bushes at a forest edge |