Announcement

Collapse
No announcement yet.

Dungeon Architect

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

    Originally posted by netcop0207 View Post
    Is 4.17.x no longer supported? Dungeon Architect caused a unknown issue in my project so I decided to try reinstalling the plugin but the launcher(and the marketplace description) says 4.17 is not compatible.
    netcop0207 UE4 Marketplace allows only the last 3 version for code plugins, so (the current version 4.20 + previous 4.19 and 4.18). It has no slots of uploading previous versions. Could you try upgrading your project?
    Dungeon Architect | Prefabricator

    Discord Support

    Comment


      Originally posted by draxous View Post
      Hello,

      I have run into issues using your plugin with dedicated server. I continuously get Outer errors from references inside the theme file. When I remove the mesh node in question the error goes away. This happens for every mesh node in a theme file.

      Things I've tried:
      1. Moving plugin location from engine to project and visa versa.
      2. Deleting plugin binaries and force rebuild
      3. Creating a brand new project with DA/Dungeon/Theme
      4. Tried switching from 4.20 to 4.19

      Code:
      [2018.09.11-21.10.08:698][ 0]LoadErrors: Warning: CreateExport: Failed to load Outer for resource 'Template': EdGraphNode_DungeonMesh /Game/Theme.Theme:EdGraph_DungeonProp_0.EdGraphNode_DungeonMesh_4

      Could you please reach out to me about this issue. I have spent a great deal of time working with your plugin to find that I can't package a dedicated server. I have reached out via several methods with no response as of yet, ty.
      draxous I sent you a mail yesterday. These warnings shouldn't stop the server, they show up on editor builds. I've checked with standalone dedicated server builds and it doesn't show up (you'll need to compile standalone server builds from UE4 engine source code from github)
      Last edited by Ali Akbar; 09-15-2018, 02:53 AM.
      Dungeon Architect | Prefabricator

      Discord Support

      Comment


        Originally posted by netcop0207 View Post
        Is 4.17.x no longer supported? Dungeon Architect caused a unknown issue in my project so I decided to try reinstalling the plugin but the launcher(and the marketplace description) says 4.17 is not compatible.
        Originally posted by Wallenstein View Post
        Not sure if this was posted before since I am just starting with this plugin, but in the Theme Editor in properties when you click "Skylight" the editor crashes

        Also, I noticed several people have reported that the IsNearMarker node no longer works. Could that be fixed sometime soon, it is quite important?

        Edit
        -----
        I made a temporary fix since I really want to use this node. I don't know if there was a good reason to disable that node in code and if my fix will break something else later on, but I post it here for those of you who are in need of this. Feel free to add a better solution.

        - Since I don't know how to compile a plugin that is installed in the engine, I copied the whole DungeonArchitect subfolder from the engine/Marketplace location to my project's plugins
        - Go to \DungeonArchitectRuntime\Private\Builders\Grid\GridDungeonQuery.cpp near the end and uncomment the code for IsNearNode()
        - Go to DungeonBuilder.h near the end and make the protected declaration of the marker array public
        - Rebuild the whole project

        This got the node working. Like I said it is not a proper solution but it makes the node work again. I hope this will be fixed in an official update sometime soon so that I wont need to use this patch in the future

        netcop0207 @Wallenstein

        I've added IsNearMarker and will be available in the next update shortly


        Dungeon Architect | Prefabricator

        Discord Support

        Comment


          Originally posted by netcop0207 View Post
          Oh, and in 4.18.3, if the dungeon is built with the "Instanced" flag checked, it disappears when played on a mobile device. It doesn't matter whether it was built on design-time or runtime. DungeonInstancedStaticMeshActor just disappears.
          If the "Instanced" flag is not checked(i.e. if the dungeon actor is consist of static meshes only), it doesn't disappear.

          It was working well on 4.17.2 with the old version of plugin, so I guess it's a bug.

          ++
          Ran some test on 4.20 and the same thing happened. The DungeonInstancedMeshActor created in the editor gets destroyed(returns invalid) when played on mobile for some reason.
          netcop0207 I just tested on Android and instanced static meshes work fine (runtime generated dungeon). Which mobile platform is this for?
          Dungeon Architect | Prefabricator

          Discord Support

          Comment


            Uploaded a new version to the website (Windows). I'll upload mac build and the marketplace version later today

            Version 2.9.3

            • Fix: Fixed a crash issue on stand alone builds due to editor only objects in snap connection actor
            • New: Added IsNearMarker function back in. This function is useful for querying nearby markers in the scene from your transform / selector logic BP

            Complete change log here
            Dungeon Architect | Prefabricator

            Discord Support

            Comment


              Submitted 2.9.3 to the marketplace for review
              Dungeon Architect | Prefabricator

              Discord Support

              Comment


                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,
                Dave
                Last edited by morphole; 09-17-2018, 10:32 PM.

                Comment


                  Ali Akbar - Is the Fantasy Dungeon pack based theme available?

                  Awesome work as always, the IsNearMarker node looks super useful.
                  Storyteller - An immersive VR audiobook player

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

                  Comment


                    Ali Akbar 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.
                    Last edited by Vormulac; 09-26-2018, 07:21 PM.

                    Comment


                      The crash that I posted about is still happening with 2.9.3. Repro steps are the same. Would really like to get a hold of more examples to see if I'm doing something wrong with the snap builder. It doesn't seem to work with instanced meshes. I mean, it sort of does, but some of the meshes are not instantiated.

                      Also, I'm seeing my doors and walls appearing at the origin rather than with their snap connections. Is there a way to fix this?

                      Comment


                        Ali Akbar 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.

                        Comment


                          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:

                          3) 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:

                          4) 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
                          Last edited by thesnowdog; 10-05-2018, 08:21 PM.

                          Comment


                            I can answer 3 and 4:

                            3) If your game needs the levels to be built on-the-fly and at runtime, then you need to go with dynamic lighting (GPU intensive, worse the more lights you need, not as bad if you just need one sunlight / directional light), or make everything unlit (fast but you get no shadows, etc).

                            If your game will work with levels built ahead of time, then you build a dungeon in a level and can Build Lighting to bake lightmaps for that level, just as if you built the level by hand and used static lighting. Most VR games use baked static lighting for level geometry, so do that if you can!

                            In my game, I want dynamic randomized levels so I'm using dynamic lighting, but it all takes place outdoors so I only need a single light source.

                            4) Yes, works fine with forward renderer.
                            Last edited by JBernhelm; 10-08-2018, 07:43 PM.

                            Comment


                              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.

                              Comment


                                Originally posted by thesnowdog View Post
                                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.

                                Comment

                                Working...
                                X