Random Dungeon Generation

All topics including role playing games, board games, etc., etc.
Post Reply
koralas
Ulthal
Posts: 525
Joined: Sun Aug 26, 2007 7:00 am

Random Dungeon Generation

Post by koralas »

So I was looking for tools to help with some rapid random dungeon generation, and while there are some cool tools out on the web, I still would like to be able to do some easy customization of the dungeon and they provide little chance for that. So I decided to break out the trusty old DMG, remembering the Appendix A charts, to give those a go. I can't believe I didn't use them way back when... Well one thing I found it was a pain as I was going through, rolling the dice and checking the chart, and rolling again for the next chart(s) that need to be followed, until I could draw out the room or hall and then check and record the contents, rinse and repeat. So I decided to put together a quick spreadsheet to do the crunching. What I have right now is still pretty rough, it basically shows the results of rolls on each chart, and you can follow through jumping to the chart you need to reference. For some things you may want or need to roll multiple times (like where the exits to the room are) so there are buttons to generate results for only that section. I have also included Appendix I's Dungeon Dressings, and made charts for Appendix J (Herbs, spices and medicinal vegetables, complete with their uses/powers, though I OCR'ed the page due to laziness and haven't cleaned up case on anything, though I have proof-read it), and Appendix K (describing magical substances) with the inclusion of a list of 400 colors that can be randomly selected.

I normally use OpenOffice.org (I highly recommend this tool, especially since it is FREE) for my word processing and spreadsheet needs, but have also prepared an Excel version, and put in Excel macro's, which for what I am doing are easier than OOO, but also a bit longer in that the spreadsheet has automatic calculation turned off, requiring manual calculation by hitting the buttons or other means. This was to prevent a change to a single cell recalculating the entire spreadsheet. Thus if you clicked to generate a new description for a potion that you determined was in the room, it would recalculate everything, losing the other sections. Future versions may only be updated with OOO with periodic updates to the Excel version since it is extra work.

If you want to add your own charts, it is quite simple really. Just add the content you want, the first row should be the chart name, the second row is the "low-end of the die roll", the third row is the "high-end of the die roll", the fourth is an adjustment to the die roll. Note that if your chart is based on 2d12, you would set the "low-end" to 2, the "high-end" to 24, and should have line numbers from 2-24 with the description. Next, select the whole chart and create a named range for it. Back on the first sheet "Dungeon Creation Results", add lines using the existing lines as your guide. Very important, add all lines at the end, if you add them higher up, you could create problems for the die roll buttons, unless of course you go into the code for those and update the cells they act on. I will look at addressing that in future versions.

Anyhow, love to get some feedback on this. I will be adding some monster charts, treasure charts, magic item charts, and so on over time. I will also clean up the tables, make more focused tables (bedroom, barracks, temple, etc.).

Note on the sample dungeon, I took a little CK prerogative, not including stairs since I wanted a single dungeon level, and finished out with making small modifications, adding or subtracting a door or secret door, putting in some one-way doors, etc.

EDIT: OOO version has been fixed.

NOTE: If you open this file from the web, some of the buttons may not work properly. Please be sure to download directly to your computer and open from there. If you do open it directly from the web, it may be set to read only, you will see this in the title bar of the window. In this case, browse to the file with explorer or finder (or whatever file browser your computer has) and right click it and select properties. Make sure the Read Only box is not checked, if it is un-check it and click OK.

OpenOffice.org Version -> Random Dungeon v0.0.1 (OOO)
***Updated OOO Version *** -> Random Dungeon v0.0.2 (OOO)
Excel Version -> Random Dungeon v0.0.1 (Excel)
Sample Dungeon -> Sample Dungeon Results v0.0.1

User avatar
Arduin
Greater Lore Drake
Posts: 4045
Joined: Tue Sep 27, 2011 6:12 pm
Location: Granite quarry

Re: Random Dungeon Generation

Post by Arduin »

Thanks!
Old age and treachery will overcome youth and skill

House Rules

User avatar
Arduin
Greater Lore Drake
Posts: 4045
Joined: Tue Sep 27, 2011 6:12 pm
Location: Granite quarry

Re: Random Dungeon Generation

Post by Arduin »

I opened it up. I clicked on Roll Dice and got this error message:
Attachments
error.jpg
error.jpg (34.68 KiB) Viewed 2580 times
Old age and treachery will overcome youth and skill

House Rules

koralas
Ulthal
Posts: 525
Joined: Sun Aug 26, 2007 7:00 am

Re: Random Dungeon Generation

Post by koralas »

Arduin wrote:I opened it up. I clicked on Roll Dice and got this error message:
Are you sure you downloaded the OOO version?

Make sure you download it and open from your computer, shouldn't really make a difference, but I have seen stranger things happen.

Also, what version of OOO are you running?

User avatar
Arduin
Greater Lore Drake
Posts: 4045
Joined: Tue Sep 27, 2011 6:12 pm
Location: Granite quarry

Re: Random Dungeon Generation

Post by Arduin »

koralas wrote:
Arduin wrote:I opened it up. I clicked on Roll Dice and got this error message:
Are you sure you downloaded the OOO version?

Make sure you download it and open from your computer, shouldn't really make a difference, but I have seen stranger things happen.

Also, what version of OOO are you running?
It is the .ods file I downloaded and opened on my PC. OpenOffice ver. 3.3.0
Old age and treachery will overcome youth and skill

House Rules

User avatar
Arduin
Greater Lore Drake
Posts: 4045
Joined: Tue Sep 27, 2011 6:12 pm
Location: Granite quarry

Re: Random Dungeon Generation

Post by Arduin »

In the window titled, Existing Macros in Mod 1; it lists "Main"
Old age and treachery will overcome youth and skill

House Rules

alcyone
Greater Lore Drake
Posts: 2727
Joined: Mon Oct 15, 2007 7:00 am
Location: The Court of the Crimson King

Re: Random Dungeon Generation

Post by alcyone »

Same in Libreoffice. There is only one macro, and it is an empty 'main'.
My C&C stuff: www.rpggrognard.com

koralas
Ulthal
Posts: 525
Joined: Sun Aug 26, 2007 7:00 am

Re: Random Dungeon Generation

Post by koralas »

The code is fixed, dumb error on my part actually... The default module for OOO code isn't the actual file, but specific to your user profile on the computer. Migrated to a module embedded within the file. All is well now.

User avatar
Arduin
Greater Lore Drake
Posts: 4045
Joined: Tue Sep 27, 2011 6:12 pm
Location: Granite quarry

Re: Random Dungeon Generation

Post by Arduin »

Works well. What a great tool.
Old age and treachery will overcome youth and skill

House Rules

koralas
Ulthal
Posts: 525
Joined: Sun Aug 26, 2007 7:00 am

Re: Random Dungeon Generation

Post by koralas »

Updated the OOO version.

v0.0.2
Added
  • Tricks and Traps charts from Appendix G and H
  • Random Monster Level Determination Matrix
  • Random Monster Tables (combined charts from DMG and MMII)
  • Random Dragon Tables by "Dungeon Level"
Random Dungeon v0.0.2 (OOO)

Post Reply