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

<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:** [June 5, 2017, 8:36am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1785 "2017-06-05T08:36:43Z")

</div>

> [@DrinkThisPotion;715188](#):
>
> Well, I’m really on a roll with the questions (it’s because it’s level building time!).
> 
> I need an emitter which would be positioned only on a room or corridor which has a wall facing the edge of the map (scenery).
> 
> This is so I can have broken walls which allow a view of the scenery but don’t ever show the dungeon.
> 
> The RoomLongEdge emitter almost does this (with the RoomShrine) - but it’s not guaranteed to be a room on the edge of the map.
> 
> , is there any way to restrict an emitter to spawn in specific map locations? (like the corner, edge rooms, etc).
> 
> Thanks!

You can do this with spatial constraints (example attached). You might have to rotate your wall by 90 if you use the edge spatial constraint (rotation seems to be wrong)

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/3/a432dcd53edcb5459656d6d58d12a02030df5548.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:** [June 5, 2017, 8:41am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1786 "2017-06-05T08:41:43Z")

</div>

> [@Aumaan Anubis;715250](#):
>
> [MENTION=28980][/MENTION]  
> I’m getting a BP compile error in using the quick start content pack
> 
> Found the BP and the error reads:
> 
> Is there a way to fix this?

[MENTION=33476]Aumaan Anubis[/MENTION] I just tested and it works fine on the latest version and 4.16. There is no Spline component in BP\_SplinePathBuilder (it is just a BP function library), and hence the error. Could you post the screens of the BP that is trying to access this?

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [June 5, 2017, 8:48am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1787 "2017-06-05T08:48:32Z")

</div>

[MENTION=28980][/MENTION]

Sure:

 ![67d2c8dbd59dff30c5f2364d51b6b9f3125cd89f.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/d/67d2c8dbd59dff30c5f2364d51b6b9f3125cd89f.jpeg)

It’s from the quick start content pack.

---

<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:** [June 5, 2017, 8:50am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1788 "2017-06-05T08:50:46Z")

</div>

> [@fuerogames;715404](#):
>
> I can handle that.  
> For the floor make new tile and place it before the normal floor. make it consume on spawn. make it call a new marker - call it whatever like “FloorCorner”. Add the floor corner to the graph and simply add a normal floor tile there. now… make sure that the floor corner marker is spawned ONLY on spartial constrait for corner spawning shopwed a few posts back! this way you will have consistent floor however you will have a corner marker in every floor corner! 🙂 Now simply use of the “is near marker” functionality to NOT spawn deco near corners 🙂 hope that helps.
> 
> I need a little help. Getting into the dungeon architect shows me more and more functionality and new ways to use it every day. I am using multiple marker spawners like in the fire level demo mixed with theme override. However I run into a problem. Not with the plugin but with fixing some functionality.
> 
> I spawn instanced dungeon as my dungeon is well… buildings. And in those buildings I have walls floor etc - as instanced meshes. Its very efective and lightweight. However inside those buildings another theme is spawning loot. That can’t be instanced. However it must spawn loot acordingly to the rules regarding constraints, is near etc of the building itself. I dont want to spawn loot mid air or on furniture that doesn’t exist. How to do that? How to make sure I can spawn instanced walls and floors and later on top of those spawn actors?

You have two options. Use blueprints for your loot actors. They will spawn normally and will not be a part of the instanced geometry

Alternatively, You could use two dungeon actors as a workaround. The first dungeon would build only the instanced geometry. The second will not build any geometry but spawn the power ups as static meshes. You will however need to do some synronization (dungeon actor locations and their configurations should be the same)

> [@](#):
>
> Socnd question - Can I make a grid dungeon with all coredoors and rooms forced to be nex tto another? with no closed free space between them? I can easily achieve it with room volumes placed in close aproximation by hand, but cant find a sweetspot for dungeon random creation.

Tight packing of rooms without corridors is not supported with the grid layout. Try reducing the room area threshold to get a more tightly packed dungeon with more rooms and lesser corridors

---

<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:** [June 5, 2017, 8:55am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1789 "2017-06-05T08:55:10Z")

</div>

> [@Aumaan Anubis;719626](#):
>
> [MENTION=28980][/MENTION]
> 
> Sure:
> 
> It’s from the quick start content pack.

[MENTION=33476]Aumaan Anubis[/MENTION] Thanks for the screens. Could you try deleting the DA\_Query\_Examples folder and copying it again from the quick start content?

---

<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:** [June 5, 2017, 8:58am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1790 "2017-06-05T08:58:06Z")

</div>

> [@EyesAndEars;716209](#):
>
> hello, how to fix this? getting this issue on almost every seed, am i missing something?

@EyesAndEars I’ll have alook

---

<div class="post-metadata">

**Author:** ![Aumaan\_Anubis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aumaan\_Anubis](https://forums.unrealengine.com/u/Aumaan_Anubis)\
**Post date:** [June 5, 2017, 9:05am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1791 "2017-06-05T09:05:15Z")

</div>

[MENTION=28980][/MENTION]

Thank you, that fixed it 🙂

btw I’m enjoying this plug-in btw, I’m most looking forward to the completion of floor plan and snap builder.

---

<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:** [June 5, 2017, 9:05am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1792 "2017-06-05T09:05:47Z")

</div>

> [@AtticusFinch;716275](#):
>
> Nevermind. I figured it out. Sorry for the noise.
> 
> I did not see the marketplace folder…
> 
> C:\Program Files\Epic Games\UE\_4.15\Engine\Plugins\Marketplace\DungeonArchitect\Source

@AtticusFinch If you want to include DA in your C++ game project, open PROJECT.Build.cs and add “DungeonArchitectRuntime” to the PublicDependencyModuleNames list

```auto

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

public class DA416X : ModuleRules
{
	public DA416X(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;

		PublicDependencyModuleNames.AddRange(new string] { "Core", "CoreUObject", "Engine", "InputCore", "HeadMountedDisplay", **"DungeonArchitectRuntime"** });
	}
}

```

---

<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:** [June 5, 2017, 9:10am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1793 "2017-06-05T09:10:15Z")

</div>

> [@anonymous\_user\_2a84bb60rnhelm;717547](#):
>
> @
> 
> So far, snap map is giving me the best results for my game-level type. Any we’ll see some theme (or theme-like) integration with snap map? Basically, I’d love to be able to place actors in my snap BPs that serve as markers (like the MySnapConnection ones) that are then replaced / spawn things from the theme editor using the rules system, etc.

@JBernhelm Theming is planned for the snap builder. I’m exploring ways of abstracting the snap module to come from three sources (blueprints, levels and layout blocks). Layout blocks are basic blocks you create in a separate editor and themes can be applied on it. I’ll have more info in the future

---

<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:** [June 5, 2017, 9:12am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1794 "2017-06-05T09:12:44Z")

</div>

> [@dazuk1978;717889](#):
>
> @
> 
> Hey,  
> When I’m using the Spatial Constraints to toggle the Empty/Occupied/Ignore flags, I notice over a short amount of time FPS decreases massively until it’s so bad I have to close UE4. Once reopened it is fine again until I start using the Spatial Constraints again and then the same will happen over time.  
> It seems like some kind of memory leak?
> 
> I don’t know if it’s specific to my machine or a general issue but I thought I would notify you regardless.
> 
> Thanks

Daz, I’ll have a look

---

<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:** [June 5, 2017, 9:17am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1795 "2017-06-05T09:17:28Z")

</div>

> [@Dammodor;718250](#):
>
> Hey man love your plug-in. im thinking of making a top down tactical shooter with melee combat and a build your own class system like in rpgs. does this plug in support 2d and orthographic view, so like police stories or bastion. im horrid at art so i was wondering in doing 2d but the on 2d support is in unity. am i missing something or could you help me.
> 
> im kinda new to game development so if it has to be a custom thing could you point me in the right direction?  
> thanks a tonne!!

@Dammodor Thank you for using DA. 2D is not supported. I did create an [experimental](https://forums.unrealengine.com/showthread.php?67599-Dungeon-Architect&p=417769&viewfull=1#post417769) Paper2D extension last year. Orthographic views are supported by the engine. You create your 3D dungeons and set the [projection](https://answers.unrealengine.com/questions/13588/orthographic-camera-projection.html) in the camera

---

<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:** [June 5, 2017, 9:19am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1796 "2017-06-05T09:19:21Z")

</div>

> [@TLBainter;719006](#):
>
> Ah, man! This is so freaking cool. Superbly amazed, haha; can’t wait to see more of this–hopefully I can try it out, soon!

@TLBainter Thank you 🙂 Let us know what you create!

---

<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:** [June 5, 2017, 9:21am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1797 "2017-06-05T09:21:30Z")

</div>

> [@Dontcry;719175](#):
>
> I got some question… DungeonA and B in same Level . Dungeon A has some actor node and build is fine.but When I build Dungeon B , A all actor node disappear …how to fix it…thx…

@Dontcry Try dropping in a new dungeon actor as Dungeon B. It looks like you duplicated DungeonB from DungeonA (which made it share the same dungeon id) and is causing this issue. I’ll fix it 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:** [June 5, 2017, 9:37am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1798 "2017-06-05T09:37:52Z")

</div>

> [@angie ash;719617](#):
>
> Hello super plugin  
> By cons I did not used the blueprint by clicking on + selection logics I do not have a window that opens ???  
> bug  
> I’m under ue4 15.3  
> Sorry for the translation I am french

[MENTION=437993]angie ash[/MENTION] Thank you! The method of creating has change slightly since I created the video tutorials. Please follow the [User Guide’s Selector / Transform “Rules”](https://coderespawn.github.io/dungeon-architect-user-guide-ue4/stage/html/user_guide_2.6.html#rules) section

---

<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:** [June 5, 2017, 9:41am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1799 "2017-06-05T09:41:22Z")

</div>

> [@Jones Mussmann;719570](#):
>
> fantastic plugin! ive recently begun using it and im excited to move onto the more intricate parts of it.
> 
> however, whenever i try to package my project i get this error
> 
> ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/c/dcb6cbeaefefbdb5646ae80adfdb5aeab04ec049.png)
> 
> this happens on both dev and shipping build, and this is testing the plugin by itself in a new third person demo project.  
> in the editor everything works fine, i have a dungeon and linked theme placed in the level. but whenever i try to play it out of the editor it crashes, and i guess its because of the dungeon theme not having a reference. so i think this has something to do with the dungeon architect files/dlls/cpps being included in my packaged build, but im not sure, anyone have any idea why this would happen and how to fix it?

[MENTION=218253]Jones Mussmann[/MENTION] Thanks for the heads-up. I’ll have a fix ASAP

---

<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:** [June 5, 2017, 10:32am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1800 "2017-06-05T10:32:25Z")

</div>

> [@;719660](#):
>
> [MENTION=218253]Jones Mussmann[/MENTION] Thanks for the heads-up. I’ll have a fix ASAP

I’ve fixed the issue and it will be available in 2.6.3

---

<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:** [June 5, 2017, 11:10am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1801 "2017-06-05T11:10:21Z")

</div>

Submitted a new version to Epic for review

**Version 2.6.3**

- Fixed a critical bug with theme files that was crashing standalone builds
- IsNearMarker grid query function also retuns the number of nearby markers found nearby

---

<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:** [June 5, 2017, 11:21am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1802 "2017-06-05T11:21:47Z")

</div>

> [@AngeIV;719590](#):
>
> I need a little tip . I am using grid for spawning buildings in specific places. I am using a single marker emitter that emitts room centers for grid and palce the building in the center. It gives me pretty nice control over the placement and elevation of the buildings, as well as allow me to mix this way of building placement with grid based buildings that actually are built on theme override. So a mixture of “blueprint” base dbuildings and grid based buildings on a single spawner that can manage several towns with different themes. However I cant somehow manage to rotate those buildings! ☹ I wanted to use marker override for the emitted center marker to a rot90 marker in example, but it just doesn’t override. If I however rotate the mid marker all buildings rotate in that axis and it works. So I need a system to spawn a lot of staff - thru one of 4 spawn rots. one way to do it is make 4 dungeons and rot each 90 degree and spawn specific buildings on specific dungeons but I bet there is an easier way to do it.

@AngeIV If I understand you correctly, you are trying to place a building in the center of the rooms like below (take from the unity version). Rotating the RoomCenter marker should rotate your building. If you have multiple buildings attached to the room center marker, try adding a transform rule in the building nodes and randomly rotate in 90% steps (there are some examples of this in the quick start content)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/3/7/d37b5fbf6446fbde16c7f8212500777b155af012.jpeg) ](https://i.imgur.com/7nwQeR0h.jpg)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/a/74a75dc13a74956d2e5849be527d3501351d91e5.jpeg) ](https://i.imgur.com/VfbMQokh.jpg)

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/b/c/abcdc33914157f39433f6514bfafd6b1b98440b3.jpeg) ](https://i.imgur.com/xpDDTZNh.jpg)

---

<div class="post-metadata">

**Author:** ![AngeIV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AngeIV](https://forums.unrealengine.com/u/AngeIV)\
**Post date:** [June 5, 2017, 2:09pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1803 "2017-06-05T14:09:22Z")

</div>

> [@;719695](#):
>
> @AngeIV If I understand you correctly, you are trying to place a building in the center of the rooms like below (take from the unity version). Rotating the RoomCenter marker should rotate your building. If you have multiple buildings attached to the room center marker, try adding a transform rule in the building nodes and randomly rotate in 90% steps (there are some examples of this in the quick start content)
> 
> [http://imgur.com/7nwQeR0h.jpg](http://imgur.com/7nwQeR0h.jpg)
> 
> [http://imgur.com/VfbMQokh.jpg](http://imgur.com/VfbMQokh.jpg)
> 
> [http://imgur.com/xpDDTZNh.jpg](http://imgur.com/xpDDTZNh.jpg)

Yes! I already do that. Except I need to control the rotation - not make it random. And having direction variations of the theme and do theme override seems like an overkill 😉

---

<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:** [June 5, 2017, 6:19pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1804 "2017-06-05T18:19:15Z")

</div>

2.6.3 is now available in the marketplace

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

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