# Dungeon Architect

**URL:** <https://forums.unrealengine.com/t/dungeon-architect/28094>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [April 22, 2015, 12:27pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094 "2015-04-22T12:27:43Z")\
**Posts on this page:** 20\
**Page:** 40

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 6, 2016, 7:14am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/794 "2016-08-06T07:14:49Z")

</div>

> [@anonymous\_user\_bee8e5b9quel;576313](#):
>
> Hi @AliAkbar, guys,
> 
> do you know the trick, a good set of dungeon creation parameters to avoid:
> 
> 1. Short corridors between rooms (like 1 tile long; I think they should join then into one);
> 2. Doors being created next to each other, more than one for a corridor?

@enquel Multiple doors next to each other is a bug that I’ll work on fixing

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 6, 2016, 7:17am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/795 "2016-08-06T07:17:11Z")

</div>

Past few days I’ve been working on adding the Gizmo widget in the theme editor’s 3D viewport so you can specify the offset transform from the viewport itself rather than manually entering values in the detail window’s Transform section.

However I’m facing issues and I’ll have that for a later update.

I’m working on finalising the floor plan builder. There are some things pending (e.g. buildings with arbitrary rotation and location, rotated volumes etc)

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 6, 2016, 8:05am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/796 "2016-08-06T08:05:04Z")

</div>

Buildings can be placed anywhere on the map with arbitrary location and rotation (based on the transform of the dungeon actor)

[![](https://i.imgur.com/rz8iLWE.jpg) ](https://i.imgur.com/rz8iLWE.jpg)

---

<div class="post-metadata">

**Author:** ![enquel](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/enquel/32/1121903_2.png) [@enquel](https://forums.unrealengine.com/u/enquel)\
**Post date:** [August 6, 2016, 12:35pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/797 "2016-08-06T12:35:41Z")

</div>

> [@;576714](#):
>
> @enquel Multiple doors next to each other is a bug that I’ll work on fixing

Hi, great to hear! Could you also add an implicit/explicit condition to the builder to account for a minimum corridor length?

Best!

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 6, 2016, 2:06pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/798 "2016-08-06T14:06:09Z")

</div>

> [@enquel;576803](#):
>
> Hi, great to hear! Could you also add an implicit/explicit condition to the builder to account for a minimum corridor length?
> 
> Best!

You can control the width of the corridor (LaneWidth config param) but the length of the corridor is based on the separation of the rooms, which happens using a separation simulation and is not straight forward to add this constraint to it

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 6, 2016, 2:09pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/799 "2016-08-06T14:09:19Z")

</div>

> [@Nick S.;562868](#):
>
> Hello,
> 
> I have a question regarding the Snap builder since it’s a feature I’d like to use for outdoor map generation. Say I create several square “tiles” that can be rotated and snapped on any side, but some of them (for example a river), could be rotated but snapped on 2 or 3 sides with any tiles, and only on 1 or 2 sides to another river tile. Would it be possible to make such a distinction?
> 
> This is a 2D map with 3x3 tiles, but the result I want to achieve should be mostly something similar with 3D assets with a top down orthographic camera:
> 
> [http://dungeonchannel.com/wp-content/uploads/2014/07/River\_feat.jpg](http://dungeonchannel.com/wp-content/uploads/2014/07/River_feat.jpg)
> 
> The idea would be for users to generate random maps with different environments to download and use in tabletop games.
> 
> Thank you!  
> Nick.

I’ve added an important check in the snap builder that connects a module to another module only if the doors are from the same asset

So you can have an door asset for your rivers and another door asset for your roads. It will properly connect the rivers and roads with other corresponding modules. It doesn’t produce a NxN grid of modules, although that could be a useful feature

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 8, 2016, 3:46am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/800 "2016-08-08T03:46:29Z")

</div>

Added this theme to the quick start guide. Also added the isaac sample

[![](https://i.imgur.com/tTzLRbE.jpg) ](https://i.imgur.com/tTzLRbE.jpg)

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 8, 2016, 7:40am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/801 "2016-08-08T07:40:36Z")

</div>

Changing the builder type in the Theme editor now automatically creates all the necessary markers expected by that builder in the graph editor.

Also, in the theme editor, the dungeon properties are shown by default when nothing is selected. This makes the important dungeon properties more visible and easily accessible

---

<div class="post-metadata">

**Author:** ![Warcabbit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Warcabbit](https://forums.unrealengine.com/u/Warcabbit)\
**Post date:** [August 8, 2016, 1:34pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/802 "2016-08-08T13:34:54Z")

</div>

Hm. Is there some way to identify the ‘outside wall’ there? I may want fake windows in the outside wall, so people don’t see the empty rest-of-map, while having windows into other rooms inside, for instanced maps.

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 9, 2016, 9:49am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/803 "2016-08-09T09:49:18Z")

</div>

> [@Warcabbit;577610](#):
>
> Hm. Is there some way to identify the ‘outside wall’ there? I may want fake windows in the outside wall, so people don’t see the empty rest-of-map, while having windows into other rooms inside, for instanced maps.

For which builder is this? If it is the grid builder, you can use the 1x2 constraint to find this on the wall / fence. I’ll post a demo for it soon

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 9, 2016, 11:34am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/804 "2016-08-09T11:34:03Z")

</div>

> [@goyo666;576684](#):
>
> Hi,  
> I’ve found that when I package my project all my snap doors disappear!  
> I’ve tried substituting the meshes and materials that I’m using for the doors to try and troubleshoot the issue but unfortunately it doesn’t make any difference.
> 
> Everything looks and functions as it should inside the editor, but when I start up the packaged project I’ve got no doors :(!

@goyo666 Sorry, I missed to see your post. I’ll have a look

Edit: typo

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 9, 2016, 12:53pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/805 "2016-08-09T12:53:37Z")

</div>

> [@;578143](#):
>
> @goyo666 Sorry, I missed to see your post. I’ll have a look
> 
> Edit: typo

I can reproduce the issue. Looks like it is due to the actor movability flag

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 9, 2016, 2:07pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/806 "2016-08-09T14:07:05Z")

</div>

> [@;578160](#):
>
> I can reproduce the issue. Looks like it is due to the actor movability flag

I’ve fixed the issue. I’ll upload a new build soon

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 9, 2016, 2:38pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/807 "2016-08-09T14:38:17Z")

</div>

**Version 2.1.2**

Uploaded a new version. Change log

- Theme editor now shows the dungeon properties by default if nothing is selected
- The default marker for the selected builder are automatically created in the theme editor when the builder type is changed from the properties window
- The snap builder connects modules together based on matching door assets.
- Floor plan buildings can be created anywhere on the map, based on the dungeon actor’s transform (arbitrary volumes are not working yet)
- Ported all the quick start samples to version 2.x
- Fixed runtime generation issues with the snap builder dungeon due to mesh mobility
- Created a new Quick Start guide in the new documentation platform
- Fixed breaking changes in C++ under OSX
- Fixed a bug in the cell comparison function of the grid builder
- Fixed all header compile errors in C++ if compiled without Unity build flag set to false in the build configuration
- Removed the save dialog location prompt while upgrading a version 1 theme file. The upgraded file is created in the same directory with a “\_v2” prefix

---

<div class="post-metadata">

**Author:** ![JayKavanagh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JayKavanagh](https://forums.unrealengine.com/u/JayKavanagh)\
**Post date:** [August 9, 2016, 6:32pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/808 "2016-08-09T18:32:26Z")

</div>

> [@;578209](#):
>
> **Version 2.1.2**
> 
> Uploaded a new version. Change log
> 
> - Theme editor now shows the dungeon properties by default if nothing is selected
> - The default marker for the selected builder are automatically created in the theme editor when the builder type is changed from the properties window
> - The snap builder connects modules together based on matching door assets.
> - Floor plan buildings can be created anywhere on the map, based on the dungeon actor’s transform (arbitrary volumes are not working yet)
> - Ported all the quick start samples to version 2.x
> - Fixed runtime generation issues with the snap builder dungeon due to mesh mobility
> - Created a new Quick Start guide in the new documentation platform
> - Fixed breaking changes in C++ under OSX
> - Fixed a bug in the cell comparison function of the grid builder
> - Fixed all header compile errors in C++ if compiled without Unity build flag set to false in the build configuration
> - Removed the save dialog location prompt while upgrading a version 1 theme file. The upgraded file is created in the same directory with a “\_v2” prefix

Hey is version 2 suppose to work with UE 4.12.5 by default or is that still pending…made a new project under 2.1.1 and got some permission errors when i attempted to rebuild in visual studio

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 10, 2016, 9:47am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/809 "2016-08-10T09:47:04Z")

</div>

> [@BlackCrackerStudios;578319](#):
>
> Hey is version 2 suppose to work with UE 4.12.5 by default or is that still pending…made a new project under 2.1.1 and got some permission errors when i attempted to rebuild in visual studio

@BlackCrackerStudios it should work with 4.12.5 as I’ve compiled with it. I’ll have a look

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 10, 2016, 9:48am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/810 "2016-08-10T09:48:01Z")

</div>

Added the name of the door asset used to create the snap door to differentiate between different door types

[![](https://i.imgur.com/Wpo2HEK.jpg) ](https://i.imgur.com/Wpo2HEK.jpg)

Edit: img

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 10, 2016, 12:19pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/811 "2016-08-10T12:19:19Z")

</div>

Level created using the snap builder

[![](https://i.imgur.com/GwhN8Tv.jpg) ](https://i.imgur.com/GwhN8Tv.jpg)

Polished the snap builder and fixed a few bugs with some door connections

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 11, 2016, 10:34am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/812 "2016-08-11T10:34:47Z")

</div>

You can now specify the start / end modules on your snap dungeons

[![](https://i.imgur.com/tVQ3x0H.jpg) ](https://i.imgur.com/tVQ3x0H.jpg)

[![](https://i.imgur.com/EMqVFPI.jpg) ](https://i.imgur.com/EMqVFPI.jpg)

Multiple start / end modules can be provided and it would pick a random one

---

<div class="post-metadata">

**Author:** ![Ali\_Akbar](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ali_akbar/32/1008648_2.png) [@Ali\_Akbar](https://forums.unrealengine.com/u/Ali_Akbar)\
**Post date:** [August 11, 2016, 11:29am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/813 "2016-08-11T11:29:20Z")

</div>

**Version 2.1.3**

Uploaded a new version. Change list:

Version 2.1.3

- Added a Start / End Module in the snap builder for spawn and final boss fight rooms
- Implemented the MaxDepth parameter in the Snap builder. This lets you control how deep a branch can go from the starting point
- Snap Doors actors show the name of the door asset on top of them to differentiate between different door types during module design
- Added tooltips to the snap builder configuration
- Floor plan room volumes work correctly for buildings placed in arbitrary locations

[Previous page](https://forums.unrealengine.com/t/dungeon-architect/28094.md?page=39)

[Next page](https://forums.unrealengine.com/t/dungeon-architect/28094.md?page=41)
