Random Map Deployment Guide ====== Using random maps ====== Any exit with "/!" as the destination map will generate a random map. To specify random map parameters, you put parameters in the message field for the exit. To use the standalone random map generator, you do this: random_map inputfile where ''inputfile'' is a plaintext file containing the map parameters, and ''map path'' is the destination of the generated map, relative to LIBDIR/maps. ====== How styles work ====== A "style" is usually a small map which contains only objects which define the "style". For example, a monsterstyle "orc" might be a map generated with crossedit which has six orcs, a kobold, and a troll in it. When monsters are placed, the generator will randomly choose monsters from the "orc" style, and for this example, on average, it will generate 6 orcs/troll and 1 kobold/troll. So orcs will be very common, and there'll be occasional trolls and kobolds. In principle, you may put any object in any style map. However, the map generator will do special things with the object depending on which directory it is in. Style maps are located in maps/styles/*, you may use crossedit to modify the style maps, or create new ones. ====== Parameters ====== ===== Style Parameters ===== | layoutstyle