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

<div class="post-metadata">

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

</div>

> [@;592599](#):
>
> @ If you uncheck it, it will execute all of them and insert it 25% of the time, hence the overlap or no doors
> 
> Try **checking** “Consume on Attach” on all of them and set the right most node to probably 1, so that it always executes if the first three didn’t
> 
> This way, it executes the first node, and if inserted (25% of the time) it will stop the execution. If not, move to the second node. If all 3 were not inserted, we want to make sure the there is atleast one door, hence the last one should be 1 to insert it 100% of the time if the first 3 didnt execute

Yea i was derping. Had to watch the tutorials again XD and figured that out 🙂  
Is there a way, to get a spawned door pawn, thats in a room? I have Buttons and a Few thiongs I`m trying to Link to the Doors, after their rezed havent gotten the hang of it yet, got any advice?

---

<div class="post-metadata">

**Author:** ![LucianoJacomeli](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LucianoJacomeli](https://forums.unrealengine.com/u/LucianoJacomeli)\
**Post date:** [September 10, 2016, 7:16pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/918 "2016-09-10T19:16:31Z")

</div>

Will be nice connect two separate ground, with diferent height, and conect then with a long stair.

[http://img.wallpaperfolder.com/f/590AECE661EA/rope-bridge-jpg.jpg](http://img.wallpaperfolder.com/f/590AECE661EA/rope-bridge-jpg.jpg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_17a653651](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_17a653651](https://forums.unrealengine.com/u/anonymous_user_17a653651)\
**Post date:** [September 10, 2016, 9:25pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/919 "2016-09-10T21:25:53Z")

</div>

Just an idea…  
Why do we need Snap element to attach specific doors when we have doors blueprint from where you can put an option to choose to what to attach ? That way is easy I think.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_17a653651](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_17a653651](https://forums.unrealengine.com/u/anonymous_user_17a653651)\
**Post date:** [September 11, 2016, 9:36am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/920 "2016-09-11T09:36:47Z")

</div>

Also it will be very good if we can design doors as we do with levels and not using a single mesh that we need to scale. Sometimes my doors needs more elements than a single mesh.

---

<div class="post-metadata">

**Author:** ![Bioblaze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bioblaze](https://forums.unrealengine.com/u/Bioblaze)\
**Post date:** [September 11, 2016, 9:44am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/921 "2016-09-11T09:44:19Z")

</div>

> [@DrFrancky;592883](#):
>
> Also it will be very good if we can design doors as we do with levels and not using a single mesh that we need to scale. Sometimes my doors needs more elements than a single mesh.

Create your Doors in a Actor, and then Spawn the Actor. Thats what i`m doing this way it gives more control over things for you.

---

<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, 2016, 10:41am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/922 "2016-09-11T10:41:18Z")

</div>

> [@;592887](#):
>
> Create your Doors in a Actor, and then Spawn the Actor. Thats what i`m doing this way it gives more control over things for you.

That’s the way to go. You need to choose Blueprint from the drop down and specify the class of your blueprint actor

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/1/8/5185780c1c86bfd15c63b7150a89614f9c12d52d.jpeg)  
(I’ll hide the _MeshComponent_ field if Blueprint Class is selected from the drop down)

---

<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, 2016, 10:43am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/923 "2016-09-11T10:43:03Z")

</div>

> [@;592691](#):
>
> Yea i was derping. Had to watch the tutorials again XD and figured that out 🙂  
> Is there a way, to get a spawned door pawn, thats in a room? I have Buttons and a Few thiongs I`m trying to Link to the Doors, after their rezed havent gotten the hang of it yet, got any advice?

@ If they are close enough (like open / close buttons, lights etc) they can be a part of the door blueprint itself. How far away are these objects?

---

<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:** [September 11, 2016, 11:07am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/924 "2016-09-11T11:07:08Z")

</div>

Is there any way to get the 4.12 builds again? I don’t want to upgrade to 4.13 yet, because of another plugin which is not updated to 4.13.

---

<div class="post-metadata">

**Author:** ![Bioblaze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bioblaze](https://forums.unrealengine.com/u/Bioblaze)\
**Post date:** [September 11, 2016, 11:07am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/925 "2016-09-11T11:07:32Z")

</div>

> [@;592900](#):
>
> @ If they are close enough (like open / close buttons, lights etc) they can be a part of the door blueprint itself. How far away are these objects?

Ok, so I have a Puzzle I would like to Spawn within the Room, and Connect it to the Door, once its Solved. just Change the bool to false for locked, and which allows the Door to open. I have all the coding done for both. But getting them implemented, and still having the “Puzzle” Spawn Randomly XD in the room to associate it with the Door @.@ its Difficult lolz

Also, Traps are also Associated with the Puzzle, which are Spawned in the Corridors Leading Off the Room. If you have a good way to communicate so I can Cross-Associate them. I would Die Loving you.

---

<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, 2016, 11:20am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/926 "2016-09-11T11:20:34Z")

</div>

> [@;592906](#):
>
> Ok, so I have a Puzzle I would like to Spawn within the Room, and Connect it to the Door, once its Solved. just Change the bool to false for locked, and which allows the Door to open. I have all the coding done for both. But getting them implemented, and still having the “Puzzle” Spawn Randomly XD in the room to associate it with the Door @.@ its Difficult lolz
> 
> Also, Traps are also Associated with the Puzzle, which are Spawned in the Corridors Leading Off the Room. If you have a good way to communicate so I can Cross-Associate them. I would Die Loving you.

@,

For communication, I’m thinking of this interface. Will that work for your need?

- From blueprint you call a function with the world position (possible of the player or the puzzle item)
- DA will find which module you are in, using that position you gave, and give you a list of all the actors instances in that module / room

So for e.g. say I want to lock all the doors when the player enters the room, I would call this function that would fetch all the actors and cast to find the doors in them and lock it. Open them back again using the same method after the puzzle items trigger a solve event.

I a game like mutant storm empire, you can close / open the doors of the modules after the enemy wave is complete  
watch?v=WZZ0sS1GkRk

---

<div class="post-metadata">

**Author:** ![Bioblaze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bioblaze](https://forums.unrealengine.com/u/Bioblaze)\
**Post date:** [September 11, 2016, 11:32am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/927 "2016-09-11T11:32:34Z")

</div>

> [@;592908](#):
>
> @,
> 
> For communication, I’m thinking of this interface. Will that work for your need?
> 
> - From blueprint you call a function with the world position (possible of the player or the puzzle item)
> - DA will find which module you are in, using that position you gave, and give you a list of all the actors instances in that module / room
> 
> So for e.g. say I want to lock all the doors when the player enters the room, I would call this function that would fetch all the actors and cast to find the doors in them and lock it. Open them back again using the same method after the puzzle items trigger a solve event.
> 
> I a game like mutant storm empire, you can close / open the doors of the modules after the enemy wave is complete  
> watch?v=WZZ0sS1GkRk

kk, i`ll look it over. I`m at TechCrunch Disrupt Hackathon right now. 😃

Won’t have the Ability to Test this until I`m home. Hackathon ends in a few hours. LoLz around 8 or so hours, 5 until projects are due! I`ll contact ya back soon giving you a yes/no 🙂

Also yea, the First Portion you stated is a idea. Would there be a way to get Associated Corridors based off the Doors? Because if that works, you have 3 Doors, A, B, C each having their own associated Corridor. If I was able to pull the cooridor, based off the door, associated too the room. That would make \*\*\*\* so much easier. Really and 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 11, 2016, 11:41am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/928 "2016-09-11T11:41:42Z")

</div>

I updated the Snap builder algorithm to be more robust.

I’ve changed the growth to be along a linear path and branch off from the main branch based on a customizable probability and and branch length. It produces better and more reliable results. Loops are not supported yet

[![](https://i.imgur.com/utQNbnC.gif) ](https://i.imgur.com/utQNbnC.gif)

Red is the main branch. Yellow is the side branch.  
Current config:  
Main branch Length - 80  
Side branch Length - 5  
Side branch probablity - .5

So it creates a path of 80 modules  
Then branches off from each of the 80 modules 50% of the time creating 5 modules on the side

---

<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, 2016, 11:44am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/929 "2016-09-11T11:44:33Z")

</div>

> [@;592916](#):
>
> kk, i`ll look it over. I`m at TechCrunch Disrupt Hackathon right now. 😃
> 
> Won’t have the Ability to Test this until I`m home. Hackathon ends in a few hours. LoLz around 8 or so hours, 5 until projects are due! I`ll contact ya back soon giving you a yes/no 🙂
> 
> Also yea, the First Portion you stated is a idea. Would there be a way to get Associated Corridors based off the Doors? Because if that works, you have 3 Doors, A, B, C each having their own associated Corridor. If I was able to pull the cooridor, based off the door, associated too the room. That would make \*\*\*\* so much easier. Really and amazing.

I’ve rewritten the data structure so you should have access to the graph data structure (to query other modules attached to a door)

---

<div class="post-metadata">

**Author:** ![Bioblaze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bioblaze](https://forums.unrealengine.com/u/Bioblaze)\
**Post date:** [September 11, 2016, 11:53am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/930 "2016-09-11T11:53:07Z")

</div>

> [@;592920](#):
>
> I’ve rewritten the data structure so you should have access to the graph data structure (to query other modules attached to a door)

You Sir ROCK! 😃

---

<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:** [September 11, 2016, 11:59am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/931 "2016-09-11T11:59:21Z")

</div>

Is there any way to get the 4.12 builds again? I don’t want to upgrade to 4.13 yet, because of another plugin which is not updated to 4.13.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_17a653651](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_17a653651](https://forums.unrealengine.com/u/anonymous_user_17a653651)\
**Post date:** [September 11, 2016, 8:29pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/932 "2016-09-11T20:29:32Z")

</div>

Snap module info is not visible in editor ? I don’t see any box neither any visible sign that the actor is there.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_17a653651](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_17a653651](https://forums.unrealengine.com/u/anonymous_user_17a653651)\
**Post date:** [September 11, 2016, 10:02pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/933 "2016-09-11T22:02:39Z")

</div>

In Snap Module Build if I save the main level and reload it I get some strange items appear in my level. Please check the video bellow :  
watch?v=uP6OS8FGagU

---

<div class="post-metadata">

**Author:** ![GameMaster79](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GameMaster79](https://forums.unrealengine.com/u/GameMaster79)\
**Post date:** [September 13, 2016, 8:19pm UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/934 "2016-09-13T20:19:58Z")

</div>

Got this on the Unreal Marketplace a few days ago. Already gave you 5 stars. Amazing work. Totally worth 99 bucks! I’m planning on doing a lot with the snap builder. So I would love to see more documentation and a walk through video. The other thing I could see a lot of buyers getting use out of is a bit more information on selection logic overrides. You have a handful in the package, but I would like to see more. Honestly, it would be great if you added a few common functions that might get a lot of use. That way people don’t have to do it themselves. For example, I want to get the cells infront of the doors and stairs so I can make sure nothing gets put there and they are clear of obstructions. Stuff like that would help out.

Thanks for everything so far!

---

<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 14, 2016, 7:59am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/935 "2016-09-14T07:59:15Z")

</div>

> [@SethPDA;592924](#):
>
> Is there any way to get the 4.12 builds again? I don’t want to upgrade to 4.13 yet, because of another plugin which is not updated to 4.13.

SethPDA, I’ll post a new build today with 4.12 & 4.13

---

<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 14, 2016, 8:00am UTC](https://forums.unrealengine.com/t/dungeon-architect/28094/936 "2016-09-14T08:00:13Z")

</div>

> [@DrFrancky;593087](#):
>
> Snap module info is not visible in editor ? I don’t see any box neither any visible sign that the actor is there.

@DrFrancky, I’ll add a sprite to the actor

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

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