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

<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:** [May 5, 2017, 3:43am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1682 "2017-05-05T03:43:03Z")

</div>

> [@;704503](#):
>
> I had to modify it a bit to make it work with my custom wander system where the pedestrians automatically wander around the procedurally generated city

Is there any reason it wouldn’t work out of the box?

> [@;704503](#):
>
> I’m looking into generating the dungeon across multiple map files (exploring this in Unity but will apply to UE4 as well) and then stream them in when the player gets close. I already have the data of different clusters to distribute across the various streaming levels (same way clustered theming works) and streaming volumes can be placed near the doors. I need to explore if creation of new levels is allowed at runtime in UE4 so they can be later streamed in

That’s cool!!!

So, no idea about stationary/dynamic lighting on generated levels being slow and not being culled ?

---

<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:** [May 5, 2017, 4:01am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1683 "2017-05-05T04:01:24Z")

</div>

> [@;704509](#):
>
> Is there any reason it wouldn’t work out of the box?

It works out of the box, but the game required a custom functionality which was not present (i.e. dynamically picking a nearby point for patrolling). This is gameplay specific and not a limitation of AIToolkit or it’s integration with DA.

's another example of AIToolking NPC following the player, working out of the box on a runtime generated dungeon

watch?v=5gfwati\_qbc

> [@](#):
>
> So, no idea about stationary/dynamic lighting on generated levels being slow and not being culled ?

They will be culled when I get automatic level streaming working, where far away rooms / corridors will be streamed out and will be culled

---

<div class="post-metadata">

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

</div>

Hi,

Thank you for creating this plugin! I’d like to utilize it on a project. Does my entire team need a copy for the project or is one copy for the project usable?

---

<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:** [May 5, 2017, 6:22pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1685 "2017-05-05T18:22:37Z")

</div>

Do you have a template for Your Zombie procedural City that you used in your zombie game? I am building a similar game and I want to use mostly city’s and level streaming. I am new to level design. I just bought this plugin and I am excited to use it. I downloaded the cartoon city but the Zombie City is more of what I am looking to do. I have all of the assets that I want to use for my levels I just need to know how to make the procedural cities like yours.

Thanks in Advance!

---

<div class="post-metadata">

**Author:** ![acatalept](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/acatalept/32/465177_2.png) [@acatalept](https://forums.unrealengine.com/u/acatalept)\
**Post date:** [May 5, 2017, 9:01pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1686 "2017-05-05T21:01:12Z")

</div>

I picked up DA on sale, amazed at how much functionality is as I’m going through the [video tutorials](https://.youtube.com/playlist?list=PLGMINEyXduynNwHzwcNsPPBI2W2Rmf8fk) (thanks for those, those and your documentation really sold me).

I notice the video series is over a year old: has anything significantly changed since then that someone just getting started now should be aware of?

---

<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:** [May 6, 2017, 1:09pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1687 "2017-05-06T13:09:15Z")

</div>

quick question. How is Dungeon architect licensed? Per project/ per account?  
Can I use it in a source controll project as non-marketplace plugin?

---

<div class="post-metadata">

**Author:** ![Fred\_FS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Fred\_FS](https://forums.unrealengine.com/u/Fred_FS)\
**Post date:** [May 6, 2017, 6:49pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1688 "2017-05-06T18:49:32Z")

</div>

Hi,

I have a small problem and I hope you guys could help me out.

My idea: I currently generate a dungeon at design time (but it should be possible to generate the dungeon on runtime later on). I want to place a “spawn object” using an emitter and as soon as the dungeon is generated the player sould be moved to this spawn position.

What I did: I implemented an C+±EventListener and tried to use an TActorIterator in the OnPostDungeonBuild\_Implementation to walk over all generated spawn positions. If I press “generate dungeon” the event method is called, but no actors can be found using the TActorIterator. I thought that the OnPostDungeonBuild\_Implementation would be called after Actors are created. Is that assumption wrong?

```auto

UWorld* world = Dungeon->GetWorld();
	
	TArray<AActor*> playerSpawns;
	TActorIterator<AActor> playerSpawnsIt(world);
	for (; playerSpawnsIt; ++playerSpawnsIt)
	{
		UE_LOG(TADungeonEventListenerLog, Log, TEXT("Found Actor: %s"), *(*playerSpawnsIt)->GetName()); // Only the actory that are not generated by the dungeon are found
		playerSpawns.Add(*playerSpawnsIt);
	}

```

---

<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:** [May 7, 2017, 8:19am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1689 "2017-05-07T08:19:42Z")

</div>

> [@dsenter;704725](#):
>
> Hi,
> 
> Thank you for creating this plugin! I’d like to utilize it on a project. Does my entire team need a copy for the project or is one copy for the project usable?

> [@AngeIV;705165](#):
>
> quick question. How is Dungeon architect licensed? Per project/ per account?  
> Can I use it in a source controll project as non-marketplace plugin?

@dsenter @AngeIV Dungeon Architect uses a single seat license which requires a license per developer

Once purchased, you can use DA for an unlimited no. of projects and all future updates will be free. It will be supported for the lifetime of UE4

You can install your plugin on multiple computers you work on (mac, windows, laptops etc). It comes with full source code, so you can change the code and keep the changes or share it with your team (in source control), as long as they also have a license

> [@](#):
>
> Can I use it in a source controll project as non-marketplace plugin?

There are some teams who already use it this way. They bought bulk licenses and set up a local repository. You can grab the marketplace plugin and the code from this folder: C:\Program Files\Epic Games\UE\_4.15\Engine\Plugins\Marketplace\DungeonArchitect

---

<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:** [May 7, 2017, 8:26am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1690 "2017-05-07T08:26:36Z")

</div>

> [@lafilmcompany;704894](#):
>
> Do you have a template for Your Zombie procedural City that you used in your zombie game? I am building a similar game and I want to use mostly city’s and level streaming. I am new to level design. I just bought this plugin and I am excited to use it. I downloaded the cartoon city but the Zombie City is more of what I am looking to do. I have all of the assets that I want to use for my levels I just need to know how to make the procedural cities like yours.
> 
> Thanks in Advance!

@lafilmcompany I’ll have to remove the third party assets and replace them with free version before I can release them. For making procedural cities, there is a city sample in the quick start guide, which you can use that as a starting point. For the AI, I’ve used AI Toolkit asset from the marketplace and added some logic to make each NPCs pick a random patrol path around the city. The patrol points are placed on the footpath by the theme file itself. You can join the discord channel if you have more questions and I’d be glad to help till I have a demo available

---

<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:** [May 7, 2017, 8:29am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1691 "2017-05-07T08:29:37Z")

</div>

> [@anonymous\_user\_32f221fealept;704945](#):
>
> I picked up DA on sale, amazed at how much functionality is as I’m going through the [video tutorials](https://.youtube.com/playlist?list=PLGMINEyXduynNwHzwcNsPPBI2W2Rmf8fk) (thanks for those, those and your documentation really sold me).
> 
> I notice the video series is over a year old: has anything significantly changed since then that someone just getting started now should be aware of?

@acatalept Thank you for choosing DA. The user guide and quick start guide were updated with all the new changes. I need to work on recreating the video tutorials to cover the new layout builders that I’ve added since last year (snap builder, floorplan, city etc). However these builders are still a work in progress

---

<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:** [May 7, 2017, 9:44am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1692 "2017-05-07T09:44:33Z")

</div>

> [@anonymous\_user\_21e09c97\_FS;705296](#):
>
> Hi,
> 
> I have a small problem and I hope you guys could help me out.
> 
> My idea: I currently generate a dungeon at design time (but it should be possible to generate the dungeon on runtime later on). I want to place a “spawn object” using an emitter and as soon as the dungeon is generated the player sould be moved to this spawn position.
> 
> What I did: I implemented an C+±EventListener and tried to use an TActorIterator in the OnPostDungeonBuild\_Implementation to walk over all generated spawn positions. If I press “generate dungeon” the event method is called, but no actors can be found using the TActorIterator. I thought that the OnPostDungeonBuild\_Implementation would be called after Actors are created. Is that assumption wrong?
> 
> ```auto
> 
> UWorld* world = Dungeon->GetWorld();
> 	
> TArray<AActor*> playerSpawns;
> TActorIterator<AActor> playerSpawnsIt(world);
> for (; playerSpawnsIt; ++playerSpawnsIt)
> {
> UE_LOG(TADungeonEventListenerLog, Log, TEXT("Found Actor: %s"), *(*playerSpawnsIt)->GetName()); // Only the actory that are not generated by the dungeon are found
> playerSpawns.Add(*playerSpawnsIt);
> }
> 
> ```

@Fred_FS This is a bug and I’ve fixed it. It will be available in the next release

---

<div class="post-metadata">

**Author:** ![HAF-Blade](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/haf-blade/32/88718_2.png) [@HAF-Blade](https://forums.unrealengine.com/u/HAF-Blade)\
**Post date:** [May 7, 2017, 4:39pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1693 "2017-05-07T16:39:46Z")

</div>

Hi. I tried to tinker around with the snap builder and I saw in the documentation that you recommend to create levels and CONVERT them into blueprints?  
How do you do this. Currently I have to build the level snaps in the blueprint editor which is really a little bit annoying 😛

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_711747e7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_711747e7](https://forums.unrealengine.com/u/anonymous_user_711747e7)\
**Post date:** [May 7, 2017, 6:12pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1694 "2017-05-07T18:12:25Z")

</div>

> [@;705492](#):
>
> @lafilmcompany I’ll have to remove the third party assets and replace them with free version before I can release them. For making procedural cities, there is a city sample in the quick start guide, which you can use that as a starting point. For the AI, I’ve used AI Toolkit asset from the marketplace and added some logic to make each NPCs pick a random patrol path around the city. The patrol points are placed on the footpath by the theme file itself. You can join the discord channel if you have more questions and I’d be glad to help till I have a demo available

Can you maybe make a video tut on this, trying to do something similar but I’m having issues getting everything to line up proper, do all the meshes need to be the same size? Like my 4 way intersection is 2500 x 2500 and my roads are 1500 x 2500 and houses are around 900 x 2300. Do they all need to be the same size? Thanks

---

<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:** [May 8, 2017, 10:28am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1695 "2017-05-08T10:28:38Z")

</div>

> [@HAF-Blade;705651](#):
>
> Hi. I tried to tinker around with the snap builder and I saw in the documentation that you recommend to create levels and CONVERT them into blueprints?  
> How do you do this. Currently I have to build the level snaps in the blueprint editor which is really a little bit annoying 😛

@HAF-Blade You convert them by selecting the actor and choosing them to convert to BP. However, other artists have also voice similar concerns. It’s a nightmare to design anything in the blueprint editor. The snap builder is a work in progress and will undergo changes in the future updates. I’m working on providing a separate editor to block out your snap module shapes. I’ll have more info later

---

<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:** [May 8, 2017, 10:32am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1696 "2017-05-08T10:32:27Z")

</div>

> [@NicoSlevin;705685](#):
>
> Can you maybe make a video tut on this, trying to do something similar but I’m having issues getting everything to line up proper, do all the meshes need to be the same size? Like my 4 way intersection is 2500 x 2500 and my roads are 1500 x 2500 and houses are around 900 x 2300. Do they all need to be the same size? Thanks

@NicoSlevin Your art should be fine. In your case, the grid size would be 2500x2500 and the 4 way intersection would fit properly. The roads can have a gap of 500 on the sides (500.1500.500x2500). How is your mesh pivot aligned? It would be easier if it is in the center or you’ll have to play a bit with the offset

---

<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:** [May 8, 2017, 10:34am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1697 "2017-05-08T10:34:20Z")

</div>

Added a help system so you can launch the documentation from one place in the editor

[![](https://i.imgur.com/CmSZauj.png) ](https://i.imgur.com/CmSZauj.png)

This can be launched from the Dungeon actors details panel

[![](https://i.imgur.com/hId0G0b.png) ](https://i.imgur.com/hId0G0b.png)

It can also be launched from the Theme Editor’s toolbar

[![](https://i.imgur.com/Z0lDGsT.png) ](https://i.imgur.com/Z0lDGsT.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:** [May 8, 2017, 10:44am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1698 "2017-05-08T10:44:55Z")

</div>

Created a new release. I’ll test it on mac and publish to Epic

**Version 2.6.1**

- Fixed static lightmap baking issues with instanced mesh dungeons
- Fixed a bug with PostDungeonBuild Listener Event which was getting fired before all the dungeon actors were spawned
- Added height variations to the custom grid builder
- Fixed a crash issue with the IsNearMarker function if the builder was not provided
- Added a new help system to launch the documentation links from within the editor. This can be invoked from the Dungeon Actor’s details panel or from the theme editor’s toolbar

2.6.1 for windows is available in my website

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_711747e7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_711747e7](https://forums.unrealengine.com/u/anonymous_user_711747e7)\
**Post date:** [May 9, 2017, 3:29pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1699 "2017-05-09T15:29:32Z")

</div>

> [@;705936](#):
>
> @anonymous_user_711747e7 Your art should be fine. In your case, the grid size would be 2500x2500 and the 4 way intersection would fit properly. The roads can have a gap of 500 on the sides (500.1500.500x2500). How is your mesh pivot aligned? It would be easier if it is in the center or you’ll have to play a bit with the offset

Thanks for the reply, I tried to make the grid 2500x2500 and yes there were some gaps, I’ll give it another shot tonight and watch all your videos again since I was having some issues when I tried to fix the gaps and houses did not line up with the edge of the street and try to move the pivot like you said, thank you

---

<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:** [May 9, 2017, 4:15pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1700 "2017-05-09T16:15:38Z")

</div>

It would be nice to add a tool to DA that allows user to build a piece of dungeon (or rather, a “module”) in the Editor, then select all the pieces comprising the module and in one click turn it into BP Actor. Is it something that can be done, [MENTION=28980][/MENTION] ?

---

<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:** [May 9, 2017, 4:20pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/1701 "2017-05-09T16:20:32Z")

</div>

@ - You should be able to do that by using the standard tools, e.g., set up DA theme, build dungeon, select all the actors, then under the Blueprint drop down at the top of the editor, select Create Blueprint from Selected Components.

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

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