Login  Register

Re: Design Tool: Dungeon Generator

Posted by SamuelF on May 23, 2010; 9:04pm
URL: http://the-lost-and-the-damned.71.s1.nabble.com/Dungeon-Builder-Development-Thread-tp5062933p5091829.html

Thanks for the kind words and enthusiasm guys!

For the past few days I've been working on the 'pseudo-code' for generating a dungeon with corridors, loosely based on ideas in the 'Into The Unknown' dungeon generation rules. I've done a test run using dice, and I'm fairly happy with the results so far:



It took forever to roll all the dice for this so I won't be doing it again too soon  However I'm confident that with a few tweaks it could make some nice dungeons.

Once the code is up and running in actionscript I'll post up the results for your perusal (may be a while as I'll be really busy for the next few weeks). I'm a little way from double width corridors yet, but visible borders are on the horizon (editing via clicking will be possible, it will just take a little longer to edit due to having to click through more tile options).

MortiS-the-Lost wrote
As for corridor generation I suggest taking a look at how the dungeon generation in AHQ is done. To make it a bit more universal you'll need to add option for how wide corridors should be and have the option for set section lengths. Having to roll dice and look up the results on 30 different charts in the AHQ rule-book can be a time-consuming pain in the arse during a game, but a computer program could swallow all those tables and matrices easily  
Ah yes! A generator for AHQ would be a nice thing. It is a slightly different kettle of fish to the generator here as it stands currently. This generator is built for use with battlemats, and has a set boundary (which is partly what makes it so tricky to code). Board game style modular dungeons can sprawl across the floor limitlessly (or until they hit the fireplace). They also use a set of board pieces that are limited in size and number. So I would have to put a little thought into how to implement a 'modular style' option for those that would like to generate dungeons for non-battlemat purposes.

Hopefully I'll have something for you to see in the not too distant future...