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

<div class="post-metadata">

**Author:** ![PolygonHive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PolygonHive](https://forums.unrealengine.com/u/PolygonHive)\
**Post date:** [November 22, 2018, 9:54pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2272 "2018-11-22T21:54:01Z")

</div>

I can confirm this is now fixed 🙂

---

<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:** [November 23, 2018, 12:33am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2273 "2018-11-23T00:33:30Z")

</div>

**4.21 update is available.**

Please restart your launcher and install it to your engine. The Mac version still has deployment issues and the marketplace team is working on 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:** [November 23, 2018, 12:36am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2274 "2018-11-23T00:36:05Z")

</div>

> [@](#):
>
> At the moment no. I’ve exposed the Cluster Theme list variable to blueprints so you should be able to access and modify it at runtime (on version 2.10.1+)

> [@Vokyupi](#):
>
> [USER=“28980”][/USER] Thanks for your reply. I got also another question. Is there a way to change clustered themes on the run time?

I added this in the recent update. You should be able to set this from blueprints from the current version (2.10.0)

---

<div class="post-metadata">

**Author:** ![PolygonHive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PolygonHive](https://forums.unrealengine.com/u/PolygonHive)\
**Post date:** [November 23, 2018, 10:54am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2275 "2018-11-23T10:54:20Z")

</div>

Hello & everyone 🙂

I would like to know if there is any documentation / quick start guide for using the Dungeon Flow System, if not maybe just a quick paragraph to get us started using it.  
I think it’s an amazing feature and kind of what was missing to really take advantage of the power of Runtime Dungeon Generation but I couldn’t get a grasp of how it’s supposed to work.

Thanks in advance,

---

<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:** [November 23, 2018, 12:20pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2276 "2018-11-23T12:20:19Z")

</div>

I’ve rewritten the snap map builder with a new algorithm and is now fully integrated with the dungeon flow graph (mission graph). So you can create rules like these (left) and have procedural levels built with the generated graph (right)

 ![20181117-18_43_30Unreality-DebugGame--Unreal-Editor.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/8/78c0984db48eeefd510f3a2dd26d577572cbcb51.png)

I’m working on a rougelike sample game to go with this and will provide more info in the coming weeks. This also works well with 2.5D side scrollers and should work with Paper2D as well when it is supported

I’ve removed the MainBranch / Side branch parameters from the config as they are no longer needed as you create create more complex graphs from .

In the first phase, loops will not be supported (As a workaround you use Teleporters to move around, like in Dead Cells and Gungeon)

In the second phase, I’ll add support for loops with procedurally generated passages to connect the loops

In the third phase, you’ll have another graph which gives you more control on how the rules are executed, inspired by [Joris Dorman’s work](https://.youtube.com/watch?v=mA6PacEZX9M) (for now, all the grammar rules are executed in each step)

---

<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:** [November 23, 2018, 4:28pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2277 "2018-11-23T16:28:21Z")

</div>

Great news [USER=“28980”][/USER]

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1f249c231](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1f249c231](https://forums.unrealengine.com/u/anonymous_user_1f249c231)\
**Post date:** [November 23, 2018, 5:42pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2278 "2018-11-23T17:42:11Z")

</div>

Hi [USER=“28980”][/USER],

I’ve had a quick go at getting that function to work but as you’ve said the selection and spawn logics don’t work in tandem. So I was wondering if I created a separate blueprint for the object, which had a how many of these objects have spawned checker and the had a destroy self if over N would that theoretically work?

I appreciate it’s not quite DA related but thought you may have better insight than myself 🙂

Cheers!

_ **Edit** _

So I created a spawn logic like this, however as expected once the counter reaches over 1 it’s destroying all instances of the actor. Is there any way I could keep a singular instance spawned but destroy the rest?

---

<div class="post-metadata">

**Author:** ![Gim117](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gim117](https://forums.unrealengine.com/u/Gim117)\
**Post date:** [November 24, 2018, 2:53pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2279 "2018-11-24T14:53:56Z")

</div>

> [@zouking](#):
>
> Hello,  
> I am having trouble building my game, I keep getting"
> 
> Can anyone help with that?
> 
> **{SOLVED}**

how was this solved? Ran into the same issue trying to build for win64 with ue4.20

---

<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:** [November 28, 2018, 6:40am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2281 "2018-11-28T06:40:32Z")

</div>

> [@Anasel](#):
>
> Hello & everyone 🙂
> 
> I would like to know if there is any documentation / quick start guide for using the Dungeon Flow System, if not maybe just a quick paragraph to get us started using it.  
> I think it’s an amazing feature and kind of what was missing to really take advantage of the power of Runtime Dungeon Generation but I couldn’t get a grasp of how it’s supposed to work.
> 
> Thanks in advance,

@Anasel I’ll have this feature available 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:** [November 28, 2018, 8:04am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2282 "2018-11-28T08:04:02Z")

</div>

> [@anonymous\_user\_1f249c231](#):
>
> Hi [USER=“28980”][/USER],
> 
> I’ve had a quick go at getting that function to work but as you’ve said the selection and spawn logics don’t work in tandem. So I was wondering if I created a separate blueprint for the object, which had a how many of these objects have spawned checker and the had a destroy self if over N would that theoretically work?
> 
> I appreciate it’s not quite DA related but thought you may have better insight than myself 🙂
> 
> Cheers!
> 
> _ **Edit** _
> 
> So I created a spawn logic like this, however as expected once the counter reaches over 1 it’s destroying all instances of the actor. Is there any way I could keep a singular instance spawned but destroy the rest?

You could try using a marker emitter blueprint. This allows you to query the entire level layout and emit markers where you need them (N in your case). There are a few examples in the quick start samples (e.g. the room center emitter, which emits a marker at the center of the room. You can use the same logic to emit markers on different rooms you select)

---

<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:** [November 28, 2018, 8:09am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2283 "2018-11-28T08:09:44Z")

</div>

> [@Gim117](#):
>
> how was this solved? Ran into the same issue trying to build for win64 with ue4.20

The issue is caused because I used a very generic name for one of the data structures named FCell. If another library uses the same name, it won’t link while building. In C++ the right way to fix this would be to wrap this in a namespace, but that is not supported with USTRUCT and UCLASS due to engine constraints.

I’ll rename FCell to FGridCell in the next build and add a class redirect in the plugin config so it doesn’t break anything

---

<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:** [November 28, 2018, 12:27pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2284 "2018-11-28T12:27:12Z")

</div>

I’ve fixed streaming issues and other crash issues with the snap builder. It also works with BSP if you want to prototype your levels with it.

---

<div class="post-metadata">

**Author:** ![Gim117](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gim117](https://forums.unrealengine.com/u/Gim117)\
**Post date:** [November 28, 2018, 2:44pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2285 "2018-11-28T14:44:53Z")

</div>

> [@](#):
>
> The issue is caused because I used a very generic name for one of the data structures named FCell. If another library uses the same name, it won’t link while building. In C++ the right way to fix this would be to wrap this in a namespace, but that is not supported with USTRUCT and UCLASS due to engine constraints.
> 
> I’ll rename FCell to FGridCell in the next build and add a class redirect in the plugin config so it doesn’t break anything

This is great thanks! looking forward to it. I really love this plugin 🙂

---

<div class="post-metadata">

**Author:** ![BrUnO\_XaVIeR](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruno_xavier/32/1110230_2.png) [@BrUnO\_XaVIeR](https://forums.unrealengine.com/u/BrUnO_XaVIeR)\
**Post date:** [November 28, 2018, 4:09pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2286 "2018-11-28T16:09:28Z")

</div>

I began to place prefixes everywhere because that…  
For example nowadays I would call it something like “_FDGA\_Cell_”, etc. Tired of hitting this kind of issue drove me to that :s

---

<div class="post-metadata">

**Author:** ![uced](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@uced](https://forums.unrealengine.com/u/uced)\
**Post date:** [December 1, 2018, 6:15am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2287 "2018-12-01T06:15:31Z")

</div>

Hi 🙂

I hope you’re well !

I have an issue with multiple themes, don’t know if it’s by design.

I’d like to give the players the possibility to add an optional theme containing a ceiling on top of rooms.

So i’ve added an extra theme containing only the ceiling.

Main theme:  
 ![GroundTheme.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/f/bfd89575edbef8587924ff63dac1f94e96379467.jpeg)

Optional theme:

 ![CeilingTheme.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/9/e99540d69ad8758ab41636c61c3c9d118263ca6f.jpeg)

But when i load both themes, i get either the ground or the ceiling, apparently randomly:

 ![DoubleThemePb.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/7/a78f7ee0c7f30402cb35c6a4a06bacdbc6413812.jpeg)

Am i missing an option to fully add multiple themes or is that something you can fix ?

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:** [December 1, 2018, 1:02pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2288 "2018-12-01T13:02:21Z")

</div>

> [@uced](#):
>
> Hi 🙂
> 
> I hope you’re well !
> 
> I have an issue with multiple themes, don’t know if it’s by design.
> 
> I’d like to give the players the possibility to add an optional theme containing a ceiling on top of rooms.
> 
> So i’ve added an extra theme containing only the ceiling.
> 
> Main theme:
> 
> ![GroundTheme.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/f/bfd89575edbef8587924ff63dac1f94e96379467.jpeg)
> 
> Optional theme:
> 
> ![CeilingTheme.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/e/9/e99540d69ad8758ab41636c61c3c9d118263ca6f.jpeg)
> 
> But when i load both themes, i get either the ground or the ceiling, apparently randomly:
> 
> ![DoubleThemePb.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/7/a78f7ee0c7f30402cb35c6a4a06bacdbc6413812.jpeg)
> 
> Am i missing an option to fully add multiple themes or is that something you can fix ?
> 
> Thanks 🙂

Hey , in your base theme file create an empty marker with a name (like OptionalCeiling). Then from the base theme’s ground node, emit a marker emitter to OptionalCeiling with probablity 1

Similary create another marker OptionalCeiling in the optional theme file as well and add the ceiling meshes there.

When the theme engine encounters OptionalCeiling in the scene, it will search for all the theme files that have this marker (excluding the empty ones, which is the base theme file). If more than one themes have the same marker, it randomly picks one (which is why you are getting the ground marker issues)

The hell forge demo uses multiple themes in this way

watch?v=aZUF0kZYx6Q

---

<div class="post-metadata">

**Author:** ![uced](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@uced](https://forums.unrealengine.com/u/uced)\
**Post date:** [December 1, 2018, 2:01pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2289 "2018-12-01T14:01:36Z")

</div>

Thanks again, super clear and worked wonderfully 🙂

 ![CeilingOK.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/7/a/7a158ac82a7e5d546679b901aaf01c58af1eba0e.jpeg)

Thanks also for the explanation about how markers with the same name are handled, very very useful 🙂

Cheers

---

<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:** [December 1, 2018, 3:40pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2290 "2018-12-01T15:40:14Z")

</div>

Created a few characters and a cell shader to use with DA Sample games.

https://.youtube.com/watch?v=0c0N3NB-6eI

---

<div class="post-metadata">

**Author:** ![SakushiMei](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sakushimei/32/599207_2.png) [@SakushiMei](https://forums.unrealengine.com/u/SakushiMei)\
**Post date:** [December 2, 2018, 9:35pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2291 "2018-12-02T21:35:37Z")

</div>

> [@Raverix](#):
>
> Hello, I just purchased the Dungeon Architect, and when I go into ‘Paint Mode’, I’m expecting to see blue and green tiles representing the path, but neither show, just a black outline as I move the cursor, suggestions?

> [@](#):
>
> @Raverix I’ll fix the paint cursor issue in the next update

I’m having the same problem. There is just a black outline. I’ve tested it with the samples (the soul cave, the ice and fire forges) and they all just return a black outline. I’ve searched this thread and didn’t find anything. I don’t believe this is a bug with the plugin itself, so how do I fix 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:** [December 3, 2018, 8:39am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2292 "2018-12-03T08:39:39Z")

</div>

> [@SakushiMei](#):
>
> I’m having the same problem. There is just a black outline. I’ve tested it with the samples (the soul cave, the ice and fire forges) and they all just return a black outline. I’ve searched this thread and didn’t find anything. I don’t believe this is a bug with the plugin itself, so how do I fix this?

I’ve tested this recently and it showed up after a while. It’s probably a bug and I need to explicitly ask the engine to load the material. I’ll have a closer look

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

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