Announcement

Collapse
No announcement yet.

Dungeon Architect

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    What's the best way of doing ceilings please?
    I can't see how even if I had them, if they could work with the stairs and height changes etc?

    Loving it by the way. Trying to wrestle my own meshes into it and slowly getting there...

    Comment


      @HInoue, @sch5 Thanks for pointing out the bug. I've fixed the issue and uploaded a new build (change log below)

      @Nawrot I'll create more tutorials on that shortly

      @n00854180t Thanks! I'll bundle the theme file along with the quick start sample projects

      @dazuk1978 You can attach ceilings to the ground markers. I'll create a video on it soon
      Dungeon Architect | Prefabricator

      Comment


        New update available

        Version 1.1.1
        • Fixed instanced mesh builder crash issue
        • Fixed a crash issue due to particle systems not setting their templates in the main game thread


        You can download it from coderespawn.com > My Account page
        Dungeon Architect | Prefabricator

        Comment


          Ali Akbar you are indeed great.

          Bumping this, because i have an idea for bit more functionality.

          When you add actor node to theme graph, would be nice if "details" exposed that actor "editable" or "exposed at spawn" variables, so we could set some parameters right from theme graph.

          Oh and another feature would be very nice (for those who make topdown games):
          some way to fill up areas outside of dungeon. Now dungeon looks like it is floating in empty space. Would be nice to have node that can fill areas outside dungeon with black boxes or something that would act as background.
          I know this probably is doable with graph rules and blueprints for selection logic, but having node for that would be awesome.
          Last edited by Nawrot; 10-18-2015, 07:42 AM.

          Comment


            Thank you for the quick update! I can verify that instanced meshes doesn't crash for me now, you rock

            There is a bit of weirdness however- dungeons build normally without instanced meshes, but for some reason when I switch to instanced the entire dungeon gets built out of corner pieces, I took a screenshot for ya-

            Click image for larger version

Name:	Instanced example.png
Views:	1
Size:	600.8 KB
ID:	1091431

            This is brand-new empty test project, the process to reproduce is simply 1) make new project, 2) make plugin folder and drag dungeon architect in, 3) drag starter pack into content folder, 4) load unreal, add dungeon actor to scene, check "instanced," generate dungeon. Seemingly each time I randomize the seed, a different mesh gets picked and used for every tile.

            Finally, do you think it would be possible to add the theme file for your infinity blade demo in the starter pack? I would love to pick it apart and see how you set it up

            Comment


              So I'm getting somewhere with my theme now.
              However, is there a way to spawn entities within a random range? By that I mean, we can already declare offsets but they are absolute for every cell that it is successful on. I want it randomised within a range that I specify.

              So to clarify then, I am adding props either from RoomOpenSpace or wall, ground etc and this works fine but for every time that prop successfully spawns it has the same offset as the previous one and so on. This is great to be consistent when I want it to be but if it is trash on the floor or something else you want random transforms and orientation on, then it ends up looking uniform and unnatural.
              Is there a way to do this already, or is it something that's planned for future.

              EDIT: Also, If I wanted to create two variants for say a wall, which were ENTRANCE and EXIT and they are portals that allow me to enter the map (from a previous procedural level) and leave (to another of the procedurally generated levels) how would I make sure there is only one of each of these generated per level? Can we have a 'unique' flag for them?

              I cannot code by the way, only use blueprints.

              Thanks,
              Daz
              Last edited by dazuk1978; 10-18-2015, 06:45 PM.

              Comment


                @dazuk, only one way i could (randomizing junk) make it work so far was creating blueprint that reads its location, uses tat as seed and randomly places junk. But this feels like reinventing the wheel or duplicating what is already in dungeon architect. I believe this stuff is in "Transform logic" blueprint, I can create it, but there are no events, so far i am clueless about how to connect my blueprint graph to dungeon architect.

                And while bumping it i have more questions/problems:
                1 - how to detect corners?
                2 - or detect if only one side of wall is exposed or both?
                3 -detect width of corridor (2, 3 or 4 cells wide)
                4 - detecting all empty cells around dungeon to fill them with some background mesh.
                5 - how place bigger elements that are created from 2 or more cells (for eg, window that is 3 parts wide and has 3 sections/meshes)
                6 - or how create array that holds all ceiling meshes (in top down when camera is above roof i hide it, but when going third/first person i would like to show all roof.)

                Comment


                  @Nawrot You can fill up areas outside the dungeon by using multiple dungeons (Video below)












                  The following video shows examples of using multiple dungeons with the same level and the use of Transformation Logic to fill up the empty space around the dungeon
                  Dungeon Architect | Prefabricator

                  Comment


                    @dazuk1978 I show how you can add randomness in the above video at time 12:30
                    Dungeon Architect | Prefabricator

                    Comment


                      @Ali - perhaps you could make a theme out of Luos & Nopal's free mini-cave pack? https://forums.unrealengine.com/show...s-mini-Package

                      I'm curious because the pieces don't really fit an exact grid sizing pattern. You mentioned being able to handle that with selectors befefore. Plus, hey, another example theme!
                      Storyteller - An immersive VR audiobook player

                      Dungeon Survival - WIP First person dungeon crawler with a focus on survival and environmental gameplay ala roguelikes

                      Comment


                        Awesome work on the video. Very useful for this amazing tool!

                        Is there any way to stop the objects that are now scattered around randomly from colliding with walls etc? Something like a check at build/run-time which checks for valid positions of objects so they are not colliding with other static meshes, and if so move them again and again until they are clear?

                        Also, on the videos disable your editor sound as that noise when you quit from game mode to editor is so loud and sometimes your voice is quite low so I turn the volume up...and then BANG! Blow my speakers !

                        Thx so much
                        Daz
                        Last edited by dazuk1978; 10-19-2015, 02:10 PM. Reason: typo

                        Comment


                          After applying the 4.9 version to the Plugins folder and opening the project I get the following error message:

                          "Plugin 'DungeonARchitext' failed to load because module 'DungeonARchitextRuntime' could not be found."

                          Comment


                            Okay so following on from my previous post, I followed Ali's video when it came to randomising the transform and rotation of the entities but it currently does no checks for collision at generation-time with other entities.
                            I tried to add something to check for this but I'm outta my depth to be honest I've attached a screenshot of one of my attempts to do a check and delete any offending (colliding) entities but it doesn't do anything.
                            Ideally it would do some kind of loop, where it spawns an entity, checks for collision, if true then reposition, do check until false, then place, then move onto next object etc.

                            Can anyone help me please?

                            DazClick image for larger version

Name:	BP_TransformRandom.PNG
Views:	1
Size:	248.4 KB
ID:	1091490

                            Comment


                              Daz, you could try sampling a few points nearby and check if they are empty (e.g. using SphereOverlapActor), So loop this say 5-10 times until you get nothing from the SphereOverlapActor, and insert it into the scene
                              Dungeon Architect | Prefabricator

                              Comment


                                Originally posted by Ali Akbar View Post
                                Daz, you could try sampling a few points nearby and check if they are empty (e.g. using SphereOverlapActor), So loop this say 5-10 times until you get nothing from the SphereOverlapActor, and insert it into the scene
                                Yeah, wish I had the know-how to do this!
                                I'll give it a go, but may need some help?!

                                Thanks
                                Daz

                                Comment

                                Working...
                                X