Monday, 18th April 2011, 09:28 by galehar
I have no problem discussing the concept of OOD here, but I don't want this thread to turn into an endless stream of "I ran into an ancient lich on D:2, is it OOD?". Thus, I've changed the thread title.
Let me explain a few things about OOD. First, uniques and vaults have a fixed depth range, so they can't be OOD. Depth for uniques are in dat/des/builder/uniques.des and vaults are in dat/des/portals/* and dat/des/variable/*
Now, the concept of OOD isn't clearly defined in the source. Each monster has a default depth where it is the most likely to spawn, but it can easily spawn in a 5 level range. If it spawns more than 5 levels shallower than the native depth, it is considered ood by the pick_random_monster function. To be worthy of a note, the level difference need to be above the ood_interesting option which defaults to 8.
If you want to know the native depth of a monster, look in mon-pick.cc, no programming knowledge is necessary for that. Now, we can discuss here the individual depth of certain monsters, uniques or vaults, or the general algorithm for picking monsters. If you just want to know the native depth of a monster or if it is ood in your game and you're too lazy to look it up yourself, please do it in the advice forum.
<+Grunt> You dereference an invalid pointer! Ouch! That really hurt! The game dies...