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

<div class="post-metadata">

**Author:** ![thesnowdog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thesnowdog](https://forums.unrealengine.com/u/thesnowdog)\
**Post date:** [October 8, 2018, 10:25pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2232 "2018-10-08T22:25:04Z")

</div>

Okay, thanks for that. I suspected that the lighting would be a problem with a VR game. ■■■■■■. I was hoping to give the game plenty of replay value but looks like that’s not an option now. I guess I could pre-build a few different versions of the same level and have a random one appear each time the player starts the game I suppose. Am going to have to think about that or maybe some other sort of workaround.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f472eca2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f472eca2](https://forums.unrealengine.com/u/anonymous_user_f472eca2)\
**Post date:** [October 8, 2018, 11:46pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2233 "2018-10-08T23:46:52Z")

</div>

> [@thesnowdog](#):
>
> Okay, thanks for that. I suspected that the lighting would be a problem with a VR game. \*\*\*\*\*\*. I was hoping to give the game plenty of replay value but looks like that’s not an option now. I guess I could pre-build a few different versions of the same level and have a random one appear each time the player starts the game I suppose. Am going to have to think about that or maybe some other sort of workaround.

It’s just all about tradeoffs (like a lot of VR dev is!) - if you want fully randomized levels, you take a graphical hit or a performance hit. Or you generate a ton of levels and bake, giving you nice shadows and performance but at the cost of your time (baking lighting) and the file size of your game. The other benefit to baking levels is that you can vet each one and make sure its a good level for your game, or even hand tweak aspects that need some extra love. I may end up switching to that approach for my game too, but I’m hoping to do a daily challenge mode that relies on daily randomized levels, so cutting that possible option would be a trade off I’d have to make.

---

<div class="post-metadata">

**Author:** ![ZNSinger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZNSinger](https://forums.unrealengine.com/u/ZNSinger)\
**Post date:** [October 11, 2018, 8:13pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2234 "2018-10-11T20:13:39Z")

</div>

Paint tool is failing to create doors where rooms and corridors meet - instead, it’s forcefully creating lanes between rooms as they are painted in, despite corridors between always being painted in first. Any clues ?

---

<div class="post-metadata">

**Author:** ![FerlinDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FerlinDev](https://forums.unrealengine.com/u/FerlinDev)\
**Post date:** [November 6, 2018, 8:07am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2235 "2018-11-06T08:07:33Z")

</div>

[USER=“28980”][/USER] What is the best way to increase dungeon’s size? Simply Increasing Cell Size makes Dungeon very clustered and that is not what I am looking for.

Looking forward for your reply

P.S I am trying to achive dungeon 100000x100000 unit large, restricted by the negation volumes

---

<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:** [November 8, 2018, 10:12am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2236 "2018-11-08T10:12:48Z")

</div>

> [@anonymous\_user\_ad103bd9ole](#):
>
> Hi there,
> 
> Just grabbed the plugin and am super impressed so far, some great stuff. I’m curious about adapting this to a sidescroller environment. It seems like all the tech to do this is there, but not sure how to go about getting it off the ground at the moment.
> 
> It seems having the ability to spawn rooms in the XZ plane should be trivial but no obvious answers have presented themselves. I guess one could simply restrict movement as a “fake” top down gravity and camera but i’d prefer not to have to deal with those mental gymnastics 🙂
> 
> Can anyone point me towards a bit of help on this? Can’t seem to find anything as yet.
> 
> Cheers,

@morphole I’m working on side scroller support for DA, I’ll update with more info in the near 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:** [November 8, 2018, 10:17am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2237 "2018-11-08T10:17:25Z")

</div>

> [@Vormulac](#):
>
> [USER=“28980”][/USER] Great work on the plugin, I’m really enjoying it so far. Just have a (hopefully) quick question for you.
> 
> I’d really like to add my own generation algorithms, I took a look through the docs and didn’t see anything on this subject though. Could you suggest a good starting point for adding new algorithms?
> 
> Edit: I’ve been poking around and found the builders in the runtime folder. Seems like as good a place to start as any.

You are correct, you can start with SimpleCity builder as an example and leave most of the stuff (query, tool data, selection / transform logic spatial constraints) and build them as needed. The config class will show all the properties in the dungeon actor when you select this builder from the dungeon actor

```php
    virtual void BuildDungeonImpl(UWorld* World) override;
    virtual void EmitDungeonMarkers_Implementation() override;

```

Build your layout in the BuildDungeonImpl function and save the result in the model. Emit markers around your layout in the EmitDungeonMarkers\_Implementation function. This makes the theme editor fast as it doesn’t have to rebuild the layout when you change the theme graph and just reuse prebuild model every time you change something in the theme graph

---

<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:** [November 8, 2018, 10:23am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2238 "2018-11-08T10:23:06Z")

</div>

> [@anonymous\_user\_e71e0d8aormulac](#):
>
> [USER=“28980”][/USER] I have a couple of custom algorithms working in the plugin now and I’m incredibly happy with it. I do have some questions though. I’m attempting to use the plugin to generate maps at runtime for a multiplayer (listen server) game. I see there is a way to replicate the dungeon (in the advanced section in the details panel) but it doesn’t seem to do anything. When the host generates a level it doesn’t generate on the client. Just curious as to what specifically is being replicated if anything.
> 
> I have a few ideas about replicating the dungeon and was just curious what your thoughts are:
> 
> 1. use only actor nodes in the theme: Every spawned actor is replicated on it’s own, this is useful as I will have tiles change as the game progresses but it seems like a lot of info across the network (at least in the initial replication.
> 
> 2. pass the pertinent config over the network and let the clients generate them. This is nice as it uses less bandwidth than option 1 but makes progressive dungeon changes more work to implement.
> 
> Anyway, thanks again for your work on this plugin. I’m really enjoying using it.

@Vormulac Please have a look at this multiplayer tutorial:

watch?v=RooAWh76Wro

In the above video, the server selects a seed and sends it over to the clients as a build request then waits for all the clients to finish building. When all clients finish building, the game starts (until which it stays in spectator mode)

While testing this I’ve tried replicating all the dungeon actors and the performance was not good. I’ll have a look at the replication graph introduced in 4.21

---

<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:** [November 8, 2018, 10:44am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2239 "2018-11-08T10:44:55Z")

</div>

> [@anonymous\_user\_9c39f750snowdog](#):
>
> Hello there, I bought this a while back when it was 50% off and haven’t been able to work on the project I bought it for due to illness. Well now I’m back to things! 😃
> 
> I’ve just got a few questions if you have time to answer them please?
> 
> 1. I have corridor modules (corner, straight, dead end, t-junction and crossroads and straight with door, t-junction with door middle) that have the geometry for the shape of each corridor piece and various other parts as separate models such as doors, engineering panels, light fittings, light panels. I’ve done these as separate models altogether so that the texel density will be higher on these smaller pieces so that I can add text, handles, air vents etc without any pixelation. Will the plugin be able to handle adding these extra pieces when it’s building a level?
> 
> 2. If yes, how would I go about sorting this out in Dungeon Architect so that it places the corridor module and the door in the same place for example? Or putting a corridor and light fittings, engineering panels etc?
> 
> I haven’t looked at the tutorials or anything yet because I want to build and texture my modules first before I start messing about with it. If it says all this in the tutorials then that’s great, just tell me that my first two questions are a pile of old pants lol 😃
> 
> And a third question regarding lighting:
> 
> 1. Once the plugin has built the level how do you go about baking the lighting? I’m guessing this is going to be GPU and/or CPU intensive? Will this be unsuitable for using in a VR game in that case? I don’t want people losing their lunch because the frames drop to single digits lol
> 
> And a fourth question regarding forward rendering:
> 
> 1. Are there any problems with me running this plugin with the Unreal Engine’s forward renderer?
> 
> Thanks in advance for any help given, sorry if they’re stupid questions but I’m a bit new to all of this lark lol 😃

@thesnowdog Welcome back! There’s a generator called Snap builder that pieces together the modules you create and has level streaming support, although it is still a very early work in progress and I’ll be improving on it in the near 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:** [November 8, 2018, 10:46am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2240 "2018-11-08T10:46:17Z")

</div>

> [@ZNSinger](#):
>
> Paint tool is failing to create doors where rooms and corridors meet - instead, it’s forcefully creating lanes between rooms as they are painted in, despite corridors between always being painted in first. Any clues ?

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:** [November 8, 2018, 11:42am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2241 "2018-11-08T11:42:33Z")

</div>

> [@Vokyupi](#):
>
> [USER=“28980”][/USER] What is the best way to increase dungeon’s size? Simply Increasing Cell Size makes Dungeon very clustered and that is not what I am looking for.
> 
> Looking forward for your reply
> 
> P.S I am trying to achive dungeon 100000x100000 unit large, restricted by the negation volumes

I had this in Unity for a while. I ported it over to UE4

Select the dungeon actor and go to the Experimental category and enable “Fast Cell Distribution” and specify the dungeon width and length in unreal units. This ignores the NumCells parameter and generates cells (rooms and corridors) inside this [width,length] range

[Edit: This will be available in the next update 2.10.0]

https://i.imgur.com/FW0HdZc.png

https://i.imgur.com/m1FgF7Ph.jpg

This also has better performance for larger dungeons. It works with negation volumes

https://i.imgur.com/MwGMFS2h.jpg

You can create narrower dungeons too

https://i.imgur.com/LRJRPWA.png

https://i.imgur.com/u9BbRK4h.jpg

---

<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:** [November 8, 2018, 11:46am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2242 "2018-11-08T11:46:19Z")

</div>

Added 4.21 engine support. Also added a few usability improvements

**Placement Mode Category:**

Dungeon Architect has its own category in the Placement Modes section so don’t have to search for the dungeon actor before placing it on the scene

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

**Theme Editor Marker Window Improvements**

The markers window in the theme editor has a search filter box and scrollbar support

[![](https://i.imgur.com/SmIaec0.png) ](https://i.imgur.com/SmIaec0.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:** [November 8, 2018, 12:04pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2243 "2018-11-08T12:04:07Z")

</div>

Fixed an issue with the grid builder while checking for loops. Improved the performance of the grid builder’s layout generation

---

<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:** [November 8, 2018, 12:14pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2244 "2018-11-08T12:14:07Z")

</div>

Giant 1x1km dungeon using the new cell distribution mode (use instancing to keep things fast)

[![](https://i.imgur.com/BuoxmXch.jpg) ](https://i.imgur.com/BuoxmXch.jpg)

[![](https://i.imgur.com/V86uzVqh.jpg) ](https://i.imgur.com/V86uzVqh.jpg)

---

<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:** [November 8, 2018, 2:21pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2245 "2018-11-08T14:21:55Z")

</div>

Good deal [USER=“28980”][/USER]

Any progress with improving Snap builder ?

---

<div class="post-metadata">

**Author:** ![morphole](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@morphole](https://forums.unrealengine.com/u/morphole)\
**Post date:** [November 9, 2018, 2:29am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2246 "2018-11-09T02:29:24Z")

</div>

> [@](#):
>
> @morphole I’m working on side scroller support for DA, I’ll update with more info in the near future.

Great thanks, good to hear!

With all the other work going on for the project hopefully the timing lines up 🙂

Cheers

---

<div class="post-metadata">

**Author:** ![FerlinDev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FerlinDev](https://forums.unrealengine.com/u/FerlinDev)\
**Post date:** [November 11, 2018, 5:57pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2247 "2018-11-11T17:57:47Z")

</div>

[USER=“28980”][/USER] Thanks for your reply. I got also another question. Is there a way to change clustered themes on the run time?

---

<div class="post-metadata">

**Author:** ![zouking](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zouking](https://forums.unrealengine.com/u/zouking)\
**Post date:** [November 15, 2018, 4:26pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2248 "2018-11-15T16:26:50Z")

</div>

Hello,  
I am having trouble building my game, I keep getting"

> [@](#):
>
> Module.DungeonArchitectRuntime.cpp.obj : error LNK2019: unresolved external symbol \__libm\_sse2\_sincosf_ referenced in function “protected: struct FCell \_\_cdecl UGridDungeonBuilder::BuildCell(void)” (?BuildCell@UGridDungeonBuilder@@IEAA?AUFCell@@XZ)"

Can anyone help with that?

**{SOLVED}**

---

<div class="post-metadata">

**Author:** ![zouking](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zouking](https://forums.unrealengine.com/u/zouking)\
**Post date:** [November 16, 2018, 10:48am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2249 "2018-11-16T10:48:42Z")

</div>

[USER=“28980”][/USER] Great plugin! Is there a way to move the snap dungeon or spawn it other than the 0.0.0 origin?

---

<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:** [November 17, 2018, 8:21am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2250 "2018-11-17T08:21:40Z")

</div>

Hello [USER=“28980”][/USER] and fellow Dungeon Architect Users,

We seek to duplicate the creation in the video below using the floor plan builder. We’re aware that the Floor Plan Builder is work in progress. But its still amazing looking and peaked our interest. Can someone please explain how set up Markers to spawn the whole elevator system in the procedural generation? We did not see these details in the user guide. We deeply appreciated any and all assistance offered.

watch?v=K\_iQH4TiVS0

---

<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:** [November 17, 2018, 11:51am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/2251 "2018-11-17T11:51:26Z")

</div>

> [@zouking](#):
>
> Hello,  
> I am having trouble building my game, I keep getting"
> 
> Can anyone help with that?
> 
> **{SOLVED}**

FCell is a USTRUCT and I unfortunately cannot use a namespace with it (as UE4 doesn’t support it with ustructs). In the future I’ll change FCell name to something else so it doesn’t clash with other libraries that also use the same name

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

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