Changes between Version 27 and Version 28 of Rmgen_Library
- Timestamp:
- Jun 12, 2012, 9:03:08 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rmgen_Library
v27 v28 20 20 21 21 '''TODO:''' Later it should be possible to provide custom JS terrain objects as well. 22 23 == Random map design conventions == 24 25 * Terrain: Place terrain on an area rather than a tile. Most times placing tiles only looks unnatural. In addition remember terrain from the same biome fits better to each other than tiles from different biomes. 26 27 * Start locations: Insight a circle with radius 20 not many obstructions should be build so the player has space to build a base there. Especially avoid placing very uneven terrain and water there. Remember that Iberians get walls as a civilization bonus which are placed by default with their starting entities and have roughly a radius of 20. 22 28 23 29 == Accessing Map Data Directly == … … 30 36 * `getTerrainTexture(x, y)`: Returns terrain texture of tile (x,z). 31 37 32 Note: By default the height map refers to the corners of the terrain grid, so is one unit larger in both directions. Setting TILE_CENTERED_HEIGHT_MAP = true; makes the height map define the height of the cent res of each terrain grid square (interpolated to the corners at the export stage).38 Note: By default the height map refers to the corners of the terrain grid, so is one unit larger in both directions. Setting TILE_CENTERED_HEIGHT_MAP = true; makes the height map define the height of the centers of each terrain grid square (interpolated to the corners at the export stage). 33 39 34 40 == Placing Terrain: Areas ==