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

<div class="post-metadata">

**Author:** ![anonymous\_user\_e44b2c98](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e44b2c98](https://forums.unrealengine.com/u/anonymous_user_e44b2c98)\
**Post date:** [September 9, 2015, 2:01pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/204 "2015-09-09T14:01:48Z")

</div>

Is there anyway you could add a feature to make a underground cave or dungeon of sorts and make it so it goes up to make a entrance? Like a mine/cave/dungeon would you know so you could go below the map in a cave/mine/dungeon its just something i thought of xD like control the angle the dungeon is created at etc.

---

<div class="post-metadata">

**Author:** ![mattmillus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mattmillus](https://forums.unrealengine.com/u/mattmillus)\
**Post date:** [September 9, 2015, 5:51pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/205 "2015-09-09T17:51:48Z")

</div>

Wow that organic cave looks great, excited about that as well!

After using the system for a number of hours there are two more things I want to report or inquire about:

1. I created a super simple theme (starter content ‘Shape\_Plane’ scaled 4x for floor and ‘Shape\_Cube’ scaled for wall/fence/half-wall). In each case the mesh node has a material override set to give it a proper material. This always works fine in the preview window inside your theme editor. However, when I actually generate the dungeon (realtime via button or runtime via blueprint) the material overrides only seem to apply if ‘Instanced’ is DISABLED. When its checked, the dungeon generates fine, but nothing has materials. Im not sure if this is a bug or not.

2. I am struggling a bit with ceiling generation. Everything works fine when I have the entire dungeon on a single level - I simply add a second node to ‘Ground’ for the ceiling (rotated 180 on Y) and turn off ‘Consume on attach’ for the floor node before it. This works great. The problem comes when I want stairs in the dungeon. When you are at the top of a flight of stairs looking towards them, the ceiling above the stairs is the height of the room the stairs are based in - not the room you are standing in. This means you can see through the level in quite an extreme way. It seems one of the following is probably the case  
-I am totally misunderstanding something  
-I should be making the stairs mesh have a built in slanted ceiling (but then how do I have the normal ceiling not spawn there?)  
-I should be setting a special rule that assigns different ground tiles when the cell has stairs in it, so that I can assign a slanted mesh over the stairs (but can this be done via blueprint?)  
-Markers for ‘ceiling’ and ‘stair ceiling’ which are separate from ‘floor’ need adding to the engine before this can be done (in which case hopefully you can add this next release!)

Any guidance you have on this is appreciated!

---

<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:** [September 9, 2015, 6:27pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/206 "2015-09-09T18:27:20Z")

</div>

> [@mattmillus;375359](#):
>
> Wow that organic cave looks great, excited about that as well!
> 
> After using the system for a number of hours there are two more things I want to report or inquire about:
> 
> 1. I created a super simple theme (starter content ‘Shape\_Plane’ scaled 4x for floor and ‘Shape\_Cube’ scaled for wall/fence/half-wall). In each case the mesh node has a material override set to give it a proper material. This always works fine in the preview window inside your theme editor. However, when I actually generate the dungeon (realtime via button or runtime via blueprint) the material overrides only seem to apply if ‘Instanced’ is DISABLED. When its checked, the dungeon generates fine, but nothing has materials. Im not sure if this is a bug or not.

I suspect this is because they’re being put into a single InstancedStaticMesh, which must use the same material (or materials) on all the instances for it to work.

You can work around this by make a duplicate Shape\_Plane for each material you’ll be using.

@ - perhaps you can have it detect material overrides and separate those nodes into different InstancedStaticMesh actors. It may be a good idea to allow limiting how many instances will go into each ISM too, and put extras into a separate ISM, to better help culling etc and mobile performance in the case of tons and tons of instances.

Oh and for my part I’d love to have the starting location thing exposed to BP.

Edit: The organic dungeon looks amazing!

---

<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:** [September 10, 2015, 4:53am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/207 "2015-09-10T04:53:50Z")

</div>

@mattmillus The ISM is not taking into account the material overrides. Its a bug and I’ll fix it. Regarding the empty space seen from an elevated height, you could cover that up with a mesh by adding it to the “Stair” marker. You could place a half wall mesh in the stair marker and move it up.

@frostyshield The dungeon is built relative to the position of the dungeon actor. So you could move the dungeon actor to a different location and rebuild (e.g. below your ground terrain) and have the terrain move down and connect to the door (with a hole near the door). Is that what you were asking for?

---

<div class="post-metadata">

**Author:** ![mattmillus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mattmillus](https://forums.unrealengine.com/u/mattmillus)\
**Post date:** [September 10, 2015, 11:19pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/208 "2015-09-10T23:19:53Z")

</div>

Thanks for the info. However I need a way to _not_ spawn a normal “floor” marker based ceiling over the stairs - otherwise I cant walk up or down them unless the cell height is set to at least twice the character height (which makes for dungeons with unrealistically high ceilings). Basically I want a dungeon with a cell size of 400x400x150 (or 300x300x150) that has ceilings and stairs. Any way to do this?

---

<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:** [September 11, 2015, 3:54am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/209 "2015-09-11T03:54:15Z")

</div>

@mattmillus - I think we’re going to need some screenshots to be able to tell exactly what’s going on.

---

<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:** [September 11, 2015, 9:17am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/210 "2015-09-11T09:17:56Z")

</div>

> [@mattmillus;376280](#):
>
> Thanks for the info. However I need a way to _not_ spawn a normal “floor” marker based ceiling over the stairs - otherwise I cant walk up or down them unless the cell height is set to at least twice the character height (which makes for dungeons with unrealistically high ceilings). Basically I want a dungeon with a cell size of 400x400x150 (or 300x300x150) that has ceilings and stairs. Any way to do this?

I think I got your point. I’ve added a selector helper function so you can selectively exclude the ceiling mesh if a stair is present in that ground location. I’ve placed the following logic in the ceiling mesh attached to the ground marker

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/2/152db3f53251612e38bdfd6550307fbf1e3fcf37.jpeg)  
This way it will not include a ceiling mesh where there are stairs

Then on the stair marker, I attach a mesh like this with a offset  
[http://i.imgur.com/GCl1Iacm.jpg](http://i.imgur.com/GCl1Iac.jpg)

And it cleanly covers up the ceiling everywhere. (Be sure to adjust the collision of the mesh so it doesn’t block the character)  
[http://i.imgur.com/aCL8nLam.jpg](http://i.imgur.com/aCL8nLa.jpg) [http://i.imgur.com/dnpHUTzm.jpg](http://i.imgur.com/dnpHUTz.jpg)

watch?v=OR1bw9ucz0w

I’ll publish a new build soon with this ContainsStair selection function

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c237df01](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c237df01](https://forums.unrealengine.com/u/anonymous_user_c237df01)\
**Post date:** [September 12, 2015, 2:54am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/211 "2015-09-12T02:54:09Z")

</div>

$99? Easy purchase. Thankyou so much

---

<div class="post-metadata">

**Author:** ![Mr\_SquarePeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mr\_SquarePeg](https://forums.unrealengine.com/u/Mr_SquarePeg)\
**Post date:** [September 12, 2015, 2:57am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/212 "2015-09-12T02:57:19Z")

</div>

Hey - Just shot you a PM as I do not want to derail your thread 🙂

---

<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:** [September 12, 2015, 9:18am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/213 "2015-09-12T09:18:26Z")

</div>

@HeadClot Thanks!

Uploaded a new build to my website. Moved the files over to Amazon S3 for faster download

---

<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:** [September 12, 2015, 9:19am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/214 "2015-09-12T09:19:20Z")

</div>

@BTLRoach You’re welcome! 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9f47de28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9f47de28](https://forums.unrealengine.com/u/anonymous_user_9f47de28)\
**Post date:** [September 12, 2015, 1:53pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/215 "2015-09-12T13:53:46Z")

</div>

, I’ve sent a PM as well.

---

<div class="post-metadata">

**Author:** ![Mandinga](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mandinga](https://forums.unrealengine.com/u/Mandinga)\
**Post date:** [September 13, 2015, 3:27pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/216 "2015-09-13T15:27:08Z")

</div>

Hello,

We are looking to buy this and implement it with 4.9 and draw a UI to build a runtime editor. Will it support 4.9 out of the box yet?

---

<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:** [September 13, 2015, 5:08pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/217 "2015-09-13T17:08:42Z")

</div>

Hi @Mandinga, 4.9 is supported out of the box

---

<div class="post-metadata">

**Author:** ![mattmillus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mattmillus](https://forums.unrealengine.com/u/mattmillus)\
**Post date:** [September 15, 2015, 6:16am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/218 "2015-09-15T06:16:20Z")

</div>

Thanks, that solution looks great!

---

<div class="post-metadata">

**Author:** ![FreemanCIT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FreemanCIT](https://forums.unrealengine.com/u/FreemanCIT)\
**Post date:** [September 15, 2015, 9:19pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/219 "2015-09-15T21:19:53Z")

</div>

Hi,  
Just a supporting word : this is one is truly a good piece of software, perfectly fitting the quality of the unreal engine.  
Very rich and versatile. Nice work.

---

<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:** [September 18, 2015, 7:24am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/220 "2015-09-18T07:24:15Z")

</div>

Thanks FreemanCIT 🙂

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [September 18, 2015, 6:53pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/221 "2015-09-18T18:53:53Z")

</div>

@ IS this still in queue for the marketplace or are you keeping it just in your own store?

---

<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:** [September 19, 2015, 4:49am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/222 "2015-09-19T04:49:42Z")

</div>

> [@Justin.Dooley;382034](#):
>
> @ IS this still in queue for the marketplace or are you keeping it just in your own store?

Still in queue ☹

---

<div class="post-metadata">

**Author:** ![SaviorNT](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SaviorNT](https://forums.unrealengine.com/u/SaviorNT)\
**Post date:** [September 22, 2015, 12:03pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/223 "2015-09-22T12:03:59Z")

</div>

Morning, how well does this work with ’ cave system?

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

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