Disconnected dungeon generation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Derakon
    Prophet
    • Dec 2009
    • 9022

    Disconnected dungeon generation

    This is the first time I can remember seeing a disconnected dungeon in, well, ever.



    That's a shot of Detection being cast, by the way. When I first saw it on the map I thought there might be two secret doors right next to each other, but no dice.
  • Timo Pietilä
    Prophet
    • Apr 2007
    • 4096

    #2
    Originally posted by Derakon
    This is the first time I can remember seeing a disconnected dungeon in, well, ever.
    Qualifies as bug. That shouldn't happen.

    Comment

    • Derakon
      Prophet
      • Dec 2009
      • 9022

      #3
      Which is why I made the thread.

      Comment

      • PowerDiver
        Prophet
        • Mar 2008
        • 2820

        #4

        Comment

        • d_m
          Angband Devteam member
          • Aug 2008
          • 1517

          #5
          Excitingly, the dungeon-generation algorithm doesn't guarantee that the dungeon is connected.

          It's actually confusing how rarely this happens, in my opinion.
          linux->xterm->screen->pmacs

          Comment

          • fizzix
            Prophet
            • Aug 2009
            • 3025

            #6
            More common is the case where a GCV with all permanent walls bifurcates the dungeon into two sections. This case, of a disconnected room, is so rare that it's almost not worth dealing with. Call it a feature and be done with it.

            So, are you gonna clear out that dragon pit, or should I?

            Comment

            • PowerDiver
              Prophet
              • Mar 2008
              • 2820

              #7
              Originally posted by fizzix
              This case, of a disconnected room, is so rare that it's almost not worth dealing with. Call it a feature and be done with it.
              When I came down into a single disconnected room with no exit, early enough not to be able to dig through granite, it sure felt like a bug. I agree it is no big deal as you can always just ?recall.

              Would it be so hard to leave the generation basically as is, but add a post-processing step to connect everything? I guess the tricky part is not removing walls inside vaults.

              Comment

              • nppangband
                NPPAngband Maintainer
                • Dec 2008
                • 926

                #8
                I think generate.c goes through every room in the dungeon and tries to connect it to another randomly chosen room in the dungeon. The tunneling stops when it reaches the other room, or reaches another tunnel.

                Very very rarely, one or two rooms only connect back to themselves and the dungeon has a closed loop or isolated room.

                I guess it could be checked for, but I think it happens so infrequently noone has ever bothered to fix it.
                NPPAngband current home page: http://nppangband.bitshepherd.net/
                Source code repository:
                https://github.com/nppangband/NPPAngband_QT
                Downloads:
                https://app.box.com/s/1x7k65ghsmc31usmj329pb8415n1ux57

                Comment

                • fizzix
                  Prophet
                  • Aug 2009
                  • 3025

                  #9
                  Originally posted by PowerDiver
                  When I came down into a single disconnected room with no exit, early enough not to be able to dig through granite, it sure felt like a bug. I agree it is no big deal as you can always just ?recall.

                  Would it be so hard to leave the generation basically as is, but add a post-processing step to connect everything? I guess the tricky part is not removing walls inside vaults.
                  How about just ensure that starting location has a connected path to down stairs?

                  Comment

                  • Jungle_Boy
                    Swordsman
                    • Nov 2008
                    • 434

                    #10
                    Originally posted by PowerDiver
                    When I came down into a single disconnected room with no exit, early enough not to be able to dig through granite, it sure felt like a bug. I agree it is no big deal as you can always just ?recall.

                    Would it be so hard to leave the generation basically as is, but add a post-processing step to connect everything? I guess the tricky part is not removing walls inside vaults.
                    I remember my very first game of rogue I started in a room with an 'I'ceman and an up stairway and no doors. I killed the iceman spent quite some time figuring out you could not go up stairs and then died of starvation before I figured out you could search for doors. I decided it was a crappy game and did not play again for several weeks. Now look at me
                    My first winner: http://angband.oook.cz/ladder-show.php?id=10138

                    Comment

                    • fyonn
                      Adept
                      • Jul 2007
                      • 217

                      #11
                      Originally posted by fizzix
                      How about just ensure that starting location has a connected path to down stairs?
                      or to any stairs, doesn't have to be down I guess.

                      Comment

                      • PowerDiver
                        Prophet
                        • Mar 2008
                        • 2820

                        #12
                        Originally posted by fizzix
                        How about just ensure that starting location has a connected path to down stairs?
                        I think it would probably be simpler to code for a connected dungeon, but perhaps the consensus not to bother is correct.

                        Comment

                        • Derakon
                          Prophet
                          • Dec 2009
                          • 9022

                          #13
                          Originally posted by fizzix
                          So, are you gonna clear out that dragon pit, or should I?
                          I had immunity to fire, so naturally I cleared it. Found a few useful consumables and a couple of junk artifacts. Right now I'm trying to find a useful damage source for endgame...I don't think OoD spam is going to cut it, personally.

                          Comment

                          • fizzix
                            Prophet
                            • Aug 2009
                            • 3025

                            #14
                            Originally posted by fyonn
                            or to any stairs, doesn't have to be down I guess.
                            down was for ironman characters.

                            Comment

                            • buzzkill
                              Prophet
                              • May 2008
                              • 2939

                              #15
                              FA does this all the time, I kinda like it.
                              www.mediafire.com/buzzkill - Get your 32x32 tiles here. UT32 now compatible Ironband and Quickband 9/6/2012.
                              My banding life on Buzzkill's ladder.

                              Comment

                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎