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

<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:** [January 17, 2017, 11:43am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1480 "2017-01-17T11:43:45Z")

</div>

I’ve updated an early access version of 2.5.0 so you can start using the new snap builder. There’s also a demo scene with around 20 snap modules to get you started. Download the snap demo files from

2.5.0-EA1 (Early Access)  
Change Log:

- Rewritten the snap builder to use blueprints, instead of levels for modules. This greatly improves the performance and stability
- Added a snap demo example with 20 modules of various sizes
- Fixed initialization issues with the actor node in the theme editor

The new blueprint based snap builder is fast and stable. This dungeon contains hundreds of rooms and was generated in under a second (the algorithm is fast but complex rooms may take more time to spawn)

There are still some issues to be resolved (the construction script messes up the state of the doors so you’ll have to build the dungeon after opening the map. I’ll fix this in the coming days

I’ll create a tutorial soon

watch?v=pKeHsHekjpE

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/4/e843beaa8e6ac7c34dcb8b5f84e4fedac95bebf6.jpeg)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/c/e/4ce4a2fa2b5c482c98f0d40a37466983c6d1c457.jpeg) ](https://i.imgur.com/MVMLGBM.jpg)

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

---

<div class="post-metadata">

**Author:** ![DoctorChocolate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DoctorChocolate](https://forums.unrealengine.com/u/DoctorChocolate)\
**Post date:** [January 17, 2017, 4:16pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1481 "2017-01-17T16:16:17Z")

</div>

Any Dungeon Architect pros want to join an early access game on Steam PM me!

---

<div class="post-metadata">

**Author:** ![lafilmcompany](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lafilmcompany](https://forums.unrealengine.com/u/lafilmcompany)\
**Post date:** [January 17, 2017, 10:07pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1482 "2017-01-17T22:07:46Z")

</div>

I am interested in buying this for the City builder. Do you have a demo of how this works for UE4? I seen it for unity on YouTube I would like to be able to create City Scenes for my game. Is this plugin compatible for VR? Looks wonderful.

---

<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:** [January 17, 2017, 10:11pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1483 "2017-01-17T22:11:58Z")

</div>

Perfect, ! Looking forward to testing 2.5.0-EA1

---

<div class="post-metadata">

**Author:** ![J.C.Smith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.C.Smith](https://forums.unrealengine.com/u/J.C.Smith)\
**Post date:** [January 18, 2017, 6:34am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1484 "2017-01-18T06:34:51Z")

</div>

@lafilmcompany: I haven’t tried it using the VR editing, but definitely levels created with it will work in VR. Because of the need for 90 fps though what I’ve found is that it’s best to use static lighting for lightmaps in VR as much as possible. So what I’ve done when I’ve used it on VR projects is compile out maps using static lighting and saving levels just to try to keep the frame rates as high as possible (which is important for VR).

---

<div class="post-metadata">

**Author:** ![vblanco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vblanco](https://forums.unrealengine.com/u/vblanco)\
**Post date:** [January 18, 2017, 2:26pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1485 "2017-01-18T14:26:40Z")

</div>

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.

---

<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:** [January 18, 2017, 2:37pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1486 "2017-01-18T14:37:41Z")

</div>

> [@;653014](#):
>
> … as each module would need to be a blueprint and i cant bake light or navmesh.

Why can’t you set your static meshes in the BP actor to be static and cast static shadows ? After level is generated, build lighting and it should have lightmaps.

---

<div class="post-metadata">

**Author:** ![vblanco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vblanco](https://forums.unrealengine.com/u/vblanco)\
**Post date:** [January 18, 2017, 3:17pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1487 "2017-01-18T15:17:46Z")

</div>

> [@;653018](#):
>
> Why can’t you set your static meshes in the BP actor to be static and cast static shadows ? After level is generated, build lighting and it should have lightmaps.

The whole point of using a generator is to build random levels at runtime.

---

<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:** [January 18, 2017, 3:26pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1488 "2017-01-18T15:26:29Z")

</div>

> [@;653033](#):
>
> The whole point of using a generator is to build random levels at runtime.

Indeed, and in runtime you can’t have anything baked. So, real-time lighting is the only way to lit your randomly generated dungeons. No lightmaps at all. So, I am not sure why you saying you can’t bake lighting since, well, you can’t have baked lighting to begin with.

Navmesh generation is an issue, I agree.

---

<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:** [January 18, 2017, 5:31pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1489 "2017-01-18T17:31:47Z")

</div>

> [@;653014](#):
>
> 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.

I have been struggling with this as well. Is there a workaround way you can think of to force UE to cull? Is there a type of volume or perhaps just a special mesh which would force lighting cull? This would help not just in snap builder, but in any reasonably sized DA level as well.

---

<div class="post-metadata">

**Author:** ![n00854180t](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n00854180t](https://forums.unrealengine.com/u/n00854180t)\
**Post date:** [January 18, 2017, 6:25pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1490 "2017-01-18T18:25:13Z")

</div>

> [@;653040](#):
>
> Indeed, and in runtime you can’t have anything baked. So, real-time lighting is the only way to lit your randomly generated dungeons. No lightmaps at all. So, I am not sure why you saying you can’t bake lighting since, well, you can’t have baked lighting to begin with.
> 
> Navmesh generation is an issue, I agree.

Because with the old snap builder he could gen lightmaps for each piece in the level for them, then they will have lightmaps when generated.

TBH, I also need something like this but stayed away from the snap builder when it was using levels for each piece due to the overhead in building pieces in separate levels, but this has me rethinking it.

---

<div class="post-metadata">

**Author:** ![vblanco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vblanco](https://forums.unrealengine.com/u/vblanco)\
**Post date:** [January 18, 2017, 6:34pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1491 "2017-01-18T18:34:34Z")

</div>

> [@DrinkThisPotion;653122](#):
>
> I have been struggling with this as well. Is there a workaround way you can think of to force UE to cull? Is there a type of volume or perhaps just a special mesh which would force lighting cull? This would help not just in snap builder, but in any reasonably sized DA level as well.

Have you tried the forward renderer? Ive seen massive speedup on the dungeons with it, becouse it will do some light culling due to the way it tiles the lights (but too many lights will be too much work on the shader).

---

<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:** [January 18, 2017, 6:36pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1492 "2017-01-18T18:36:56Z")

</div>

> [@n00854180t;653152](#):
>
> Because with the old snap builder he could gen lightmaps for each piece in the level for them, then they will have lightmaps when generated.
> 
> TBH, I also need something like this but stayed away from the snap builder when it was using levels for each piece due to the overhead in building pieces in separate levels, but this has me rethinking it.

Using levels as pieces is a bad idea IMO.

---

<div class="post-metadata">

**Author:** ![bfoster68](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bfoster68](https://forums.unrealengine.com/u/bfoster68)\
**Post date:** [January 18, 2017, 6:48pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1493 "2017-01-18T18:48:43Z")

</div>

> [@;643769](#):
>
> Blueprint based snap builder
> 
> [http://i.imgur.com/SPxLbRq.jpg](http://i.imgur.com/SPxLbRq.jpg)

That is amazing!!

---

<div class="post-metadata">

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

</div>

> [@;653163](#):
>
> Using levels as pieces is a bad idea IMO.

Outside of VR I agree, but for VR the ability to bake the lightmaps and then snap the pieces together is pretty crucial to avoiding dynamic lighting while being able to generate at runtime.

---

<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:** [January 18, 2017, 8:52pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1495 "2017-01-18T20:52:39Z")

</div>

> [@n00854180t;653211](#):
>
> Outside of VR I agree, but for VR the ability to bake the lightmaps and then snap the pieces together is pretty crucial to avoiding dynamic lighting while being able to generate at runtime.

Well, to be fair, only handful of people use it for VR 😉 Also, you don’t have to avoid dynamic lighting, just plan ahead and get clever with optimizing layouts. Lastly, dungeons generated offline can have baked lighting and I am 99.9% positive that generating them real-time will not make your game better. There are other ways to make pre-cooked dungeon feel like it’s random. I am personally going this route - many pre-cooked dungeons. If people really want more out of the game, either tech by then will be more optimized and handle lighting well, or I can simply generate more dungeons and offer them for free for as DLC.

---

<div class="post-metadata">

**Author:** ![n00854180t](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n00854180t](https://forums.unrealengine.com/u/n00854180t)\
**Post date:** [January 18, 2017, 11:55pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1496 "2017-01-18T23:55:20Z")

</div>

> [@;653228](#):
>
> Lastly, dungeons generated offline can have baked lighting and I am 99.9% positive that generating them real-time will not make your game better.

Doesn’t really matter if it makes it better when runtime random dungeon layouts is the #1 requested feature by potential players.

I think having a system that could support the level based snap pieces _and_ the blueprint ones would be ideal.

---

<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:** [January 19, 2017, 4:58pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1497 "2017-01-19T16:58:34Z")

</div>

Hi,  
Is there a way to exclude static meshes in a theme from being instanced by DA? If not, can you include a checkbox which would exclude a SM from being instanced? This would save me from replacing all SMs I don’t want instanced with actors.

Thanks!

---

<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:** [January 19, 2017, 5:13pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1498 "2017-01-19T17:13:31Z")

</div>

> [@n00854180t;653283](#):
>
> Doesn’t really matter if it makes it better when runtime random dungeon layouts is the #1 requested feature by potential players.

Well, you might have a handful of people asking about it now, but at the end of the day you will end up with finished game sooner and have a lot more paying customers who are engaged with pre-cooked dungeons. Just talking out of experience.

> [@n00854180t;653283](#):
>
> I think having a system that could support the level based snap pieces _and_ the blueprint ones would be ideal.

There was something about sub-level based system that didn’t work (and couldn’t work), which prompted to move to BP-based pieces. I forgot what it was.

---

<div class="post-metadata">

**Author:** ![n00854180t](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@n00854180t](https://forums.unrealengine.com/u/n00854180t)\
**Post date:** [January 19, 2017, 7:29pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1499 "2017-01-19T19:29:09Z")

</div>

> [@;653593](#):
>
> Well, you might have a handful of people asking about it now, but at the end of the day you will end up with finished game sooner and have a lot more paying customers who are engaged with pre-cooked dungeons. Just talking out of experience.

Meh, it’s not a handful, it’s basically _all_ players interested in the game that request this. And I also agree with them: randomized layouts at runtime provides a lot more replay, even if the areas are more generic (I have plans to combat this anyway).

Plus, runtime generation is a major benefit of using DA in the first place.

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

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