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

<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:** [July 24, 2017, 4:01pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1885 "2017-07-24T16:01:25Z")

</div>

> [@unit23;738624](#):
>
> I use the latest version, and the latest (July 14 downloaded) content package. Not a high priority issue.
> 
> ps. I wrote you an email a few days ago.
> 
> Another thing, in [this video](https://.youtube.com/watch?v=A81H5iwyx3A), while the ping is reasonable for the assets used, the player has some sort of motion blur, is this intended (kind of cool), or the engine dealing with high load computing?

@unit23 I faced the motion blur issue too. I’ll profile the network bandwidth and see if replication is the issue (although no variables are replicated)

---

<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:** [July 24, 2017, 4:30pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1886 "2017-07-24T16:30:52Z")

</div>

> [@Paradox;739208](#):
>
> Snap builder is marked as WIP. Is there any work in this direction? And what are the pitfalls in its current state?

> [@Harcarik;739564](#):
>
> Same , snap builder is the part of the plugin i am quite interested in. I am working on a project that could adapt this plugin but in the current state it’s not ready for the use. At least from i can gather from reading available documentation and watching videos.  
> Is there a you could tell us your plans for it? Roadmap of sorts if you will. I would really apreciate that. Thanks, H.

The snap builder pieces together modules. As of now, these modules have to be blueprints (with meshes in it). This should be replaced with maps files so each individual pieces are stored in their own map files. It’s a pain to design your level modules in a blueprint editor.

I did support map files in the past but that caused various issues that needs to be addressed

Also, I’ll be supporting multiple layout algorithms in snap builder (where you select the layout type from a drop down box). The default snap algorithm goes from start to finish with some branches on the side along the way.

Some possibilities:

[Space Partitioning](http://pcgbook.com/wp-content/uploads/chapter03.pdf) so you can have keys / doors and a constraint system. I believe this is what the game ziggaurath uses

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/1/0215d81c5cfda4410ab840cf73f4412d51738a62.jpeg)  
watch?v=2eDCkxSchzI

NxN tile layout algorithms with opening on any of NWSE like in [Spelunky](http://tinysubversions.com/spelunkyGen/)

I’ll have more updates on the Snap builder in 2.8 after i release 2.7 in a few days

---

<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:** [July 24, 2017, 4:38pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1887 "2017-07-24T16:38:04Z")

</div>

> [@simpple;740407](#):
>
> i am using Floor Plan builder.  
> There is no floor plan corridor volume.  
> Can you make it? I need it too.

I’ll see if I can get this in 2.8

---

<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:** [July 24, 2017, 4:43pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1888 "2017-07-24T16:43:11Z")

</div>

> [@Yun-Kun;740549](#):
>
> Hello there 🙂
> 
> I have a question regarding the way to implement something I’ve seen in one of your video [MENTION=28980][/MENTION]:
> 
> [https://youtu.be/fbIwQFKBUWE?t=23s](https://youtu.be/fbIwQFKBUWE?t=23s)
> 
> In this video, you’re adding a “SideDeco” theme which adds a layer of “buildings”, and I can’t think of how to implement such a layer. Could you (or someone with the knowledge) point me towards the right direction please? It’d be super nice!
> 
> Thanks in advance for any answer 🙂

@Yun-Kun I used a marker emitter script. It runs after the dungeon layout is built and it tries to fit in NxM tiles (e.g. 2x3, 3x3 etc) in the empty spaces surrounding the dungeon. If it finds it, it emits a marker there and the SideDemo theme file picks up those markers and places those buildings there

This works similar to the _AdjacentCellEmitter_ in the fire demo that is used to place rocks to build a cave like structure. Instead of finding 1x1 adjacent free tiles, it could be extended to find bigger tiles. I’ll try to create a BP for your tomorrow

---

<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:** [July 24, 2017, 4:45pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1889 "2017-07-24T16:45:51Z")

</div>

I’ve improved the stair connection model to create better quality result

Also fixed a crash issue with the clone actor node in some cases

---

<div class="post-metadata">

**Author:** ![unit23](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/unit23/32/1223962_2.png) [@unit23](https://forums.unrealengine.com/u/unit23)\
**Post date:** [July 24, 2017, 4:55pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1890 "2017-07-24T16:55:54Z")

</div>

> [@;740823](#):
>
> @unit23 I faced the motion blur issue too. I’ll profile the network bandwidth and see if replication is the issue (although no variables are replicated)

Notice that some of the assets are very performance hungry, like the lava material or the fire particles.

---

<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:** [July 24, 2017, 5:34pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1891 "2017-07-24T17:34:55Z")

</div>

[MENTION=28980][/MENTION]

I believe this plugin allows your to manipulate meshes within BP Actor right in the Editor: [Prefab Tool - Prefab Support for Unreal Engine - Marketplace - Epic Developer Community Forums](https://forums.unrealengine.com/showthread.php?144556-Prefab-Tool-Prefab-Support-for-Unreal-Engine)

So building BP modules for Snap modules should be a breeze.

EDIT: Maybe it would be possible to have an option whether have modules to be BP actors or Prefabs ?

---

<div class="post-metadata">

**Author:** ![GameMaster79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameMaster79](https://forums.unrealengine.com/u/GameMaster79)\
**Post date:** [July 25, 2017, 7:58pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1892 "2017-07-25T19:58:20Z")

</div>

> [@;740840](#):
>
> The snap builder pieces together modules. As of now, these modules have to be blueprints (with meshes in it). This should be replaced with maps files so each individual pieces are stored in their own map files. It’s a pain to design your level modules in a blueprint editor.
> 
> I did support map files in the past but that caused various issues that needs to be addressed
> 
> Also, I’ll be supporting multiple layout algorithms in snap builder (where you select the layout type from a drop down box). The default snap algorithm goes from start to finish with some branches on the side along the way.
> 
> Some possibilities:
> 
> [Space Partitioning](http://pcgbook.com/wp-content/uploads/chapter03.pdf) so you can have keys / doors and a constraint system. I believe this is what the game ziggaurath uses
> 
> [http://i.imgur.com/U1xh1IN.jpg](http://i.imgur.com/U1xh1IN.jpg)
> 
> watch?v=2eDCkxSchzI
> 
> NxN tile layout algorithms with opening on any of NWSE like in [Spelunky](http://tinysubversions.com/spelunkyGen/)
> 
> I’ll have more updates on the Snap builder in 2.8 after i release 2.7 in a few days

Hi,

This looks amazing, I’m really happy you want to build out the functionality of Snap builder. I agree the building the Snap components in a Blueprint is a pain but honestly it does not seem that bad. You just can make it in a level then convert the whole thing to a Blueprint actor. I’m much more interested in better functionality of the snap builder its self. I would like to be able to use A Multi Dungeon custom layout with the snap builder in addition to a custom builder (like the straight line example you have). That would be huge functionality, also critical would be access to room and order information so we can better dynamically populate the rooms and hallways. I love the functionality examples you listed. I hope that all makes it into 2.8. Thank you.

---

<div class="post-metadata">

**Author:** ![BDC\_Patrick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bdc_patrick/32/1104221_2.png) [@BDC\_Patrick](https://forums.unrealengine.com/u/BDC_Patrick)\
**Post date:** [July 26, 2017, 6:26am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1893 "2017-07-26T06:26:19Z")

</div>

Small Question:

how to prevent impassable Rooms, Wall-/Fenceless Platforms and not working Stair2x?  
F.e.:

 ![248777eb0c77c718d75117ad39d3c5b0072a8585.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/8/248777eb0c77c718d75117ad39d3c5b0072a8585.jpeg)  
you see 2 impassable Rooms. The large on the right, and the really small left above it.  
This is not that bad in 3rd person or FPS… since you won´t see those Rooms. But i want it for TopDown (Diablo like), which looks odd if there are Rooms, the Player, NPC or Enemies can´t reach… 😕

Second:

 ![73df32b810ffc8590a8b0a1f3d0081635c3a4e74.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/d/73df32b810ffc8590a8b0a1f3d0081635c3a4e74.jpeg)  
I don´t know why this happens. But These Platform neither has Walls nor fences… It simply spawns inside a room…  
Two Questions :  
Any to set Walls and Fences there?  
If not, Any way to prevent such Platforms? 🙂

Third:  
It often happens, that i get Double or Triple Stairs glitching into each other, cause there are up to 3 Passages withing ONE Corner of a Corridor…  
See:

 ![50d247460257e4df21bd11e1a73fc059d54db80d.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/d/50d247460257e4df21bd11e1a73fc059d54db80d.jpeg)  
Any suggestion how to prevent that?

Last but not Least:

 ![2556883e70310e84e01ad6951c2f329c22388a60.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/5/2556883e70310e84e01ad6951c2f329c22388a60.jpeg)  
I think DA is designed to use Straight Stairs. So… i don´t think this is a Bug or such… But i´d need some help to fix this 🙂  
Is there a Manual/Doc/Help that explains how to make such Stairways possible? Or do i need to place it all by hand for myself?  
Would be nice, cause such Stairways lead into glitching through Walls, ther Stairs or lead into nothing (free space outside dungeon)

Info:  
I simply used the standard DA Dungeon Config. Seed: 12431, Stair Height: 2, Height Variation: 0.5  
This is my Debug Theme:

 ![Theme.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/0/7087abe12b76ed4ce89d446b52155799d016ce32.jpeg)

Hope you Guys can help me out 😃

---

<div class="post-metadata">

**Author:** ![qdelpeche](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/qdelpeche/32/776509_2.png) [@qdelpeche](https://forums.unrealengine.com/u/qdelpeche)\
**Post date:** [July 26, 2017, 9:50am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1894 "2017-07-26T09:50:18Z")

</div>

[MENTION=28980][/MENTION] - Do you have the theme file that you used ? https:///watch?v=FC3Bs6T-xfI

I have that asset and would like to see your theme file to work out how you built your city. Can you share it with me?

---

<div class="post-metadata">

**Author:** ![Dubh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dubh](https://forums.unrealengine.com/u/Dubh)\
**Post date:** [July 27, 2017, 3:48am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1895 "2017-07-27T03:48:45Z")

</div>

I snagged the content pack ([https://github.com/coderespawn/dungeon-architect-quick-start-ue4/archive/content\_2.6.zip](https://github.com/coderespawn/dungeon-architect-quick-start-ue4/archive/content_2.6.zip)) and tried out the “Level Authoring by Players (Runtime)” but the blueprint BP\_DALB\_GameState doesn’t have input to Cell Data.

Anyone know what to tweak for this? I just picked up DA so not very familiar with it yet!

---

<div class="post-metadata">

**Author:** ![TheCouch](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheCouch](https://forums.unrealengine.com/u/TheCouch)\
**Post date:** [July 28, 2017, 8:01pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1896 "2017-07-28T20:01:51Z")

</div>

I think I’ve found a bug with the TransformLogic, that or I don’t understand what it’s doing (50/50). The transform scale of a node appears to be applied in some way to the transform logic’s _translation_ transform and not just the scale. It makes for some oddly placed meshes. To repro, create a grid dungeon and add a mesh node and hang it off the wall marker (add a wall mesh or a cube or something as the mesh). Scale the node’s height using the Z coord to something like 1.5. Then add a transform logic to that node. In the transform logic, translate (offset) in the positive Z direction a set number of units. Build the dungeon. The mesh is scaled correctly, but the translation seems to also be affected by the _scale_ of the node. My guess is that the translation (loc) is being multiplied or divided by the scale for some reason. I can’t for the life of me think of a use for that functionality so I’m thinking it’s a bug.

---

<div class="post-metadata">

**Author:** ![ReenOne](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ReenOne](https://forums.unrealengine.com/u/ReenOne)\
**Post date:** [July 28, 2017, 9:35pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1897 "2017-07-28T21:35:53Z")

</div>

How can i use Dungeon Architect on a dedicated server?😕

---

<div class="post-metadata">

**Author:** ![DrinkThisPotion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrinkThisPotion](https://forums.unrealengine.com/u/DrinkThisPotion)\
**Post date:** [July 29, 2017, 4:16am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1898 "2017-07-29T04:16:06Z")

</div>

> [@;727881](#):
>
> @ I’ll create a C++ guide soon.  
> @DrinkThisPotion I’m working on a post-processor to fix the stair issue and guarantee a valid map

Any progress on the post-processor? I’ve been encountering and keeping track of quite a few invalid seeds.

---

<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:** [July 30, 2017, 2:31pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1899 "2017-07-30T14:31:20Z")

</div>

> [@Chaosgod\_Espér;741635](#):
>
> Small Question:
> 
> how to prevent impassable Rooms, Wall-/Fenceless Platforms and not working Stair2x?  
> F.e.:  
> you see 2 impassable Rooms. The large on the right, and the really small left above it.  
> This is not that bad in 3rd person or FPS… since you won´t see those Rooms. But i want it for TopDown (Diablo like), which looks odd if there are Rooms, the Player, NPC or Enemies can´t reach… 😕
> 
> Second:  
> I don´t know why this happens. But These Platform neither has Walls nor fences… It simply spawns inside a room…  
> Two Questions :  
> Any to set Walls and Fences there?  
> If not, Any way to prevent such Platforms? 🙂
> 
> Third:  
> It often happens, that i get Double or Triple Stairs glitching into each other, cause there are up to 3 Passages withing ONE Corner of a Corridor…  
> See:  
> Any suggestion how to prevent that?
> 
> Last but not Least:  
> I think DA is designed to use Straight Stairs. So… i don´t think this is a Bug or such… But i´d need some help to fix this 🙂  
> Is there a Manual/Doc/Help that explains how to make such Stairways possible? Or do i need to place it all by hand for myself?  
> Would be nice, cause such Stairways lead into glitching through Walls, ther Stairs or lead into nothing (free space outside dungeon)
> 
> Info:  
> I simply used the standard DA Dungeon Config. Seed: 12431, Stair Height: 2, Height Variation: 0.5  
> This is my Debug Theme:
> 
> Hope you Guys can help me out 😃

@Chaosgod\_Espér I’ve improved the stair model and will be available in the next update. I’ll have a look at the wall/fence issue tomorrow

---

<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:** [July 30, 2017, 2:33pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1900 "2017-07-30T14:33:16Z")

</div>

> [@qdelpeche;741704](#):
>
> [MENTION=28980][/MENTION] - Do you have the theme file that you used ? https://.youtube.com/watch?v=FC3Bs6T-xfI
> 
> I have that asset and would like to see your theme file to work out how you built your city. Can you share it with me?

@qdelpeche those assets are not modular (atleast the road meshes). I’ll send you the theme file tomorrow

---

<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:** [July 30, 2017, 2:34pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1901 "2017-07-30T14:34:26Z")

</div>

> [@Dubh;742099](#):
>
> I snagged the content pack ([https://github.com/coderespawn/dungeon-architect-quick-start-ue4/archive/content\_2.6.zip](https://github.com/coderespawn/dungeon-architect-quick-start-ue4/archive/content_2.6.zip)) and tried out the “Level Authoring by Players (Runtime)” but the blueprint BP\_DALB\_GameState doesn’t have input to Cell Data.
> 
> Anyone know what to tweak for this? I just picked up DA so not very familiar with it yet!

@Dubh It broke due to a recent change and I’ll have it fixed by tomorrow

---

<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:** [July 30, 2017, 2:39pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1902 "2017-07-30T14:39:43Z")

</div>

> [@anonymous\_user\_9c39f750Couch;742913](#):
>
> I think I’ve found a bug with the TransformLogic, that or I don’t understand what it’s doing (50/50). The transform scale of a node appears to be applied in some way to the transform logic’s _translation_ transform and not just the scale. It makes for some oddly placed meshes. To repro, create a grid dungeon and add a mesh node and hang it off the wall marker (add a wall mesh or a cube or something as the mesh). Scale the node’s height using the Z coord to something like 1.5. Then add a transform logic to that node. In the transform logic, translate (offset) in the positive Z direction a set number of units. Build the dungeon. The mesh is scaled correctly, but the translation seems to also be affected by the _scale_ of the node. My guess is that the translation (loc) is being multiplied or divided by the scale for some reason. I can’t for the life of me think of a use for that functionality so I’m thinking it’s a bug.

@TheCouch That’s expected behaviour. The transform logic’s transform will be relative to the parent. An example would be where you randomly place a painting on the wall in the Z range of 100 to 200 cm high. Later you decide to make the parent wall 3 times larger. We want the offset to also be scaled from 300 to 600 cm to make up for the larger wall

---

<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:** [July 30, 2017, 2:40pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1903 "2017-07-30T14:40:41Z")

</div>

> [@ReenOne;742958](#):
>
> How can i use Dungeon Architect on a dedicated server?😕

@ReenOne There’s a multiplayer sample in the quick start guide and it works with dedicated server

---

<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:** [July 30, 2017, 2:46pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1904 "2017-07-30T14:46:18Z")

</div>

> [@;740840](#):
>
> The snap builder pieces together modules. As of now, these modules have to be blueprints (with meshes in it). This should be replaced with maps files so each individual pieces are stored in their own map files. It’s a pain to design your level modules in a blueprint editor.
> 
> I did support map files in the past but that caused various issues that needs to be addressed
> 
> Also, I’ll be supporting multiple layout algorithms in snap builder (where you select the layout type from a drop down box). The default snap algorithm goes from start to finish with some branches on the side along the way.
> 
> Some possibilities:
> 
> [Space Partitioning](http://pcgbook.com/wp-content/uploads/chapter03.pdf) so you can have keys / doors and a constraint system. I believe this is what the game ziggaurath uses
> 
> [http://i.imgur.com/U1xh1IN.jpg](http://i.imgur.com/U1xh1IN.jpg)
> 
> NxN tile layout algorithms with opening on any of NWSE like in [Spelunky](http://tinysubversions.com/spelunkyGen/)
> 
> I’ll have more updates on the Snap builder in 2.8 after i release 2.7 in a few days

Some progress on a new dungeon layout algorithm (like ziggaurath)

I start with a world bounds, and binary split it till a min/room size is reached

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/9/b/09b71c541dbbd1a9c217a9b593fe2e548f74c3ae.png)  
The splits don’t have to be in the center

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/1/831d94e64f1b0d0ccedc80ac3b5a5bb3fb2c7578.png)  
Connect the doors based on the tree connections. This helps us enforce conditions, i.e. two child subtrees of a node are guaranteed to be isolated and connected only through the node’s door. This helps in created a door / lock combo. It can also loop

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/0/cc04d463816ec14fc48726a2df074aaa5c84d084.png)  
Purge the tree and tag the doors (notice E, L, K)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/d/51dd06ad39aedaf45df09ce3e7ea0da7f82916bb.png)

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

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