Skip to content

Forelius/dungeondraw-foundry-vtt

 
 

Repository files navigation

Dungeon Draw

A dungeon-drawing module for Foundry VTT.

Latest Release Download Count

Screen Shot 2022-04-26 at 8 12 53 PM

Tools

  • Draw map - add/remove things to/from the map: room shapes, interior walls, regular/secret doors, or theme overlays. When removing walls/doors/themes, you draw a selection rectangle to select what you wish to delete.
  • Undo/Redo - Also mapped to ctrl-z / ctrl-y hotkeys.
  • Generate a Dungeon - Let Dungeon Draw make the map for you!
  • Config - Change various scene-specific drawing values, or create & edit your own custom themes.
  • Export the current dungeon as an image and set to scene background (useful for 3D Canvas module).
  • Delete all - Nuke everything on the current dungeon/scene.

Themes

DungeonDraw-themes

How it works

  • New dungeon-drawing layer under the Foundry background layer.
  • Players need at least Trusted Player permission to see and use the new Dungeon Draw scene tools. GM or Assistant DM permission will allow Dungeon Draw to automatically update lighting walls, as well as update scene settings (background color, grid) from theme selection.
  • Saved as a JournalEntry in a "Dungeon Draw" folder.
    • Map note in the upper left links the current scene to the JournalEntry.
    • JournalEntry and Note are created as soon as you start drawing a new dungeon.
    • To delete: delete the Note and/or the JournalEntry.
    • For Trusted Player: to allow editing, you may need to them as the owner of Journal Entries that were previously created by the GM.

Using floor and wall textures

If you choose a floor texture it will be used in preference to the floor fill color.

Dungeon Draw currently assumes square texture files.

Want some good floor textures? Check out this free Texture Pack 3 from Forgotten Adventures: https://www.patreon.com/posts/texture-pack-3-24886718

Dungeon Generators

Dungeon Draw includes a magic wand tool to make a dungeon map for you, along with several dungeon generation algorithms.

Known issues

  • Sometimes generating a rot.js cave system with smoothing can cause errors. I'm still debugging this, but in the meantime you can just retry - it usually succeeds after an attempt or two.
  • Dungeon Draw isn't compatible with a scene background image (which will cover up the dungeon map). Dungeon Draw's map layer is below Foundry's normal background layer. This lets you use placeable background tiles as you'd expect (they appear on top of the dungeon map), but also means a scene background image appears on top of the dungeon map, too. As a workaround, you can specify a background image in the Dungeon Draw config for the particular scene, which will show your background below the dungeon map.
  • Simultaneous map editors can trample each other's changes and cause save errors. It's best to stick to one map-maker at a time (either the GM or a single player).

Credits

Packages

No packages published

Languages

  • JavaScript 72.0%
  • HTML 26.2%
  • CSS 1.8%