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

<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:** [February 25, 2016, 1:34pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/589 "2016-02-25T13:34:49Z")

</div>

> [@Alexarg;481118](#):
>
> yes @, that would be a feature!  
> One use case that I don’t know if is posible right now is:
> 
> \>I have a locked door A.  
> \>So player needs to find the Key A.  
> \>Question: could I make the Key A randomly appears Before the Door A?. I mean, I need the key A accessible and not blocked by the locked Door A.

@Alexarg, yes that should be possible. It’s simple graph theory to find a node (room / corridor cell) before the locked door cell. I used to play [Chips Challenge](http://store.steampowered.com/app/346850/) as a kid. Levels like those could be a good test case.

---

<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:** [February 25, 2016, 1:37pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/590 "2016-02-25T13:37:58Z")

</div>

Finished refactoring the code 🙂

DA now has a good core for future updates and is easy to extend with new builders. The editor mode tab picks up the UI and the tools (e.g. paint tool) from the builder’s implementation. So custom tooling for new builders can also be defined.

I’m now working on the UI corner constraints

---

<div class="post-metadata">

**Author:** ![ImmortalEmperor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/immortalemperor/32/466268_2.png) [@ImmortalEmperor](https://forums.unrealengine.com/u/ImmortalEmperor)\
**Post date:** [February 26, 2016, 12:38am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/591 "2016-02-26T00:38:34Z")

</div>

@ its it possible in your current system to have pre-made rooms (ala blueprints) during the inflation stage of your dungeon, say a pre-made start room and end room, that follow additional inflation rules like they repel each other ensuring that they are at opposite ends of the dungeon?

---

<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:** [February 26, 2016, 7:46am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/592 "2016-02-26T07:46:51Z")

</div>

> [@;480920](#):
>
> Would you folks be interested in an editor to control the high level dungeon flow?
> 
> In each node, you can attach reusable blueprint, to spawn NPCs, lock doors, spawn keys anywhere before those locked doors, spawn items after etc.

This would be !

---

<div class="post-metadata">

**Author:** ![SethPDA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SethPDA](https://forums.unrealengine.com/u/SethPDA)\
**Post date:** [February 27, 2016, 12:06pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/593 "2016-02-27T12:06:48Z")

</div>

> [@ImmortalEmperor;481560](#):
>
> @ its it possible in your current system to have pre-made rooms (ala blueprints) during the inflation stage of your dungeon, say a pre-made start room and end room, that follow additional inflation rules like they repel each other ensuring that they are at opposite ends of the dungeon?

This would be !

> [@;480920](#):
>
> Would you folks be interested in an editor to control the high level dungeon flow?
> 
> In each node, you can attach reusable blueprint, to spawn NPCs, lock doors, spawn keys anywhere before those locked doors, spawn items after etc.

Definitely would be great!!!

> [@;481140](#):
>
> Finished refactoring the code 🙂
> 
> DA now has a good core for future updates and is easy to extend with new builders. The editor mode tab picks up the UI and the tools (e.g. paint tool) from the builder’s implementation. So custom tooling for new builders can also be defined.
> 
> I’m now working on the UI corner constraints

Always good news!

---

<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:** [February 27, 2016, 1:57pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/594 "2016-02-27T13:57:51Z")

</div>

> [@ImmortalEmperor;481560](#):
>
> @ its it possible in your current system to have pre-made rooms (ala blueprints) during the inflation stage of your dungeon, say a pre-made start room and end room, that follow additional inflation rules like they repel each other ensuring that they are at opposite ends of the dungeon?

You can find two farthest rooms in the map (graph theory) and use them as start / End. The Control flow graph would give you more control on that when it’s done. I’ll provide a helper function to find these start / end rooms that are far apart. Have that in [Unity](https://.youtube.com/watch?v=kB0TxSByIF8)

---

<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:** [February 27, 2016, 2:04pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/595 "2016-02-27T14:04:21Z")

</div>

Spatial Constraint customization in Node level (for detecting corners, edges, etc)

watch?v=AMv7rFT6C1M

I poured through the engine code and got this detail customization finally working 🙂

A builder can define constraints (and corresponding UI) in the node level and work on those constraints for selecting the nodes

The default Grid based builder defines 3 constraint configuration

3x3 - useful for floor constraints  
2x2 - useful for pillar constraint  
Edge - useful for wall constraints

Each cell can have one of the 3 states:

- Occupied
- Empty
- Don’t Care

This way you can selectively add nodes that are designed for corners, edges. T-junctions, X-junctions, Single-lane corridors etc

I didn’t implement the logic yet. Will have more tomorrow

---

<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:** [February 27, 2016, 8:11pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/596 "2016-02-27T20:11:20Z")

</div>

Is it possible (or if not, would it be possible to implement) to defined areas/volumes within which runtime(or offline) generated dungeon can be re-generated (so that you trip a trigger, some parts of the dungeon would be “reconfigured”) ?

Is it already possible to have several “rooms” that are hand-made, and have DA to build connections between them ?

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [February 29, 2016, 10:02am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/597 "2016-02-29T10:02:41Z")

</div>

Ail by painting tool I mean something very simple:

- new volume (or maybe variant of existing one), or just paint over existing dungeon.
- list of all nodes created in theme designer (maybe some property there that says “expose” to painting tool, so its not cluttered by those minor nodes)
- and ability to rotate it 90 deg (or any snapping angle), and snap as walls floor or roof, at place of selected tile.

This mainly is for “fixing” where dungeon creating algorithm messed up. Like corners, doors that open right at some decoration meshes. Adding bigger windows, painting some decorations, or painting pipes under floor. Stuff that is doable currently but its a lot of work.

And second idea, this time for mobile developers:  
They would be really happy (because 100mb file size limit hurts), to have snapshot and save of dungeon, so they could save all tiles and seed of dungeon instead of saving level unreal way. This thing could save some megabytes for them.

And yes this plugin works for mobile, just not in runtime (well maybe in runtime also but generating maze would probably take some time on phones). You can always create dungeon, then save it as normal level and remove plugin before packaging for mobiles.

This plugin is great for game prototyping, you get some tile set from market, get Dungeon architect and you can make your test map (or test maps). No need of doing new maps when you change gameplay like movement speed, you just rescale your theme, and create new dungeon fitting better. Really speeds up testing for camera, gunplay movement, AI behavior etc.

---

<div class="post-metadata">

**Author:** ![jonny2027](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jonny2027](https://forums.unrealengine.com/u/jonny2027)\
**Post date:** [March 2, 2016, 4:09pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/598 "2016-03-02T16:09:41Z")

</div>

Silly question but what is the piece of music in the Grasslands demo (https://.youtube.com/watch?v=MkYJn2egYys)

---

<div class="post-metadata">

**Author:** ![Jujaswe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jujaswe](https://forums.unrealengine.com/u/Jujaswe)\
**Post date:** [March 3, 2016, 12:36pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/599 "2016-03-03T12:36:30Z")

</div>

I bought the plugin but my download got interrupted because of slow internet. Now it keeps redirecting me to the home page when I try to download again. What to do?

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [March 3, 2016, 4:27pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/600 "2016-03-03T16:27:08Z")

</div>

And yes, that general dungeon layout&flow editor would be .

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a74d2cd8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a74d2cd8](https://forums.unrealengine.com/u/anonymous_user_a74d2cd8)\
**Post date:** [March 3, 2016, 4:28pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/601 "2016-03-03T16:28:55Z")

</div>

hey all -

been checking this out for some time - and getting ready for purchase.

quick question to the dev. in purchasing DA - are all future updates free? i’m only asking because i couldn’t find any language saying as such on your web - unless i missed it 😃

thanks - can’t wait!!

---

<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:** [March 3, 2016, 6:51pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/602 "2016-03-03T18:51:03Z")

</div>

@JVStudebaker - Thus far all updates have been free, I assume that’s going to continue unless says otherwise.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a74d2cd8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a74d2cd8](https://forums.unrealengine.com/u/anonymous_user_a74d2cd8)\
**Post date:** [March 3, 2016, 9:32pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/603 "2016-03-03T21:32:44Z")

</div>

@n00854180t -

thanks mate - yea, i was kinda curious because i know it’ll hit the marketplace soon enough - and wanna make sure updates are available thereafter as well.

---

<div class="post-metadata">

**Author:** ![EternalWalker777](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@EternalWalker777](https://forums.unrealengine.com/u/EternalWalker777)\
**Post date:** [March 4, 2016, 1:05am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/604 "2016-03-04T01:05:41Z")

</div>

I have a few questions. I hope someone can make these things clearer for me 🙂

1. In all youtube-demos and in the documentation the levels were relatively flat. (there are stairs, but thats only a small hight difference) Is there a way to generate a more 3D layout? Iam looking for floors which are crossing above each other. Or rooms above other rooms. I am working on an underground dungeon-crawler, where you can walk around and when you go down into the deepness you shouldnt feel like your walking down floor by floor.

2. Is there a way to generate rooms with different heights? Iam looking for different kind of halls with pillars and archways and other kind of rooms that are not for a topdown-game.

3. Is there a timeframe for the marketplace release?

---

<div class="post-metadata">

**Author:** ![Nawrot](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nawrot/32/618260_2.png) [@Nawrot](https://forums.unrealengine.com/u/Nawrot)\
**Post date:** [March 4, 2016, 12:51pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/605 "2016-03-04T12:51:18Z")

</div>

1. currently you can place 2 dungeons one on top of another, however i am not sure if stairs up can be done procedurally. I think is working on something more 3d
2. yes you can make different heights, just create theme with walls that have more meshes going up, or higher meshes.
3. that i belive depends on epic. Dungeon is compiled C++ plugin (but you have full source if you buy), marketplace does not support yet that format.

---

<div class="post-metadata">

**Author:** ![Jujaswe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jujaswe](https://forums.unrealengine.com/u/Jujaswe)\
**Post date:** [March 5, 2016, 10:46am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/606 "2016-03-05T10:46:55Z")

</div>

How do I prevent doors from spawning too close to each other? I’m looking at the Logic Selectors but I can’t seem to find anything that will help me do that.

 ![doors.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/1/31ed76442a0ae371a5b4364c4dbf4703889611d8.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:** [March 6, 2016, 8:35am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/607 "2016-03-06T08:35:54Z")

</div>

Doors are part of the layout algorithm and are generated early in the process (from the builder) so selectors will not help

[http://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/assets/images/da\_design\_builder.png](http://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/assets/images/da_design_builder.png)

Is it undesirable because the doors overlap? If so, open up the door blueprint make their swing angle to \<= 90 so they don’t overlap

---

<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:** [March 6, 2016, 8:41am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/608 "2016-03-06T08:41:47Z")

</div>

> [@anonymous\_user\_8ce2497dwrot;483587](#):
>
> Ail by painting tool I mean something very simple:
> 
> - new volume (or maybe variant of existing one), or just paint over existing dungeon.
> - list of all nodes created in theme designer (maybe some property there that says “expose” to painting tool, so its not cluttered by those minor nodes)
> - and ability to rotate it 90 deg (or any snapping angle), and snap as walls floor or roof, at place of selected tile.
> 
> This mainly is for “fixing” where dungeon creating algorithm messed up. Like corners, doors that open right at some decoration meshes. Adding bigger windows, painting some decorations, or painting pipes under floor. Stuff that is doable currently but its a lot of work.
> 
> And second idea, this time for mobile developers:  
> They would be really happy (because 100mb file size limit hurts), to have snapshot and save of dungeon, so they could save all tiles and seed of dungeon instead of saving level unreal way. This thing could save some megabytes for them.
> 
> And yes this plugin works for mobile, just not in runtime (well maybe in runtime also but generating maze would probably take some time on phones). You can always create dungeon, then save it as normal level and remove plugin before packaging for mobiles.
> 
> This plugin is great for game prototyping, you get some tile set from market, get Dungeon architect and you can make your test map (or test maps). No need of doing new maps when you change gameplay like movement speed, you just rescale your theme, and create new dungeon fitting better. Really speeds up testing for camera, gunplay movement, AI behavior etc.

@ Thanks for the feedback. I’ll look into this

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

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