Adding color rooms to Angband

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Nomad
    Knight
    • Sep 2010
    • 958

    #61
    Originally posted by Nick
    OK, this is done now, and in the latest build on the nightlies page.
    Yay, thanks!

    Originally posted by Nick
    • Template rooms also have an unused type field. Did you have any plans for that?
    Yes, the intention there was to classify them by shape, as per the sections the file is already divided into - standard rectangles, rectangles with unusual interiors, oval rooms, triangle/diamond rooms, other basic shapes, and irregular outlines - with the aim of being able to have, say, a level profile that uses only round rooms or all non-rectangular shapes. (I made the type field a numerical value because that was how most tvals and things were at the time, but it probably actually makes more sense to have named categories instead.) Possibly level profiles could allow for including/excluding template types, similar to the way pit.txt defines lists of allowed monsters?

    Originally posted by Nick
    • Would it be better if the size restriction on template rooms were relaxed?
    It would definitely be great if they could allow larger sizes vertically - 33 columns is fine for the width, but 11 rows is quite a tight restriction to work with, and I found a number of ideas I came up with were impossible to pull off at that size. 17x33 would be a pretty useful size if that's feasible, but any increase would help.

    Comment

    • droof
      Apprentice
      • Dec 2013
      • 71

      #62
      You might want 22 rows instead of 17. Circular rooms have 22 rows and are still considered normal rooms.

      How do you post code in color like Nomad and Nick do?

      For all template room dungeon levels at least these types would need to be added and more common than the more intensely designed rooms. Not representing the variety that the generated rooms can provide, it's just a grab from the generator box within the current limits of tempated room sizes.

      Simple rooms:
      Code:
      #%#%#%#%#%#%#%#%#%#%#   ##%#%#%#%#%#%#%#%##   #%#%#%#%#%#%#  #%#%#%#%#%#%#  #%#%#%#%#%#%#%#%#%#%#
      %...................%  ##.................##  %...........%  %...........%  %...................%
      #...................#  #..#.#.#.#.#.#.#.#..#  #...........#  #...........#  #...................#
      %...................%  %...................%  %...........%  %...........%  %...................%
      #...................#  #..#.#.#.#.#.#.#.#..#  #...........#  #...........#  #...................#
      %...................%  ##.................##  %...........%  %...........%  %...................%
      #%#%#%#%#%#%#%#%#%#%#   ##%#%#%#%#%#%#%#%##   #%#%#%#%#%#%#  #...........#  #...................#
                                                                   %...........%  %...................%
                                                                   #...........#  #...................#
                                                                   %...........%  %...................%
                                                                   #%#%#%#%#%#%#  #%#%#%#%#%#%#%#%#%#%#

      Large rooms:
      Code:
      #%#%#%#%#%#%#%#%#%#%#%#%#  #%#%#%#%#%#%#%#%#%#%#%#%#  #%#%#%#%#%#%#%#%#%#%#%#%#
      %.......................%  %.......................%  %.......................%
      #.#####################.#  #.#####################.#  #.#####################.#
      %.#...................#.%  %.+.........#.........+.%  %.#.%.%.%.%.%.%.%.%.%.#.%
      #.#..###...###...###..#.#  #.#.........#.........#.#  #.#%.%.%.%.%.%.%.%.%.%#.#
      %.+..#.#...#.#...#.#..#.%  %.#####################.%  %.#.%.%.%.%.%.%.%.%.%.#.%
      #.#..###...###...###..#.#  #.#.........#.........#.#  #.#%.%.%.%.%.%.%.%.%.%#.#
      %.#...................#.%  %.+.........#.........+.%  %.#.%.%.%.%.%.%.%.%.%.#.%
      #.#####################.#  #.#####################.#  #.##########+##########.#
      %.......................%  %.......................%  %.......................%
      #%#%#%#%#%#%#%#%#%#%#%#%#  #%#%#%#%#%#%#%#%#%#%#%#%#  #%#%#%#%#%#%#%#%#%#%#%#%#

      Crossed rooms:
      Code:
            #%#%#%##       
            #......#       
            #......#       
      #######......########
      #...................#
      %...................%
      #...................#
      #######......########
            #......#       
            #......#       
            #%#%#%##

      Circular rooms:
      Code:
          #%%%#%%%#          #%%%#%%%#    
        #%#.......#%#      #%#.......#%#  
       ##...........##    ##...........## 
      ##.............##  ##...#######...##
      %...............%  %....#.....#....%
      #...............#  #....#.....#....#
      %...............%  %....#.....#....%
      ##.............##  ##...###+###...##
       ##...........##    ##...........## 
        #%#.......#%#      #%#.......#%#  
          #%%%#%%%#          #%%%#%%%#

      Overlap rooms:
      Code:
      #%#%#%#%#%#%#%#%#%##%  #%#%#%#%#%#%#
      %...................%  %...........%
      #...#############...#  #...........#
      %...#...........#...%  %...........%
      #...#...........#...#  #...........#
      %...#...........#...%  #%#%#%#.....%
      #...#...........#...#        #.....#
      %...#...........#...%        %.....%
      #...######+######...#        #.....#
      %...................%        %.....%
      #%#%#%#%#%#%#%#%#%##%        #%#%#%#
      ...or keeping the templated rooms rare. In which case, coloring the Angband dungeons through color maps in the template_rooms.txt is has a very limited application and is a bad idea. I don't see how I can bring color to generated dungeon rooms. So I'm back to terrain color themes per dungeon level.
      Last edited by droof; December 12, 2016, 18:59.

      Comment

      • wobbly
        Prophet
        • May 2012
        • 2629

        #63
        Originally posted by Nomad
        Yay, thanks!



        Yes, the intention there was to classify them by shape, as per the sections the file is already divided into - standard rectangles, rectangles with unusual interiors, oval rooms, triangle/diamond rooms, other basic shapes, and irregular outlines - with the aim of being able to have, say, a level profile that uses only round rooms or all non-rectangular shapes. (I made the type field a numerical value because that was how most tvals and things were at the time, but it probably actually makes more sense to have named categories instead.) Possibly level profiles could allow for including/excluding template types, similar to the way pit.txt defines lists of allowed monsters?



        It would definitely be great if they could allow larger sizes vertically - 33 columns is fine for the width, but 11 rows is quite a tight restriction to work with, and I found a number of ideas I came up with were impossible to pull off at that size. 17x33 would be a pretty useful size if that's feasible, but any increase would help.
        Bump. Just so I can find it again. I'd been wondering what the original intent of the 3 types were, as we currently only have 1. I haven't seen Nomad in a while, he still around?

        Comment

        • Nick
          Vanilla maintainer
          • Apr 2007
          • 9634

          #64
          Originally posted by wobbly
          Bump. Just so I can find it again. I'd been wondering what the original intent of the 3 types were, as we currently only have 1. I haven't seen Nomad in a while, he still around?
          I can't recall, and I'm not sure if I ever knew. And I haven't seen her for a while either
          One for the Dark Lord on his dark throne
          In the Land of Mordor where the Shadows lie.

          Comment

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