Determining monster types during level generation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Therem Harth
    Knight
    • Jan 2008
    • 926

    Determining monster types during level generation

    I'd like to have different types of levels, with different dominant terrain types (I think NPP does this) and different prevailing monster types (as with different dungeons in ToME 2).

    e.g. There could be a level that randomly has a lava streamer, and lots of greater demons.

    For the terrain stuff (e.g. streamer generation) I think I could probably look at ToME 2; that's all been done before. But I'm not so sure about rigging the monster generation. Are there any variants that have done that on a per-level basis?
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9647

    #2
    Originally posted by Therem Harth
    Are there any variants that have done that on a per-level basis?
    FA has two types of this (partly inherited from O, partly new):
    1. Monster restriction on level generation - there are functions during generation that restrict the monster type that can be chosen. It is mostly done for special themed levels, but the same code is used for pits and some vaults;
    2. Change of probability based on level type (animals more likely in forests); this is done fairly hackishly at monster placement time, but works OK.
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎