Search Unity

DunGen - Procedural Dungeon Generation

Discussion in 'Assets and Asset Store' started by Aegon-Games, Mar 7, 2014.

  1. Cereal_Killa

    Cereal_Killa

    Joined:
    Oct 20, 2013
    Posts:
    205
    Earlier in the threat you said that it's only possible to build a dungeon with one main path but you also display this image on the front page..

    http://data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTExMWFRUXGSEZGBgXGCAYGBgYHx8dHxgaFx0aHSggGB4lHR8dIjEhJSorLy4uHR8zODMtNygtLisBCgoKDg0OGxAQGy8lHyUvLy0tLS0tLS8tNS0tLy8tLSstLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIAKgBLAMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAABQMEBgIHAf/EAFUQAAEDAgQDBAQGCg8GBwEAAAECAxEABAUSITETQVEGImFxMoGRoQcUI0Kx0RUWM1JUc5SywfAkJTVDU1VkdJKTs9LT1PE0YnKCwuEmREWDoqO0F//EABkBAAMBAQEAAAAAAAAAAAAAAAABAgMEBf/EACsRAAICAgIBAgUDBQAAAAAAAAABAhESIQMxQVFhEyJxkfAEoeEUMoHB0f/aAAwDAQACEQMRAD8A8NooooAKKKKACiir1nZBYEkiddIOg8JoAo10lJOwJq63YggmTp5VfwhxTJlIKgfSGgBEQO8J++OlS3XQ0rK9lgLjjfEzISnX0iZ03gAHXanOFWDa2yCVBaUpjXQz6Q18dd+Z0pfduwkQkiNddo589OXX3ayWOOBtspAgkDWCYjp6/oqJZNaLVJnOIBtCiADA8Z6Tr5T7qtYZaNuAEpA70HUTtP6KWXWIJUoqga9Qf0n9da6ZxTJEBMjWZ6gUOLxSBNZBiLLalHKMoBPQ89KqCyTzUfZXOJXXEMwBqTp41zYPhMgxHj1q1aiS9snsmwlQUDMdf+xq4pAcWmVRqB0023Jqk80hS5TOXfn6vqq0pKlJ1Igg+wUn6jXoQ3bRQ2TIHejQ79dOfnS7jq6mprm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tmhxaSGzJMFKwRyPQ1acwu4KYWgFvaCtMRMRAVm5Vwe0jVxkUYbUlRnOpITGp2AjnGwqQ3omCi3SN8/DSDrqJVE8/o9WUVOlr7/6NHiJU4aEq4gCQPRyj6ZJmrbmEtLSR3eKJ56qM6eB0+ipMIdC7ng/dWwhSyGiPSAMEEjYaHahGRu5zqYUpKt07xIAzajzjSqeT+q2LRjX0QpQ6Ej31HT7ELTiOpMEDQaga8ydAOvSmCOzqFNlYIlKsqk845R16Vo5pJNkKFukZGtEHT8XUFIBTEAjkdh41zc4QlSwhCvn5dEkyNYP69fCnR7Ovn5HI4B1yEcvOOdTKcfI1B+DC0VcxGy4RAzTqRtERpVOtTMKKKKACiiigAooooAKKKKAOkKgg9NaZWmMLSYMZeemsdBRRQA4VjSCUllLhKdT3Z0010pm1iq3lOFxKwshA74y7Z+p8Rv0oorGVZV7GserLYuuKwy5sCspEqEpiEkqEyBoTPSsBiyCl91JIJDihI2MEjTwooqorF0iZO1ZUpngCCXCBvE/XRRVydJslK3Q8fQAPTHl1n6RWXunlEkFRIBMAmQPKvlFNbVg+6IaKKKBBRRRQAUUUUAFFFFABRRRQAVuMUslixDpKCk6CPSHnrRRWc3tFw8mNtbhbaszalIVsCklJ10Ika60+wxTxCiviLmORVp7NJr7RVSdIUVbJ3AUqTmSpM/fJj6R51orXEm2WIDZDpWFZjp3dFJMRp9RoorOUc0rLTwk6Fjqmi6hTYUBmJ1EFQM6pMRpBBPWtTiGNEJDR4mbLqc4nLA0IA0GWiiseWCtX6M04+R1o8wx4d4HqVecaRSqiiutdHO+wooopiCiiigAooooA//Z

    So I'm still confused.

    I'd like to create a dungeon like in this image.
    http://data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMTEhUTExMWFRUXGSEZGBgXGCAYGBgYHx8dHxgaFx0aHSggGB4lHR8dIjEhJSorLy4uHR8zODMtNygtLisBCgoKDg0OGxAQGy8lHyUvLy0tLS0tLS8tNS0tLy8tLS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EcvOOdTKcfI1B+DC0VcxGy4RAzTqRtERpVOtTMKKKKACiiigAooooAKKKKAOkKgg9NaZWmMLSYMZeemsdBRRQA4VjSCUllLhKdT3Z0010pm1iq3lOFxKwshA74y7Z+p8Rv0oorGVZV7GserLYuuKwy5sCspEqEpiEkqEyBoTPSsBiyCl91JIJDihI2MEjTwooqorF0iZO1ZUpngCCXCBvE/XRRVydJslK3Q8fQAPTHl1n6RWXunlEkFRIBMAmQPKvlFNbVg+6IaKKKBBRRRQAUUUUAFFFFABRRRQAVuMUslixDpKCk6CPSHnrRRWc3tFw8mNtbhbaszalIVsCklJ10Ika60+wxTxCiviLmORVp7NJr7RVSdIUVbJ3AUqTmSpM/fJj6R51orXEm2WIDZDpWFZjp3dFJMRp9RoorOUc0rLTwk6Fjqmi6hTYUBmJ1EFQM6pMRpBBPWtTiGNEJDR4mbLqc4nLA0IA0GWiiseWCtX6M04+R1o8wx4d4HqVecaRSqiiutdHO+wooopiCiiigAooooA//Z
     
  2. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    Sorry for the late reply. That's just a background for the video thumbnail; if I remember correctly, it's an image of several overlapping dungeons to fill up some space. DunGen can't produce a dungeon layout with multiple connecting paths, it allows for one main path and any number of branches.
     
  3. LunaTrap

    LunaTrap

    Joined:
    Apr 10, 2015
    Posts:
    107
    Hi @AegonGames

    I love your dungeon generator, but i have a question, Dungen keeps creating boxcolliders for the Tiles with negative sizes,
    why is this?

    And can i add my own boxcollider to all my Tiles ahead of time so the DungeonGenerator does not need to? i dont like having this because Unity does not likes working with negative size colliders.


     
  4. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    It looks like this was caused by the conversion from world to local space. I've fixed this issue in the newest beta build (below).

    If you're not making use of the (optional) DungeonCharacter class to receive events when switching rooms, you don't need the tile collider at all and it can be disabled in the dungeon generator settings. If you want to use your own colliders, you can do that too by making sure the automatic placement is disabled and attaching your collider to the tile's root GameObject.


    Version 2.10.0 (Beta)
    - Download

    - Bugfix Fixed an issue with the 2D demo scene which caused tiles to overlap
    - Change "Ignore Sprite Bounds" in the dungeon generation settings is now unchecked by default
    - Feature Doorways now have a priority for deciding which doorway's "Door Prefab" should be chosen
    - Feature Added an option to specify which layer the tile trigger volume is placed on (Defaults to "Ignore Raycasts", only effective if "Place Tile Triggers" is checked)
    - Bugfix "Avoid Door Prefab Rotation?" for doorways should now be set properly
    - Bugfix Door prefabs should now always be cleaned up correctly

    * NEW *
    - Bugfix Auto-placed trigger volumes for tiles no longer sometimes have negative sizes
     
    hopeful likes this.
  5. LunaTrap

    LunaTrap

    Joined:
    Apr 10, 2015
    Posts:
    107
    Great!! thanks a lot for the quick repply, i never expected it to be an actual bug.
     
  6. Duffer123

    Duffer123

    Joined:
    May 24, 2015
    Posts:
    1,052
    @AegonGames ,

    Does this Asset now have Playmaker integration?
     
  7. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    It's had limited Playmaker support (just some actions for generating and clearing the dungeon layout) since version 2.7, but I haven't updated it since then.
     
  8. Duffer123

    Duffer123

    Joined:
    May 24, 2015
    Posts:
    1,052
    Any chance of a Playmaker spruce up? ;)
     
  9. Elzean

    Elzean

    Joined:
    Nov 25, 2011
    Posts:
    578
    Is it possible to consider each room as a scene and load them as additive when generating the dungeon ?
    If it is do you have suggestion on the best way to make the change ? (which script to look at and such)
     
  10. Elzean

    Elzean

    Joined:
    Nov 25, 2011
    Posts:
    578
    Another question, is there a way to get a reference of the adjacents rooms (the ones after each doorways) ?

    As a suggestion, it would be nice to have a way to open archetypes from the flow, and to open tileset from the archetypes. Lile a button next to each ref.
     
  11. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,028
    I think what you could do is have DunGen assemble a layout of rooms that are empty except for an invisible object in each room that contains an instruction to load a level additively when a player is nearby. Or something like that.

    Solutions for this would depend on your ultimate needs, but again, you might be able to place a game object with a trigger collider at each room door such that the trigger extends into the space of the adjacent chamber. This could be used in a system to allow the player or NPC AI to know what room is coming up next.
     
  12. Elzean

    Elzean

    Joined:
    Nov 25, 2011
    Posts:
    578
    Yes i might do something like that (not sure i still need it right now), but its a good idea.


    I'd rather try to setup the adjacent/links during generation if there not something there yet.
     
  13. Elzean

    Elzean

    Joined:
    Nov 25, 2011
    Posts:
    578
    Been using Dungen a lot lately for this game:
    http://steamcommunity.com/sharedfiles/filedetails/?id=746829979

    I though i would share a small script that let you export your tiles as prefab without replacing what you have on the current scene (so you keep your separated prefabs), it replace the old prefab if its already there while keeping the references (you don't lose the link inside the Tileset)

    Place the PrefabPath on the tile, set the path (folder need to be already there), then you can select 1 or more tile and press "ctrl+e" and it will create the prefabs for your selected tiles.

    Capture.JPG

    It's a simple script but it made my workflow much faster :p

    Don't hesitate to try to improve it and share if you got more ideas for it!
     

    Attached Files:

  14. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    Not for a while I'm afraid. Playmaker integration has always been low on my list of priorities, but we've also got a game launch coming up in the next few months so pretty much all of my attention is going to have to be on that for now. Even the new beta build is going to have to stay in its current state until I have the time to finish it up.


    There's no built-in way to do that in DunGen. I had originally planned to go that route instead of using prefabs when first planning DunGen, but decided against it; unfortunately, I can't remember why.

    The DungeonGenerator class is responsible for all tile placement, but there will be references to tile prefabs throughout the code. I don't imagine it will be an easy task to implement. hopeful's suggestion is probably your best bet.


    All of that information is made available in the Dungeon class. Tile instances have a list of used doorways and each doorway has a reference to its own tile and connected doorway. Something like this:

    Code (CSharp):
    1. var runtimeDungeon = GetComponent<RuntimeDungeon>();
    2. var dungeon = runtimeDungeon.Generator.CurrentDungeon;
    3.  
    4. var startRoom = dungeon.AllTiles.First();
    5.  
    6. foreach (var doorway in startRoom.Placement.UsedDoorways)
    7. {
    8.     var adjacentTile = doorway.ConnectedDoorway.Tile;
    9. }
     
  15. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,028
    I wouldn't want you to rush a release, but if possible give priority to issuing bug fixes. :)
     
  16. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    Yeah, I should have said that I'll still be fixing bugs and adding the fixes to the beta build. I just won't be implementing new features or pushing 2.10 to the asset store for a while.
     
  17. sarum

    sarum

    Joined:
    Mar 2, 2014
    Posts:
    210
    just bought your asset .. very happy with it :)
    looks robust and it is very easy to use.

    i just had one issue but it is kinda a big one : the field where you need to put a prefab to show when a doorway is not used, is not accepting anything i try to drop in it (i have tried plenty of things, even a simple prefab made of a cube, but everything is rejected). Am i missing something ?
    sorry if it has already been asked.

    +1 vote for Playmaker actions !
     
  18. sarum

    sarum

    Joined:
    Mar 2, 2014
    Posts:
    210
    and a few screenshots :)

    1.jpg

    1b.jpg

    1e.jpg
     
    SteveB and hopeful like this.
  19. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    Is this the list labelled "Add when NOT in use"? That particular field doesn't accept prefabs, it takes GameObjects in the scene itself; sorry I know the naming is confusing, I really struggled picking a name for that one.

    If you need to use prefabs, there's a "Blocker Prefab" list which should do what you want.
     
  20. sarum

    sarum

    Joined:
    Mar 2, 2014
    Posts:
    210
    yes this is the list, i tried to put a gameObject from the scene but it always reverted to empty once i clicked play.
    Blocker Prefab should do the trick then :)
     
  21. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,162
    Hi,
    I would ask what is the best AI tool can be used consiering that using real time generatotion you cannot create NavMesh ...Thanks
    Any suggestion ?
    @AegonGames
     
  22. Arganth

    Arganth

    Joined:
    Jul 31, 2015
    Posts:
    280
    a* pathfinding project pro is integrated with dungen
    another great one is apex path (not directly integrated but fairly easy to use)

    choosing between this two is science in itself :D
     
    Aegon-Games likes this.
  23. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,162
    Thanks ... so both do not use NavMesh ... do they ?
     
    Last edited: Sep 12, 2016
  24. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    They use their own NavMesh system so they're capable of generating them at runtime after the dungeon layout is complete, unlike Unity's built-in NavMesh system.

    There's also RAIN which has partial integration with DunGen (it's currently only missing the ability to handle dynamically opening/closing doors).
     
    antoripa likes this.
  25. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,162
    Guys .. thanks a lot ....
     
  26. murd0ch

    murd0ch

    Joined:
    Jun 14, 2013
    Posts:
    1
    I was wondering if there was a way to force a tile to always have a specific number of doors in it?

    For example if I build a tile with 4 doors I can tell it to always have at least 2 or 3 active.
     
  27. Chrisad

    Chrisad

    Joined:
    Mar 12, 2013
    Posts:
    50
    Hello everyone,
    I figure something strange with Dungen. Sometimes, when I generate a dungeon and keep the seed, the second time I generate the dungeon with the same seed it will have some new tiles added (each time at the end of branchs and correclty connected). The main path is always clean.

    Does that means I change something between the two generations?
     
  28. oldcrank

    oldcrank

    Joined:
    Jan 13, 2015
    Posts:
    2
    I've noticed that sometimes just changing the location of a door on a prefab is enough to alter the Dungeon even with the same seed. So if you made any changes to a Tile prefab, it might've changed the overall layout a little. Likely due to the rules that prohibit a room or corridor from overlapping another.

    p.s. Loving DunGen so far, by the way. Much more powerful than even I had at first imagined. :)
     
  29. kenlem

    kenlem

    Joined:
    Oct 16, 2008
    Posts:
    1,611
  30. sarum

    sarum

    Joined:
    Mar 2, 2014
    Posts:
    210
    nothing special about the lightning, there is a point light in every torches ... the rest is more about color grading/correction
     
  31. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,162
    Hi @AegonGames ,
    I am using DunGen and trying to adopt Third Person Controller by Opsive.
    I guess that there are conflict with the Collider created at Tile Level.
    Is there any way to sort out that at your end?
     
  32. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    No, sorry, there's no way guarantee which/how many doorways are used for the layout.


    Any changes to the bounds or doorways of any tile, as well as any changes to TileSets, Archetypes or the DungeonFlow will likely change the dungeon layout with the same seed. There's really no way around it.


    I didn't think there would be any issues with the tile collider since it's set to be a trigger (and is in the IgnoreRaycasts layer by default); it really shouldn't interfere with any character controllers.

    If you don't want the triggers for detecting when your character switches rooms, there's no reason to have them at all and you can disable them in the dungeon settings (the option is called "Place Tile Triggers").
     
  33. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,162
    Thanks ... putting the Collider on IgnoreRayCast is fine. Great tool ....
    Btw. .. any plan for the next release ... I would like to use DunGen in production
     
    Last edited: Sep 16, 2016
  34. JAMiller

    JAMiller

    Joined:
    Apr 2, 2009
    Posts:
    73
    DunGen is great! Helping me put together a game I've always wanted to try. In just a days of work the momentum is amazing! I appreciate all you've done!

    I managed to combine DunGen with FogOfWar, Ferr SuperCube, and Adventure Creator - What a time to be alive! I even managed to get the save/load game working with AC and seeded dungeons with random prefabs (in a hacky way for now). Also using the AStar pathfinding solution you provided and its working great, with doors too!




    (With a* recast graph showing)

    Edit: Happy to say it works with AStar Pathing Pro Grid based navigation too!




    I do have one question about RandomPrefabs and Global Props.

    What I am doing is combining RandomPrefab with a GlobalProp as a way to control random weapons, enemies, containers and other unique props I only want spawned a limited number per group across the whole dungeon. It works, except it also instantiates all the prefabs that are not chosen by global props (they instantiate and get disabled).

    Is there any way to make it NOT instantiate in the case a global prop is not used?

    Or is there another way to control placement of these types of items globally? (Like if I only want 3 random powerful weapons to spawn per map)



    For example this room you can see 5 possible positions for a trashbin to globally spawn, they all instantiated but only one is active. Same with the cones.

    To state it another way: Can I make it so RandomPrefab does not instantiate unless GlobalProp was chosen to be active?
     
    Last edited: Sep 19, 2016
    hopeful likes this.
  35. Misscelan

    Misscelan

    Joined:
    Mar 8, 2013
    Posts:
    106
    I bought the asset not so long ago, and I'm extremely happy with the results, awesome work!
    I have one question though, I'm using Dungen to generate a random house, I would like to create some small bathrooms with one door, adding two doors on those specific tiles would look weird, is there anyway we can use 1 door tiles?

    EDIT: I just saw Dungen generated a dungeon including one of the 1room tiles I had, even though I got the error "Tiles in an archetype must have more than 1 doorway.", so the error is just a warning?
     
  36. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    I can't remember why I just disable inactive global props rather than destroy them, but there's no way to change that functionality out of the box. You could change the source code to get the effect you want, specifically in the ProcessGlobalProps() function in DungeonGenerator.cs around line 1000 you should see this:

    Code (CSharp):
    1. var weights = pair.Value.Clone();
    2. int propCount = range.GetRandom(RandomStream);
    3. propCount = Mathf.Clamp(propCount, 0, weights.Weights.Count);
    4.  
    5. for (int i = 0; i < propCount; i++)
    6. {
    7.     var chosenEntry = weights.GetRandom(RandomStream, true, 0, null, true, true);
    8.  
    9.     if (chosenEntry != null && chosenEntry.Value != null)
    10.         chosenEntry.Value.SetActive(true);
    11. }
    Replacing it with this should make it delete unused global props:

    Code (CSharp):
    1. var weights = pair.Value.Clone();
    2. int propCount = range.GetRandom(RandomStream);
    3. propCount = Mathf.Clamp(propCount, 0, weights.Weights.Count);
    4.  
    5. List<GameObject> chosenEntries = new List<GameObject>(propCount);
    6.  
    7. for (int i = 0; i < propCount; i++)
    8. {
    9.     var chosenEntry = weights.GetRandom(RandomStream, true, 0, null, true, true);
    10.  
    11.     if (chosenEntry != null && chosenEntry.Value != null)
    12.     {
    13.         chosenEntry.Value.SetActive(true);
    14.         chosenEntries.Add(chosenEntry.Value);
    15.     }
    16. }
    17.  
    18. foreach (var w in weights.Weights)
    19.     if (!chosenEntries.Contains(w.Value))
    20.         GameObject.Destroy(w.Value);
    Sorry, I haven't tested it.

    It looks like that particular error doesn't actually prevent DunGen from running so I suppose it is just a warning, I'll make it a warning in future versions. Having single-doorway tiles in the main path will cause DunGen to fail more frequently; it's safe to use them in any TileSet used in an Archetype's "Branch Cap Tile Sets" list though.
     
    hopeful likes this.
  37. Nadan

    Nadan

    Joined:
    Jan 20, 2013
    Posts:
    341
    I recently purchased DunGen and have some very basic questions. I have followed the tutorial pdf and made random dungen. How will I put my player (Gameobject with controls/camera etc.) to a right position when the dungeon is generated and game starts?
     
    Last edited: Sep 23, 2016
  38. antoripa

    antoripa

    Joined:
    Oct 19, 2015
    Posts:
    1,162
    Put in (0,0,0). That is alway the location of the start room.
     
    Nadan likes this.
  39. JAMiller

    JAMiller

    Joined:
    Apr 2, 2009
    Posts:
    73
    AegonGames, thanks for the reply.

    > make it delete unused global props


    This would help, but I am looking to never have them instantiate to begin with. I plan to have a wide variety of these assets, so by instantiating, deactivating then destroying adds a lot of unnecessary load time and garbage collection.

    I may try to make a similar script to GlobalProps but have them wait until after they are "chosen" to instantiate, not sure if this make sense or not.

    Or another idea is to make an intermediate object that the random prefab spawns in, that then will spawn in the actual prefabs after determining its active.



     
    Last edited: Sep 26, 2016
  40. LennartJohansen

    LennartJohansen

    Joined:
    Dec 1, 2014
    Posts:
    2,353
    Are the web demos included in the asset?

    Lennart
     
  41. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    Sorry for the late reply. I usually get a notification when there's a new post, but I guess I must have missed it :confused:.

    If anyone has been having issues with the beta download page over the last week or so, it should be working properly again now.


    As antoripa mentioned, DunGen will always put the start room at (0,0,0) (local to the GameObject which contains it). Or you could put your player character (or a spawner GameObject) inside the start room itself. Either way is a valid approach.


    Ah. I'll have to look into it at a later time, but the intermediate prefab solution seems like the best way to go about doing this "out of the box".

    Demo 1 uses assets from an external Unity package and so I can't include it with DunGen, but I've released a package with the demo content which can be found here (you still need to already own Village Interiors Kit for it to work).
    Demo 2 is included as the sample scene.
    Demo 3 is using DunGen v1 and I've actually lost the project, so that one isn't included either.
     
    Last edited: Oct 9, 2016
  42. R1PFake

    R1PFake

    Joined:
    Aug 7, 2015
    Posts:
    250
    Does your generator split "data" and "model" classes? It looks like most dungeon generators directly spawn the models/prefabs, im looking for a generator which has the ability to create the "dungeon data" and does not directly spawn all prefabs but later us the "dungeon data" to spawn the prefabs/models.

    Why do i want this:
    - I want store the "dungeon data" in my custom classes and store them in a file, for example xml file, reload the data/convert it back into the "dungeon data" and recreate the same dungeon
    - This would make it possible to quit the game and continue the same dungeon again
    - This would also make it possible to use it for multiplayer and send the "dungeon data" to all clients to spawn the same dungeon

    I tried other generators which also included source code (which directly spawned the prefabs) and modified them to split up and first create the data classed and spawn the models in a other step, but they updated the asset and im tired of rechecking all their code and modify everything again just to get it working again, that's why im looking for a dungeon generator which supports this built in without me having to modify the source code again after each update
     
  43. Setmaster

    Setmaster

    Joined:
    Sep 2, 2013
    Posts:
    194
    Anyone using Apex Path with this?
     
    Last edited: Oct 18, 2016
    antoripa likes this.
  44. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    No, DunGen just spawns the prefabs directly in the scene. If you were only looking for a way to re-generate an identical layout, you can just pass the same seed into the generate function each time (NOTE: If you make any changes to the tiles, tilesets, archetypes, or flow you're likely to change the resulting layout for any given seed). Saved games would be a little more involved in that you'd need to store information about the difference in state of all objects in the dungeon between the time the dungeon was generated, and when it was saved.
     
  45. Setmaster

    Setmaster

    Joined:
    Sep 2, 2013
    Posts:
    194
    Aegon I saw that in the past you showed interest in making an Apex Path integration, is that still going to happen?
     
  46. Misscelan

    Misscelan

    Joined:
    Mar 8, 2013
    Posts:
    106
    Is there a way to implement a "fallback" for Global/Locals Props?
    I have my rooms full of collectible items that might or might not appear. it would be nice if I could replace these Props with some others in case they don't show up in the room.
     
  47. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    It's still planned, but I haven't had a chance to look into Apex Path yet and I'm still pretty swamped with game development work for the time being.


    Not at the moment but it's a good idea. I'll add it to my to-do list, although it might be a while before it's implemented.
     
    Misscelan likes this.
  48. seanarooni

    seanarooni

    Joined:
    Mar 1, 2013
    Posts:
    1
    I got Apex Path working with DunGen.

    Create a new Apex Nav Mesh Adapter, inheriting from DunGen.Adapters.NavMeshAdapter. You can look at the other provided nav mesh adapters for an example.

    Code (CSharp):
    1. public override void Generate (DunGen.Dungeon dungeon)
    2. {
    3.  
    4. //define a grid config object in the GridConfig method:
    5. //these values are set to their defaults if you don't change them
    6. var gridConfig = new Apex.WorldGeometry.GridConfig
    7. {
    8.     sizeX = Mathf.CeilToInt(dungeon.Bounds.size.x),
    9.     sizeZ =     Mathf.CeilToInt(dungeon.Bounds.size.z),
    10.     cellSize = 1, //you can adjust this
    11. //    generateHeightmap = false,
    12. //    obstacleSensitivityRange = 1f,
    13. //    subSectionsX = 2,
    14. //    subSectionsZ = 2,
    15. //    subSectionsCellOverlap = 2,
    16.     origin = new Vector3(dungeon.Bounds.center.x, 0f, dungeon.Bounds.center.z)
    17. };
    18.  
    19. //create apex grid over DunGen geometry.
    20. //use the callback to ensure that you
    21. //don't generate enemies before this completes,
    22. //because you won't be able to call GetUnitFacade()
    23. Apex.WorldGeometry.GridComponent.CreateAndInitialize(gridHost, gridConfig, 10, g =>
    24. {
    25.     Debug.Log("initialization complete");
    26.     if (GetComponent<LevelInitializer>())
    27.         GetComponent<LevelInitializer>().Continue();
    28. });
    29. }
    30.  
     
    Last edited: Oct 26, 2016
  49. JuZtchillin

    JuZtchillin

    Joined:
    Nov 6, 2014
    Posts:
    8
    Hey Aegon,
    I am trying to use dungen in 2d and rooms are overlapping. This is also happening in your 2d demo scene. I have attached an image from your 2d demo scene showing an example with one room pulled halfway to the right. This is causing problems as it does not always generate a solution path to the end goal and cause's inaccessible rooms to be generated. Is it possible you can fix this?
    Thanks
     

    Attached Files:

    Last edited: Nov 2, 2016
  50. Aegon-Games

    Aegon-Games

    Joined:
    Mar 7, 2014
    Posts:
    441
    Are you using the Asset Store version or the beta (2.10)? There was an overlap issue that was fixed in the newest beta build which you can find here.
     
unityunity