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

<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:** [May 4, 2017, 2:21pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1662 "2017-05-04T14:21:07Z")

</div>

> [@jivebowie;697025](#):
>
> Great plugin. I’ve been messing around with it for a couple hours now. I found a reproducible crash. I was creating a Transform Logic blueprint and I dragged the Query pin off Get Node Offset to create an Is Near Marker node. If you hit compile now with this node connected to your logic it will throw an error that you have not connected the Current Marker Transform pin. Okay so I connect this and it will compile fine. However you also need to set the Builder pin or it will crash the next time you save your Theme. This took me a couple minutes to find. Obviously it should also throw an error if the Builder pin isn’t set or connected as it does with the Current Marker Transform pin not being connected. And you might want to check the other query nodes for similar conditions to avoid other potential crashes.
> 
> Thanks for this great plugin. It’s really neat and gives me a lot of ideas. Very worth it.

@jivebowie Thank you for the bug report and for using DA. I’ve fixed the issue and will be available in the next build

---

<div class="post-metadata">

**Author:** ![Tortyfoo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tortyfoo](https://forums.unrealengine.com/u/Tortyfoo)\
**Post date:** [May 4, 2017, 2:56pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1663 "2017-05-04T14:56:41Z")

</div>

Just bought this on sale and hope to use it to kick-start me using Unreal (my PC really struggles with it). Had to post as it is page 42 of thread 🙂 Does mean 41 other pages to read though to catch up.

---

<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:** [May 4, 2017, 2:58pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1664 "2017-05-04T14:58:06Z")

</div>

> [@DrinkThisPotion;697288](#):
>
> ,  
> I’d like to create an emitter which occurs at the opening when a corridor is adjacent to a corridor padding or corridor, accessed by a stair. Sort of like a door marker but for corridors that end in a stairway and don’t connect directly to a room.
> 
> I could do this with get opening between cells, but I’d need a sorted array of adjacent cells.
> 
> ![corridoropening.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/f/6/f6e47662a7dc51c87881da1c155d33b922989316.png)
> 
> Basically at the bottom of the stairs is a corridor cell or padding, and at the top is a corridor cell or padding. I need to be able to detect this edge case and it would improve a lot of my themes.
> 
> Thanks!

@DrinkThisPotion I’ll expose the adjacent cell list in the next update

---

<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:** [May 4, 2017, 2:59pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1665 "2017-05-04T14:59:55Z")

</div>

> [@Tortyfoo;704146](#):
>
> Just bought this on sale and hope to use it to kick-start me using Unreal (my PC really struggles with it). Had to post as it is page 42 of thread 🙂 Does mean 41 other pages to read though to catch up.

@Tortyfoo Thank you for the purchase. Going through the documentation should be enough 🙂

[Quick Start Guide](http://coderespawn.github.io/dungeon-architect-quick-start-ue4)

[User Guide](http://coderespawn.github.io/dungeon-architect-user-guide-ue4)

[Video Tutorials](https://.youtube.com/playlist?list=PLGMINEyXduynNwHzwcNsPPBI2W2Rmf8fk)

[Roadmap](https://trello.com/b/ELfo4EcE/roadmap)

---

<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:** [May 4, 2017, 3:08pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1666 "2017-05-04T15:08:29Z")

</div>

> [@Wolfen;697314](#):
>
> Has anyone thought about making a thread or repo of BP’s for custom rules and marker emitters?

@Wolfen, Thank you for making this.

Wolfen’s list is : https://.pinterest.com/wolfen420/ue4-dungeon-architect-markers-and-rules/

---

<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:** [May 4, 2017, 3:14pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1667 "2017-05-04T15:14:59Z")

</div>

> [@jivebowie;698959](#):
>
> I’m trying to set a custom collision preset on my Fence objects through the Advanced Options tab under Mesh Details in the Dungeon Theme. It doesn’t appear to affect the resulting objects in the generated dungeon. Any ideas?

@jivebowie Try setting this on your art asset itself (i.e. open up your mesh in the mesh editor and set the collision preset there)

---

<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:** [May 4, 2017, 3:19pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1668 "2017-05-04T15:19:42Z")

</div>

> [@k1p1;699037](#):
>
> Hello Everybody!  
> I am creating a grid dungeon setting (linear, Spanning Tree Loop = 0, which unfortunately doesn’t mean there wouldn’t be any loops). Some doors will require specific key to be unlocked. Since this is pretty standard is there any high level functionality that I am missing or you should I implement my custom solution with “Get Path Between Cells”? If there are 2 path between 2 cells, which one will “Get Path Between Cells” return?

@k1p1 dungeon flow control is not supported and is a limitation for now. I’ll address it in the future builds

_Get Path Between Cells_ would return the shortest traversable path (through stairs, doors) between the two cells. There is a sample that demostrates this in the quick start guide

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/0/a40a5c0f8d169db96ea247d5bcfba7eb7d1ff471.jpeg)

---

<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:** [May 4, 2017, 3:36pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1669 "2017-05-04T15:36:26Z")

</div>

> [@CyberKatana;699581](#):
>
> After spawn actor i whant save ref to them and use it when spawning other actors(something like “observer”). Where i can store this ref?(i use dungeon grid template)

You could add empty blueprint actors as placeholders to represent your spawn points (instead of actually spawning the NPCs)

Then your blueprint can have the logic of spawning, instead of the theme file. You’d go through each spawn point position (by querying the blueprint actor you spawned from the theme file) and decide where to spawn and properly initialize them. I use this method for the shooter demo where a bunch of player start actors are scattered around the map and NPCs are spawned at runtime by picking a random PlayerStart actor that is not very near another character.

I’ll be adding a blackboard to the dungeon actor which you can use to save / load global data from different places (like your observer actor). It can be used to limit the no. of items spawned per level 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:** [May 4, 2017, 3:53pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1670 "2017-05-04T15:53:14Z")

</div>

> [@MaxPower42;702843](#):
>
> I just found out about this plugin after spending months trying to produce something similar.
> 
> I can’t even settle for a certain approach, because everything I try has so many problems and restrictions. When trying to solve those, my clean and simple ideas become so bloated with workarounds, it’s making me sick…
> 
> I tried something voxelized with elements inside the voxel-space or mostly at the borders between voxels. I also tried non-voxelized geometry with freely placed junction/connector-nodes that can have special “seperator”-elements.
> 
> Depending on what approach I currently tend towards, I’m having all kinds of problems with overlaps, inflexible connectivity between modules, irregular layout leaving the “grid” etc etc.
> 
> The stuff in your videos looks amazing. I noticed there aren’t any triangular floor-elements though, which is one of the things I am desperately trying to get done… well, the problem is really making them “connect” to other modules in a not-overly-restrictive way.
> 
> I wish there was a trial version or something, because I’d really like to know what options and parameters you have for creating levels at runtime, and how open and extendable the system is. For example, could I make an in-game “build-mode” where the player can change the level (with restrictions) at runtime using your system (EDIT: nevermind, I saw in the manual there’s player building)? And could I write my own level generation procedures with or without whatever sub-algorithms you may have in place?

@MaxPower42 It’s on sale right now (50% off) 😉

The dungeon layout algorithm can be swapped out with another implementation. The default implementation you see in the video is called the Grid Builder. there are other implementations as well which are a work in progress (floor plan, snap, city etc). You can write your own implementations.

Circular / Angular walls are not supported in the grid builder (you could use rules to add a different mesh in the corners)

The quick start guide comes with a sample game mode that shows how the dungeon layout can be modified by the player. However it is not a in-game level editor and it would require more work as part of your game development (UI, save / load 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:** [May 4, 2017, 3:54pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1671 "2017-05-04T15:54:49Z")

</div>

> [@DrinkThisPotion;697608](#):
>
> Bug found: Spatial Constraints cause meshes to not spawn in runtime generated dungeon in Standalone mode.
> 
> Steps to reproduce in sample project:  
> -Open Runtime Dungeon Map.  
> -In the starter pack theme, add any mesh and apply spatial constraint.  
> -The mesh will not spawn in Standalone mode. (works fine in editor) - meshes appear to never even be placed by DA.  
> -UE 4.15, DA 2.6

@DrinkThisPotion Thanks for letting me know. I’ll fix it in the next build

---

<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:** [May 4, 2017, 3:57pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1672 "2017-05-04T15:57:58Z")

</div>

> [@antsonthetree;703666](#):
>
> Hello!
> 
> First - this thing is . Great work and thank you for making this available to the rest of us.
> 
> I’m curious how well DA supports multiplayer games? Can a seed be used to gen identical dungeons on clients? Can a manually edited dungeon be replicated to clients along with the edited parts? What other gotchas/caveats are involved when using this plugin in a multiplayer game?
> 
> Thanks!

@antsonthetree Thank you! As long as the dungeon configuration is the same, it will generate the same level. So you can replicate the dungeon configuration object (seed + other config params) and it would generate the same dungeon on all clients

---

<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:** [May 4, 2017, 4:01pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1673 "2017-05-04T16:01:18Z")

</div>

DA in VR

watch?v=VmNnMF0Q9Cs

---

<div class="post-metadata">

**Author:** ![Hyncharas](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hyncharas/32/470574_2.png) [@Hyncharas](https://forums.unrealengine.com/u/Hyncharas)\
**Post date:** [May 4, 2017, 6:07pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1674 "2017-05-04T18:07:50Z")

</div>

Would you be able to make a top-down game with the plugin but, if the assets used were optimised for 1st/3rd-person, also create cinematics with Sequencer?

The reason I ask is because our project has decided to go the “Shadow Complex” route, but the environment in that allows for 3rd-person cutscenes as well.

---

<div class="post-metadata">

**Author:** ![acatalept](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/acatalept/32/465177_2.png) [@acatalept](https://forums.unrealengine.com/u/acatalept)\
**Post date:** [May 4, 2017, 7:12pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1675 "2017-05-04T19:12:45Z")

</div>

Can I ask how long this will be on sale? Thinking about picking it up just to experiment and support your work, but not sure if there’s room in the budget just this moment 😉

Regardless, this looks absolutely worth full price, amazing work!

---

<div class="post-metadata">

**Author:** ![DrTiddlywinks](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DrTiddlywinks](https://forums.unrealengine.com/u/DrTiddlywinks)\
**Post date:** [May 4, 2017, 7:23pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1676 "2017-05-04T19:23:28Z")

</div>

Hi, I’m very interested in purchasing this, but I have one question.

If I use this in my project, is it possible for me to alter the underlying generation algorithm? At first glance, (and forgive me if I’m wrong, I’ve only looked at the store pages) the dungeons are generated on a space-partition or cell-generating model described in:

[donjon; d20 Random Dungeon Generator](http://donjon.bin.sh/d20/dungeon/) and [http://pcgbook.com/wp-content/uploads/chapter03.pdf](http://pcgbook.com/wp-content/uploads/chapter03.pdf)

In other words, it looks like it spawn some volumes, connects them and then generates connectors.

I would like to change the logic to be a little more graph-based implementation similar to described :  
http://.ludomotion.com/pdfs/ContentGenerationInDungeonRun.pdf

Instead, I’d like to create a model, which spawns rooms and spawns connectors. Is this possible?

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [May 4, 2017, 8:19pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1677 "2017-05-04T20:19:51Z")

</div>

> [@acatalept;704300](#):
>
> Can I ask how long this will be on sale? Thinking about picking it up just to experiment and support your work, but not sure if there’s room in the budget just this moment 😉
> 
> Regardless, this looks absolutely worth full price, amazing work!

Only 24 hours

---

<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:** [May 4, 2017, 8:24pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1678 "2017-05-04T20:24:17Z")

</div>

> [@;704190](#):
>
> DA in VR
> 
> watch?v=VmNnMF0Q9Cs

Is it possible for you to make a demo build that we can just run and test in VR? (binary) Please :o

---

<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:** [May 4, 2017, 8:35pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1679 "2017-05-04T20:35:21Z")

</div>

Just got DA on sale! Get ready to be swamped with questions and proposals 😃

is the first batch.

Does this AI system work with DA https://.unrealengine.com/marketplace/ai-behavior-toolkit ?

Some folks say that UE4 performs horribly with DA because dynamic lighting is not culled. Is it a general problem with UE4 or is it something that should be implemented in DA ? (culling stationary / dynamic lights based on their occlusion)

Thanks

---

<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:** [May 5, 2017, 3:26am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1680 "2017-05-05T03:26:08Z")

</div>

> [@David Ott;704306](#):
>
> Hi, I’m very interested in purchasing this, but I have one question.
> 
> If I use this in my project, is it possible for me to alter the underlying generation algorithm? At first glance, (and forgive me if I’m wrong, I’ve only looked at the store pages) the dungeons are generated on a space-partition or cell-generating model described in:
> 
> [donjon; d20 Random Dungeon Generator](http://donjon.bin.sh/d20/dungeon/) and [http://pcgbook.com/wp-content/uploads/chapter03.pdf](http://pcgbook.com/wp-content/uploads/chapter03.pdf)
> 
> In other words, it looks like it spawn some volumes, connects them and then generates connectors.
> 
> I would like to change the logic to be a little more graph-based implementation similar to described :  
> [http://www.ludomotion.com/pdfs/ContentGenerationInDungeonRun.pdf](http://www.ludomotion.com/pdfs/ContentGenerationInDungeonRun.pdf)
> 
> Instead, I’d like to create a model, which spawns rooms and spawns connectors. Is this possible?

[MENTION=256462]David Ott[/MENTION] Sure, you can swap out the layout algorithm with your own implementation. Right now there are about 4 different implementations (grid, snap, city, floor plan) and you choose your implementation from the drop down list in the dungeon actor. The layout algorithm is called a “Builder” in DA

[https://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/assets/images/da\_design\_builder.png](https://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/assets/images/da_design_builder.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:** [May 5, 2017, 3:34am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1681 "2017-05-05T03:34:16Z")

</div>

> [@anonymous\_user\_87fb381borsep;704361](#):
>
> Just got DA on sale! Get ready to be swamped with questions and proposals 😃
> 
> is the first batch.
> 
> Does this AI system work with DA [AI Behavior Toolkit in Blueprints - UE Marketplace](https://www.unrealengine.com/marketplace/ai-behavior-toolkit) ?
> 
> Some folks say that UE4 performs horribly with DA because dynamic lighting is not culled. Is it a general problem with UE4 or is it something that should be implemented in DA ? (culling stationary / dynamic lights based on their occlusion)
> 
> Thanks

@ Thank you for your support.

AI Behavior Toolkit works with DA and this game uses it. I had to modify it a bit to make it work with my custom wander system where the pedestrians automatically wander around the procedurally generated city

watch?v=ybZuP8ikTsE

I’m looking into generating the dungeon across multiple map files (exploring this in Unity but will apply to UE4 as well) and then stream them in when the player gets close. I already have the data of different clusters to distribute across the various streaming levels (same way clustered theming works) and streaming volumes can be placed near the doors. I need to explore if creation of new levels is allowed at runtime in UE4 so they can be later streamed in

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

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