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

<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 16, 2016, 3:35pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1399 "2016-12-16T15:35:10Z")

</div>

> [@dkoding;638118](#):
>
> _@_ Any ETA for the scaling problem with spawn and the failing physics constraints on spawn using Runtime builder? Did you get my trouble asset I send on mail?

@dkoding I’ve found the root cause of the scaling issue. However it requires a lot of testing, I’ll get it done over the weekend. I’ll have a look at your physics crash 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:** [December 16, 2016, 3:36pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1400 "2016-12-16T15:36:33Z")

</div>

> [@;638959](#):
>
> However it needs to be done. I imagine I would build a piece manually in the Editor, then convert it into BP actor (unless that’s not possible in UE4 currently). I am sure I could build it as BP actor to begin with. It’s just not designed to be worked with like that IMO.
> 
> The custom set piece will be on the grid, as if it was generated by DA (2 x 4 let’s say) with connecting junctions also placed on the grid (so a door or a hallway entrance, for example, would be located where they would have been if DA would generate it; not offset or anything like that). However inside of that 2 x 4 set piece nothing would be on the grid. I should probably make a sketch explaining it.

This is a much requested feature. I’ll explore ways to add this in the grid builder over the weekend

---

<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:** [December 16, 2016, 3:37pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1401 "2016-12-16T15:37:55Z")

</div>

> [@;638964](#):
>
> This is a much requested feature. I’ll explore ways to add this in the grid builder over the weekend

What about Snap builder ? (since I am working with multi-story/floor dungeon)

---

<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 16, 2016, 3:40pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1402 "2016-12-16T15:40:16Z")

</div>

> [@anonymous\_user\_87fb381borsep;638522](#):
>
> I don’t know if it’s upcoming holidays or what, but this thread used to be more lively/responsive ☹
> 
> Are there any docs with guidelines about designing modular geometry for DA ? (mostly interested in tile dimensions and general guidelines)

@, The usual modular art guidelines apply and DA would adapt to it. The pivot and grid size can be adjusted from within the theme editor. Having your wall pillars not baked into the wall meshes would help as they can be added separately from the theme editor

---

<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:** [December 16, 2016, 3:51pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1403 "2016-12-16T15:51:15Z")

</div>

> [@;638936](#):
>
> @DrinkThisPotion, it contains a lot of modified third party dependencies which I cannot share. The Industrial Hangar art asset is not modular. It didn’t have the X road junction, so I’ve made a custom one by modifying the existing T-road junction in blender. Since this becomes derived work, I cannot redistribute the mesh. I’ll check with the author. I’ve also modified the AIBehaviorToolkit a bit to make the NPCs walk all around the city by themselves without needing an explicit spline path as required by the asset.
> 
> I’ll create a stand alone demo with free assets when I get time and share it

Sorry, I meant the long corridor selector / emitter example.

---

<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 16, 2016, 4:25pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1404 "2016-12-16T16:25:53Z")

</div>

> [@DrinkThisPotion;635625](#):
>
> Does anyone have an emitter which detects a very long corridor with a lot of space? If not, anybody have ideas on how to accomplish?

@DrinkThisPotion I’ll have that by tomorrow. In the mean time, I’ll need more info. How would you like to have the result? What do you intend to do with the resulting corridor?

---

<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:** [December 16, 2016, 5:15pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1405 "2016-12-16T17:15:57Z")

</div>

> [@;638989](#):
>
> @DrinkThisPotion I’ll have that by tomorrow. In the mean time, I’ll need more info. How would you like to have the result? What do you intend to do with the resulting corridor?

I would like to theme override the corridor and corridor padding between rooms, so I can create different themes for different corridors rather than just one section of a corridor.

–  
Separately for another design, I need to find a way in rooms to emit a marker paths between each door so I can build bridges between doors and not have a floor. Currently I couldn’t figure out a way to do this.

---

<div class="post-metadata">

**Author:** ![Ratamorph](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ratamorph](https://forums.unrealengine.com/u/Ratamorph)\
**Post date:** [December 16, 2016, 8:27pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1406 "2016-12-16T20:27:22Z")

</div>

Hi [MENTION=28980][/MENTION], I’m having an issue with the point light node, it places the lights as it should but when I try to bake lighting for the dungeon I get the following error:

MapCheck:Warning: Warning PointLight\_257 ‘PointLight\_257’ has same light GUID as ‘PointLight\_140’ (Duplicate and replace the orig with the new one)

I get this for every single light in the scene which seems like it’s preventing the proper bake of lighting coming from these lights.

---

<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 17, 2016, 6:12am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1407 "2016-12-17T06:12:51Z")

</div>

> [@Ratamorph;639102](#):
>
> Hi [MENTION=28980][/MENTION], I’m having an issue with the point light node, it places the lights as it should but when I try to bake lighting for the dungeon I get the following error:
> 
> MapCheck:Warning: Warning PointLight\_257 ‘PointLight\_257’ has same light GUID as ‘PointLight\_140’ (Duplicate and replace the orig with the new one)
> 
> I get this for every single light in the scene which seems like it’s preventing the proper bake of lighting coming from these lights.

@Ratamorph Thanks for the bug report. I’ve fixed the issue and it will be available 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:** [December 17, 2016, 11:06am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1408 "2016-12-17T11:06:08Z")

</div>

Clustered Theming

Automatically apply different themes to various parts of your dungeon using the new clustered theming feature

It groups all connected corridors together into clusters. The room and corridor clusters are then applied different themes automatically without having to deal with volumes

This will help in adding variation to your level. The following level uses 3 different themes

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/1/3/41306bfc05a5d3f7203c1322983fa04aff7a0eb6.jpeg)  
I’ll create a more beautiful example with the Hell Forge demo

You do this by enabling clustered theming from the configuration

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/e/f4e8941982da6a3ef5726a4ed244af222c9fce2a.png)  
Then assign the themes you’d like to add on various clusters.

![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/d/35d450983676e18f09809f005987da910ae062bb.png)  
is how the clusters are created (debug data, each color is a cluster)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/d/ccd7f155419180320539f61473d1159ca8722f81.jpeg)  
Height variations will also be taking into consideration as long as it is able to reach it (though a stair). It can also be turned of (notice lower right corridor)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/0/c103630c56d65872fe14311ff2be3706a8123aa9.jpeg)  
The system is generic enough to allow different builders to also use this feature. For now, only the grid builder uses it

@DrinkThisPotion @arvinmoses @Laurentius

---

<div class="post-metadata">

**Author:** ![TechLord](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/techlord/32/1040563_2.png) [@TechLord](https://forums.unrealengine.com/u/TechLord)\
**Post date:** [December 17, 2016, 12:15pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1409 "2016-12-17T12:15:06Z")

</div>

Hi , I really appreciate the viral and horde-forming mechanics in Zombie City. In my opinion, one of the most effect uses for Zombies, I wish more Zombie games would take advantage of the Viral mechanic.

City Builder is looking really nice. Atter viewing the Zombie City, I can definitely imagine putting City Builder to use in developing a Alien Invasion Survival/Crafting Game concept I’ve been stewing over. Keep up the work!

---

<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:** [December 17, 2016, 3:24pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1410 "2016-12-17T15:24:11Z")

</div>

> [@;639296](#):
>
> Clustered Theming
> 
> Automatically apply different themes to various parts of your dungeon using the new clustered theming feature
> 
> The system is generic enough to allow different builders to also use this feature. For now, only the grid builder uses it
> 
> @DrinkThisPotion @arvinmoses @Laurentius

Thanks, Looks good! I am still on DA 2.2.0 since some of the bugs mentioned in later updates worried me and I have built a lot around the query feature. The clustering feature removing the need for volumes would be nice, making it less level dependent for a runtime project and giving the ability to override whole corridors, which is exactly what has been a struggle 🙂

---

<div class="post-metadata">

**Author:** ![RoyAwesome](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RoyAwesome](https://forums.unrealengine.com/u/RoyAwesome)\
**Post date:** [December 18, 2016, 5:17am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1411 "2016-12-18T05:17:41Z")

</div>

Hey, a quick feature request, it would be nice to be able to drag static meshes and actors from the Content Browser and drop them into the graph of a Dungeon Theme, automatically creating the proper Mesh or Actor node. This would make the workflow for creating a new theme much quicker!

EDIT: Found a bug. If an Actor has a Child Actor Component and you increase the Cell Size of your dungeon, the Child Actor’s positions do not update.

---

<div class="post-metadata">

**Author:** ![Laurentius](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Laurentius](https://forums.unrealengine.com/u/Laurentius)\
**Post date:** [December 18, 2016, 1:34pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1412 "2016-12-18T13:34:22Z")

</div>

> [@;639296](#):
>
> Clustered Theming
> 
> Automatically apply different themes to various parts of your dungeon using the new clustered theming feature …

Nice to have more control over themes and the avoidance of too many themereplacementvolumes scattered all over the level is a nice addition, too.  
Will be really handy if used in conjunction with the “gameflow” editor on which you work. Entrance, exit, bossroom or library with clustered theme control will be great.

Studying the screenshot of your debug dungeon I found some problematic areas in the layout. Stairs that are at room borders are not only visually very ugly but can break  
gameplay as unreachable areas where doors meets stairs could be generated.

Is it possible to limit heightvariations to corridors and suppress them near rooms? I really like having heightvariations in the random levels but it’s problematic without control.

 ![c10bfcea94d3fb6d2abbbec5b8dc6c3329353743.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/1/0/c10bfcea94d3fb6d2abbbec5b8dc6c3329353743.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:** [December 19, 2016, 8:50am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1413 "2016-12-19T08:50:07Z")

</div>

> [@RoyAwesome;639584](#):
>
> Hey, a quick feature request, it would be nice to be able to drag static meshes and actors from the Content Browser and drop them into the graph of a Dungeon Theme, automatically creating the proper Mesh or Actor node. This would make the workflow for creating a new theme much quicker!

@RoyAwesome That’s definitely a useful feature and is on my todo list. I’ve tried to implemented it a few weeks ago but couldn’t find a way to get the drop event from the graph editor. I’ll have a look at how the blueprint editor does it (when you drag drop function names into the blueprint editor) when I get time

> [@](#):
>
> EDIT: Found a bug. If an Actor has a Child Actor Component and you increase the Cell Size of your dungeon, the Child Actor’s positions do not update.

I just tested and couldn’t reproduce the bug. Could you give more info on how the blueprint is built?

---

<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 19, 2016, 8:51am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1414 "2016-12-19T08:51:07Z")

</div>

> [@Laurentius;639661](#):
>
> Is it possible to limit heightvariations to corridors and suppress them near rooms? I really like having heightvariations in the random levels but it’s problematic without control.

@Laurentius it should be possible, I’ll add a flag after the next update (2.5+)

---

<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 19, 2016, 9:47am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1415 "2016-12-19T09:47:42Z")

</div>

> [@;634453](#):
>
> @dkoding, I’ve tested the physics constraints on runtime spawned actors and it seem to works fine with 2.3.1. Could you check again and send me the actor file if it doesn’t work correctly?
> 
> watch?v=4oOossqWNqo
> 
> I see the scaling issue in runtime actors. I’ll investigate why

I’ve tested this again and the physics constraint doesn’t work if one of the components is static. I’ve fixed the issue and it will be available 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:** [December 19, 2016, 11:32am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1416 "2016-12-19T11:32:55Z")

</div>

> [@RoyAwesome;639584](#):
>
> EDIT: Found a bug. If an Actor has a Child Actor Component and you increase the Cell Size of your dungeon, the Child Actor’s positions do not update.

The issue is fixed and will be available in the next update. This was caused due to an optimization I have while rebuilding the dungeon. On a rebuild, previous dungeon actors that are similar are reused and just moved around (instead of recreating them). I’ve added a flag to mark all actor node created actors as complex actors. These actors would not be reused and will be recreated. This will make the physics and everything work correctly by destroying the old ones and recreating them again. The destructible actor is also marked to be recreated (as we want the fractured mesh state to be reset on a dungeon rebuild at runtime)

---

<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 19, 2016, 11:56am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1417 "2016-12-19T11:56:05Z")

</div>

> [@dkoding;638118](#):
>
> _@_ Any ETA for the scaling problem with spawn and the failing physics constraints on spawn using Runtime builder? Did you get my trouble asset I send on mail?

@dkoding The physics constraint works fine with the latest dev build at runtime. (Note: I had to move the door a bit up (~15 cm) so the door does not collide with the ground and was not opening)

---

<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 19, 2016, 12:32pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1418 "2016-12-19T12:32:30Z")

</div>

> [@;639993](#):
>
> @dkoding The physics constraint works fine with the latest dev build at runtime. I had to move the door a bit up (~15 cm) so the door does not collide with the ground and was not opening

@dkoding actor scaling issue is fixed

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

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