SEED - Image maps: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
add
 
Tels (talk | contribs)
add more examples
Line 28: Line 28:


|-
|-
!bgcolor="#ffdead" align="center"|Name
!bgcolor="#ffdead" align="center"|Look
!bgcolor="#ffdead" align="center"|Usage
!bgcolor="#ffdead" align="center"|Name
!bgcolor="#ffdead" align="center"|Name
!bgcolor="#ffdead" align="center"|Look
!bgcolor="#ffdead" align="center"|Look
Line 33: Line 36:


|-
|-
|two_spots
|'''cloud'''
|[[Image:Two spots.jpg|120px]]
|[[Image:Cloud.jpg|120px]]
|To place f.i. items in front of two sitting people at a table
|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


|-
|-
|spots
|'''splat2'''
|[[Image:Splat2.jpg|120px]]
|align=left|Vegetation f.i. grass
|'''spots'''
|[[Image:Spots.jpg|120px]]
|[[Image:Spots.jpg|120px]]
|vegetation f.i. grass
|align=left|Vegetation spots f.i. grass


|-
|-
|patterns
|'''two_spots'''
|[[Image:Patterns.jpg|120px]]
|[[Image:Two spots.jpg|120px]]
|vegetation f.i. grass
|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


|}
|}


{{seed}}
{{seed}}

Revision as of 10:54, 5 February 2011

Introduction

For each SEED entity you can specify an image map' which will influence where entities are placed. This can even be overriden for each target class of the SEED with seed_map.

The map is an 8 bit greyscale TGA, PNG or JPEG image, where black is 0% and white is 100% spawn probability.

How to use

For exmaple put this spawnarg on your SEED:

"map" "spots"

If the map name does not start with "textures/seed/", then this will be added in front. Also, the extension is optional, if left off, PNG, TGA and JPG will be tried in that order. 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 choosen randomly and then used:

"map" "spots, spots2, sinus"

Gallery

There are a few premade maps in TDM, here is a visual overview:

Name Look Usage Name Look Usage
cloud Vegetation f.i. grass patterns To make vegetation placed less uniform
splat Vegetation f.i. grass vegetation To make vegetation placed less uniform
splat2 Vegetation f.i. grass spots Vegetation spots f.i. grass
two_spots To place f.i. items in front of two sitting people at a table sinus Interesting patterns f.i. for vegetation