Mapping/Random map parts
Jump to navigation
Jump to search
This tutorials explains how map parts have to be designed, so they can be used for automatic map assembly.
The most important rule: The map part can have different shapes, but it must fit onto a 256x256 grid. The pictures below illustrate this rule:
Screenshot | UMP definition |
---|---|
tile +s01 { 4 4 0 a a 0 a +a +a a a +a +a a 0 a a 0 } | |
tile +s02 { 4 4 0 0 c 0 a +a +a a a +a a a 0 a a 0 } |
Another point is, that the map should be shifted such that the lower left corner is at 0,0 position. Make sure you have the same lighting settings for ambient and sun light on all individual map parts. Choose the light angle such that the shadows are not too long so they are casted over the edge of a map piece.
You can also have a look at the random map assembly article to get your map included in assembly.