Go to the first, previous, next, last section, table of contents.

Hints on Types

It is tempting to try to define independent sets of types, each in a separate module, and glue them together somehow. However, this doesn't work well in practice, because in a game, the types interact in unexpected ways. Suppose, for example, that you define a set of airplane types that you want to be generic enough to use with several different games. The assessment of those types may vary drastically from game to game; in one, airplanes are 100 times faster than any other sort of unit, so that moving airplanes takes up 99% of game play, while in another, the same set of airplane types are too weak to be of any interest to players.

There is a standard set of terrain types called "stdterr". This set has a mix of the types found most useful for "Empire-type" games, and Earth-like percentages for random world generation.


Go to the first, previous, next, last section, table of contents.