This is an old revision of the document!
Random dungeon generation system
Currently in NWN is not possible to 100% generate a random dungeon. Instead, what can be done is to generate a dungeon with some of the predefined layouts chosen randomly.
We aim to have at least 40 different layouts for each type of dungeon (caves, crypts …) and this will allow us to quickly add more and more content.
The current system has two possibilities, a normal dungeon with a boss or a dungeon with an exit (no boss) to pass through some mountains or areas.
To create the dungeon we only need to specify a few things like:
- Type (cave, crypt … currently only cave is supported)
- Encounter type (Goblin, Hobgoblin, Lizard …)
- Encounter level
- How many creatures per encounter
- Boss (only single boss encounters)
- Exit. If not boss this refers to the transition or door used to exit the dungeon (or enter from)
- Minutes to respawn (encounters and boss use the same variable)
This will create, once the module load, a random dungeon with the specified data. This will make the module grow very quickly.
The dungeon with a boss also spawns a portal that allows you to get back to the entrance quickly.
We plan on adding more options like rewards and increased % for different type of items so dungeons behave differently than open world encounters.
Additionally this will help us create very specific rewards for very specific quests.
With the system in place, making it grow is as easy as mapping new layouts.
You can see the changelog of the system bellow.
Changelog
Version 2.2
- New type of dungeon: forest with 7 layouts. Currently with no prefabs and only 1 boss room.
Version 2.1
- 2 extra cave prefabs layout (10)
- 5 different ruins layouts
- 10 new ruins prefabs layout
- 2 extra ruins layout (7)
Version 2.0
- 1 extra cave layout (7)
- 1 extra cave prefabs layout (8)
- 1 extra cave boss room (3)
- 5 different ruins layouts
- 8 different ruins prefabs layout (same as cave)
- 3 different ruins boss rooms
- 5 new encounter types
New encounter types:
- Ghost
- Undead
- Vampire
- Mummy
- Ghoul
Version 1.0
- 6 different cave layouts
- 7 different cave prefabs layout
- 2 different cave boss rooms
- 19 different encounter types
Encounter types:
- Lagarto (Lizard)
- Kobold
- Troglodyte
- Sahuagin
- Yuanti
- KuoToa
- Asabi
- Pitunk Orc
- Orc
- Northern Orc
- Horned Orc
- Gnoll
- Garbalog
- Goblin
- Hobgoblin
- Troll
- River Troll
- Coldwater Minotaur
- Minotaur
- Ghost
- Undead
- Vampire
- Mummy
- Ghoul
- Drow
- Construct
