www.delorie.com/gnu/docs/motti/motti_3.html   search  
 
Buy GNU books!


GNU motti

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.1 Map selection

Motti reads the name of the map file from as its first non-option argument. If no map name is given, motti lists maps availabe in its system-wide map directory. If a map name is given, motti searches for it first from the current directory, then from `$(prefix)/share/games/motti/'.

`-o FILE'
`--output=FILE'
Save the game map to file FILE. Useful for saving generated maps or maps with a reduced number of players. This is not a save game option, since this option takes effect only before the actual game start.

If the string `generate' is given as the map name, motti generates a map instead of loading one. The map generation can be controlled with the following options:

`-d FLOAT'
`--distance-min=FLOAT'
The minimun distance of capitals from each other. Default: 8.0.

`-g FLOAT'
`--granularity=FLOAT'
Plasma granularity. Larger values create a more scattered terrain. Default: 0.3.

`-h ROWS'
`--heigth ROWS'
Map heigth. Default: 15.

`-m FLOAT'
`--plasma-min=FLOAT'
Minimum value of plasma template value range. Default: 0.0.

`-M FLOAT'
`--plasma-max=FLOAT'
Maximum value of plasma template value range. Default: 0.3.

`-r FLOAT'
`--randomness=FLOAT'
Amount of randomness added to each cell. Default: 0.2.

`-t FLOAT'
`--threshold=FLOAT'
Each cell is calculated a value for it, roughly the inverse of the distance from all capitals summed minus the value of plasma cloud at this location plus a random number between 0 and the amount of randomness. Any cells having a greater value than this threshold are made land. Default: 0.15.

`-w COLS'
`--width=COLS'
Map width. Default: 20.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003  

Please take a moment to fill out this visitor survey
You can help support this site by visiting the advertisers that sponsor it! (only once each, though)