# 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:** 76

<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:** [February 13, 2017, 4:45am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1520 "2017-02-13T04:45:37Z")

</div>

> [@anonymous\_user\_e71e0d8ablanco;653014](#):
>
> Ive been testing the 2.5 snap builder. Sadly, its useless for me.
> 
> Ill grab the code from 2.4, the one that uses maps, and try to work with it. The reason is simple. Im doingVR, and i need static lighting. With the map snap system, lighting could be baked, and performance can be good. But with this system, lighting cant be baked into the modules, wich makes it useless from a VR perspective. Ue4 does not do any kind of culling on the lights other than simple frustrum cull, and that means that if i look to the center of the map, all the lights in all the modules will be calculating, completely destroying performance. If those lights cast shadows, the murdering of performance will be a serious thing, making any kind of half-big dungeon unplayable. Without the shadow casting, then light bleeds beetween modules.
> 
> Its nice how fast it runs now, and how it doesnt crash every time you exit play in editor, but i have no other , becouse the older version was WAY more performant. It also could use the navmesh from each of the modules, avoiding a global rebuild of the navmesh.
> 
> watch?v=TfBsDIJDajU
> 
> This is a video of the prototype im doing. This would be completely unplayable on the new version, as each module would need to be a blueprint and i cant bake light or navmesh.
> 
> Good that we have the source code, becouse i needed to edit it anyway to create my own tightly controlled dungeon. Such a shame you had to change it to use blueprints, what made the snap builder so strong is that it could use levels.
> 
> There is also a bit of feedback i have:
> 
> There is no way whatsoever to control the layout of the dungeon. You only have main path, branch end, main path end, and main path start. Its common to see 2-3 modules repeating in a row (easily seen in the video, there are 8 different modules). There is also no way to tell it to not repeat the branch end modules. Something i wanted to do is to have 3 different branch end modules, and use each of them in 3 different branches. But there is a that it will repeat 1 module in all 3 branches. That layout editor you were working on for other types of dungeons would be good for this.
> 
> Another thing that would be great is a “forbid” filter on the doors, so you can tell it to forbid putting a “hallway” room after another “hallway” room.

@ While exploring different alternatives, I’ve looked at the lightmass code of UE4 if we can bake in lightmaps within a blueprint. It doesn’t seem straightforward. The primary reason for switching to blueprints (from map files and world composition) was a single module (level) cannot be streamed in multiple times at different locations. It can be done during runtime with a hack, but not during design time. For this reason, I was creating multiple copies of the level file in your content browser and adding them to world composition (which was crashing the source control due to multiple large binary map files everytime you build)

There are other alternatives which @ and others have suggested that will help and I’ll explore them further (Cull Distance Volume, Precomputed Visibility Volume)

---

<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:** [February 13, 2017, 5:00am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1521 "2017-02-13T05:00:07Z")

</div>

> [@owenprescott;654413](#):
>
> Great plugin, how can I group placed blueprints connected by the ground node? I want to place a trigger blueprint in the same location as another BP spawned on the ground.

@owenprescott Have a look at the [Marker Emitter Node](http://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/html/user_guide_2.0.html#marker-emitter-nodes) section in the User Guide.

[http://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/assets/images/theme\_file\_example2.jpg](http://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/assets/images/theme_file_example2.jpg)

In the above example, curtains are attached to the desired wall mesh (with the window) only when that mesh spawned. The curtains would be spawned relative to the parent mesh (the wall with the window). This is similar to your example where you’d spawn your trigger from the desired BP node. You’ll need to create a marker with some name, attach your trigger to it and emit the marker from the blueprint node

---

<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:** [February 13, 2017, 5:05am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1522 "2017-02-13T05:05:47Z")

</div>

> [@RedSaturnSix;654431](#):
>
> , thank you so much for the improvements to SnapBuilder, I hope you can manage to alleviate the issues some people are having with their lighting.
> 
> I have a request!
> 
> When you first started SnapBuilder, we were limited to only one copy of a map being present in a level at a time.
> 
> Now that you’re using blueprints for the room modules, I was wondering if you could add that functionality back in as a toggle on specific blueprints.
> 
> My projects require that certain rooms only show up once in a world.
> 
> If this function is already present then please ignore me. 😃

@RedSaturnSix I’ll look into this

---

<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:** [February 13, 2017, 5:07am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1523 "2017-02-13T05:07:28Z")

</div>

> [@drarem;654598](#):
>
> where is the code for ‘GetFurtherestRoom’ ?

@drarem It’s been moved to the Query System. You can find the examples in the quick start guide ([Query System Examples](http://coderespawn.github.io/dungeon-architect-quick-start-ue4/stage/html/quick_start_guide_2.4+.html#query-system-examples) section)

---

<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:** [February 13, 2017, 5:19am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1524 "2017-02-13T05:19:30Z")

</div>

> [@kelfire;661666](#):
>
> @ I read awhile back that you might add more functionalities to the paint/edit the dungeon after procedural generation. Have you seen this painting/building workflow on D.R.O.N.E? The three things that I like from it are:
> 
> 1. Ability to quickly block out a play area using a painting style.
> 2. A symmetry option to create PvP maps.
> 3. A prefab option to save and load a chunk of the map.
> 
> Maybe you can add 1 of those functionality when you work on the paint/manual edit of dungeon architect :D.

@kelfire Looks very intuitive! The paint tool is very limited right now and I’ll be improving it in the near future. Thanks for sharing

---

<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:** [February 13, 2017, 5:20am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1525 "2017-02-13T05:20:34Z")

</div>

> [@Ratamorph;662153](#):
>
> [MENTION=28980][/MENTION], I think I found a bug with setting collision options for dungeon parts, say I want my walls to ignore the camera channel, I set it up in the theme, set up a custom collision for the wall in the collision section of the static mesh node and set it to ignore for the camera, but when I rebuilt the dungeon the collision flags for my walls have the default settings.

@Ratamorph 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:** [February 13, 2017, 5:23am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1526 "2017-02-13T05:23:07Z")

</div>

> [@Khamul;663163](#):
>
> Hi, I’m just learning DA for my new project and so far is very good, thanks for the plugin.
> 
> I have two questions:
> 
> first, how can i remove the walls between two rooms? i mean the walls that usually are next to a door, like this (without using a override volume, i want to do it procedural) its posible? :
> 
> ![RemoveWalls.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/a/da4f72a39d9b8c2836b9e49b08497eb6564eb0cb.png)
> 
> Thanks.

@Khamul It should be possible in the next update. I’ll add an API in the query interface to query the adjacent cells of a wall so you can check this from the selector logic and remove 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:** [February 13, 2017, 5:44am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1527 "2017-02-13T05:44:48Z")

</div>

> [@;665214](#):
>
> @ While exploring different alternatives, I’ve looked at the lightmass code of UE4 if we can bake in lightmaps within a blueprint. It doesn’t seem straightforward. The primary reason for switching to blueprints (from map files and world composition) was a single module (level) cannot be streamed in multiple times at different locations. It can be done during runtime with a hack, but not during design time. For this reason, I was creating multiple copies of the level file in your content browser and adding them to world composition (which was crashing the source control due to multiple large binary map files everytime you build)
> 
> There are other alternatives which @ and others have suggested that will help and I’ll explore them further (Cull Distance Volume, Precomputed Visibility Volume)

Another option would be to use portals for doors / windows

---

<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:** [February 13, 2017, 12:16pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1528 "2017-02-13T12:16:44Z")

</div>

Early progress on the dungeon flow editor

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

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

---

<div class="post-metadata">

**Author:** ![RedSaturnSix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RedSaturnSix](https://forums.unrealengine.com/u/RedSaturnSix)\
**Post date:** [February 14, 2017, 9:36am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1529 "2017-02-14T09:36:40Z")

</div>

! Thanks!

Do you know if the room blueprints support landscape as a component? I’m trying to generate random island groups.

---

<div class="post-metadata">

**Author:** ![skeleton60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skeleton60](https://forums.unrealengine.com/u/skeleton60)\
**Post date:** [February 14, 2017, 2:54pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1530 "2017-02-14T14:54:15Z")

</div>

Cant wait to have more info and video and tutorial about Dungeon flow editor !

---

<div class="post-metadata">

**Author:** ![motorsep](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/motorsep/32/918698_2.png) [@motorsep](https://forums.unrealengine.com/u/motorsep)\
**Post date:** [February 15, 2017, 5:11pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1531 "2017-02-15T17:11:18Z")

</div>

Alright, finally I got some time to make a mock-up of what I am after.

Basically the legend is a following:

Blue - blueprint rooms that are made manually (semi-modular or completely custom, still made on the grid) and placed manually.  
Yellow - blueprint rooms that are generated by DA (location determined by DA or area boundary within which such room can be generated is marked by the desginer)  
Red - connecting hallways with rooms (or not) generated by DA from modular pieces  
Green - either manually made or generated by DA rooms that are only reachable through teleportation (if it’s 100% pre-made, placed by the designer; if not, location determined by DA or area boundary within which such room can be generated is marked by the desginer)

Outdoors surface is manually made. It doesn’t have to be on the grid, but the point where generated dungeon connects to the surface would be on the grid.

It’s a 3D dungeon with pre-made rooms that connects to the custom made surface outdoor area.

Pre-made rooms are manually placed by the designer. Generated rooms (yellow) are generated and placed by DA, or designer can mark boundaries (with a volume?) where DA can generate it and place it. After all rooms are in place, DA would connect them and then connect the dungeon to the outdoors (entry points would be also marked by the designer manually; also can make several entry points and DA can connect them as random)

![procedural1_top.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/a/eea15ad141f91493746deacdc60e91781d24b57e.png)  
Full image: [https://s27.postimg.org/gi2m8apmp/procedural1\_top.png](https://s27.postimg.org/gi2m8apmp/procedural1_top.png)

![procedural1_3_D_01.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/5/a/5ad56541764b5ca966e0d27bde9b664f9c325133.png)  
Full image:[https://s12.postimg.org/g3079w4gb/procedural1\_3\_D\_01.png](https://s12.postimg.org/g3079w4gb/procedural1_3_D_01.png)

![procedural1_3_D_01.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/8/5/d85b7ddf82838e7c3cb05d17ed109a5b6827eeb9.png)  
Full image: [https://s8.postimg.org/sif03l30z/procedural1\_3\_D\_02.png](https://s8.postimg.org/sif03l30z/procedural1_3_D_02.png)

![procedural1_3_D_02.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/c/74c67ae7fd9576ab36ee968c7dfa528253597cc0.png)  
Full image: [https://s32.postimg.org/utcj21537/procedural1\_3\_D\_03.png](https://s32.postimg.org/utcj21537/procedural1_3_D_03.png)

And the finally dungeon would connect to the outdoors surface:

![procedural1_3_D_04.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/5/258822aa1d7e44fd4e154276e9303b1f6d0e36f9.png)  
Full image: [https://s8.postimg.org/kewm3sdpv/procedural1\_3\_D\_04.png](https://s8.postimg.org/kewm3sdpv/procedural1_3_D_04.png)

![procedural1_3_D_05.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/9/69e945f679a49728d6ad1e696ad0d9f6a0f3d583.png)  
Full image: [https://s16.postimg.org/6zkzqdp6r/procedural1\_3\_D\_05.png](https://s16.postimg.org/6zkzqdp6r/procedural1_3_D_05.png)

Is it achievable with DA (I assume Snap builder should be capable of doing this) already ?

---

<div class="post-metadata">

**Author:** ![dkoding](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dkoding](https://forums.unrealengine.com/u/dkoding)\
**Post date:** [February 15, 2017, 9:29pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1532 "2017-02-15T21:29:11Z")

</div>

@ - Any ETA for making the plugin compatible with UE 4.15?

---

<div class="post-metadata">

**Author:** ![TheCatSidhe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheCatSidhe](https://forums.unrealengine.com/u/TheCatSidhe)\
**Post date:** [February 15, 2017, 10:14pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1533 "2017-02-15T22:14:30Z")

</div>

> [@dkoding;666812](#):
>
> @ - Any ETA for making the plugin compatible with UE 4.15?

this. I’m not updating my project just for this

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0b289e8b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0b289e8b](https://forums.unrealengine.com/u/anonymous_user_0b289e8b)\
**Post date:** [February 16, 2017, 1:46am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1534 "2017-02-16T01:46:54Z")

</div>

> [@dkoding;666812](#):
>
> @ - Any ETA for making the plugin compatible with UE 4.15?

Yes, this release has some pretty good updates that I’m looking forward to.

---

<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:** [February 16, 2017, 3:15am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1535 "2017-02-16T03:15:48Z")

</div>

I’m working on releasing a new update with 4.15 compatibility ASAP

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0b289e8b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0b289e8b](https://forums.unrealengine.com/u/anonymous_user_0b289e8b)\
**Post date:** [February 16, 2017, 5:29am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1536 "2017-02-16T05:29:24Z")

</div>

> [@;667009](#):
>
> I’m working on releasing a new update with 4.15 compatibility ASAP

thanks.

---

<div class="post-metadata">

**Author:** ![Redsett](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Redsett](https://forums.unrealengine.com/u/Redsett)\
**Post date:** [February 16, 2017, 6:11am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1537 "2017-02-16T06:11:37Z")

</div>

[MENTION=28980][/MENTION] - I just want to say great job supporting and maintaining DA.

---

<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:** [February 16, 2017, 10:46am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1538 "2017-02-16T10:46:09Z")

</div>

@Redsett Thank you!

Added a Misc example in the quick start that shows how to merge two rooms together (removes the walls / doors between rooms using the following selector blueprint)  
 ![output_wx7VJx.gif](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/d/2d134388364f1a86b60554b409f47390668f5f37.gif)

The grid selector logic gets more inputs to work with (Query system reference and the world marker transform)

 ![2017-02-16 16_15_15-BPR_WallBetweenTwoRooms.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/6/3/63d057b6dfdea81faa9c5e0c6919d04ef479c77d.png)

---

<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:** [February 16, 2017, 3:29pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1539 "2017-02-16T15:29:25Z")

</div>

I’ve submitted a request to Epic for 2.5.0

**Change Log**

- Added support for 4.15
- Updated the road network of the City builder to randomly remove edges and create a more natural looking layout
- Houses in the City Builder now face the road side. House cells not accessible through roads are promoted to Parks
- Added a new function in the Grid Query System to find adjacent cells from an edge marker (like wall / fence). New example added under DA\_Misc\_Examples/Maps/WallQueryDemo
- Added addtional parameters (Query System and World Transform) to the Grid Selector Logic for more control
- Increased the default stair connection tollerance from 3 to 6 for better results with the default configuration
- Fixed initialization issues with the actor node in the theme editor
- Rewritten the snap builder to use blueprints, instead of levels for modules. This greatly improves the performance and stability. Still has issues with door states and remains a work in progress
- Added a snap demo example with 20 modules of various sizes

I’ll add the snap improvements in the next update (2.5.1) in a few days. The [quick start guide](http://coderespawn.github.io/dungeon-architect-quick-start-ue4) has been updated with the new samples for 2.5

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

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