Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old July 11, 2015, 16:15   #1
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
New room templates for Angband 4.0+

All right, here's a new batch of templates for special rooms! These will hopefully be included in 4.1, but you can play with them in 4.0 right now - just replace the current version of the room_template.txt file in the gamedata folder with the updated version attached to this post. (Unfortunately, it's not compatible with 3.5 and earlier because the header format for templates has changed.) Swapping in the new version of the file should have no effect on saved games in progress, since the templates are only referenced when a new level is generated.

The new version of room_template increases the number of templated rooms from 100 to 300, with many more non-square rooms and unusual interior layouts. Some example screens:

Code:

                                                                                             
High-Elf                        #     ##### # #        #              # #                    
Lord                    ############# ##### ###.########      ######### #######              
Warrior                ##        ##   ##       ..##           # # # # #~# # # #              
LEVEL     50          ##  #####}  #####  #######.$##          ## # # # # # # ##              
EXP 99999999         ##  ##   ###  ###  ##.....##..##          ## # # # # # ##               
AU   1000420         #  ## $## ##  ##  ##..###..##..#           ##=# #?# # ##                
|    ~(              #  #  ##-##  ##  ##..##-##$.#..#####        ## # # # ##                 
STR!  18/140         # |##  ###  ##  ##..## ##..##......#         ## # # ##                  
INT!  18/110         ##  ##     ##  ###..###.^.##..####.#          ## # ##                   
WIS!   18/70          ##  #######  ## ##..######..##  #.#          ### ##                    
DEX!  18/150           ##         ##   ##........##   #'############ # ####                  
CON!  18/130            ## ########     ##########    #.'..@.........#    #                  
                         #^#                          #'############ # ##+####               
Cur AC    18             # #                          #.#      #       )     #               
HP  861/ 861      ######## #######   #########        #>#      ###   _     ###               
                  #              #   #       #       ##.#      # #+#     #+# #               
             ######              ### # ##### #       #..#      #   ### ###   #               
                                   ### #   # #########..#      #     #+#     #               
             ######              #     #   #        ##..#      #   ### ###   #               
                  #              #######   ######## ##.##      # #+#     #+# #               
                  ################                # ##.#       ###     !   ###               
4050' (L81)                                       # ##.#       #             #               
                                                  #   .#       ###############               
                                                  ####.#                                     
                                                     #.#                                     
                                                     #.#                                     
                                                     #.#                                     
                                                     ###                                     
             LF:7-? Full DTrap                                                               


                                                                                             
High-Elf      #  #                                                   # #                     
Lord          ## #####################################               # #                     
Warrior        #         #   / #        #      #   # #               # #                     
LEVEL     50   ######### # ### # ## # ### #### # #$# #               # #                     
EXP 99999999         #       #   #  #$-    #># # #[  #             ### #                     
AU   1001270         # ### # ### # ### # #   ### ### #             #  :#                     
|   "~( )]           # #   # # #     ### ### #   # # #             # ##                      
STR!  18/140 %#%     ### # #   ##### #   #   # ### ###          #### #                       
INT!  18/110   #     #   # # ###     # # # #   #     #          #.## #                       
WIS!   18/70 # %     # # ###   # # ### #   ##### ### #          #.## #                       
DEX!  18/150 # %     # #     #   # #   # #       #   ############.## #                       
CON!  18/130 # %%%#%%%################################          ..## #                       
             #     :      ##                         # ##########.##.################        
Cur AC    50 ######%% ###  #           ############### #......@.....................#        
HP  882/ 898 #      %#*%## #####       #               #....#...#"...#####.#...#....#        
             #      #          #       # ###############...###..#...####...#..###.?.#        
             #####%#%          #####   # #             #...<#..##..###.....##..#....#        
[----------]                   +   ##### #             #..#####.#.########.#.#####..#        
             ########          ###       #             #<#..#"..#....####..#...#..#.#        
                    #          # #########             #...###~.#...###....#..###...#        
                    ######%%#%##                       #..#####.#..##......#.#####..#        
4050' (L81)                                            #......................?.....#        
                                                       ###########+####.##.##########        
                                                                 #    ..####                 
                                                                 ######.#                    
                                                                      #.#                    
                                                                      ###                    
                                                                                             
             LF:9-? Full                                                                     


                                                                                       
High-Elf                    # #  #................##########    ##    :   ## #         
Lord                        #:%  #  #%%%.%#.###.###             #  ######### #         
Warrior                     %'%#%#  ## % ##.###.#               # ##       # #         
LEVEL     50                %:+     # % % #...@.#       ######### #        # #         
EXP 99999999                %#%#%####% %?########       #         #        # #         
AU   1000000                # # # # # % # # # # #       # ####### #        # #         
|    ~(                  #### #% % % %>% # # # ##       # #     #<#        # #         
STR!  18/140             #    # % # % # # # # # #       # #     ###        # #         
INT!  18/110             # ####%##%%%% % ########       # #                # #         
WIS!   18/70             # #        % % # #             # #                # #         
DEX!  18/150             # #        %% % ##             # #                # #         
CON!  18/130             # #    ###%%%%##%# ########### # #                # #         
                         # #    #         * #         # # #                # #         
Cur AC    18             # #    % #%##%%% ### ####### ### #                # ######### 
HP  807/ 807             # # #### #     %     #     #     #                #           
                         # # #    #  %%%%###%##  #### #####  ###           ##########  
                         # # # #%#% %# %# %% ## ## ## ## ## ## ##          ##########  
[----------]             # # # #   #%   %%%   ###   ###   ###   ##         #       ##  
                         # # # #   %     #    $#     #     #     #         # ## #####  
                         # # # #   %%%%%##%#%%#### ###############         #:## #   #  
                         # # # #                 % #                       # ## #   #  
4100' (L82)              # # # #                 # #                 ####### ## #####  
                         # ### #                 # #                 #     # ##:#   '  
                         # '   #                 % #                ## ### # ## # ###  
             #############'#####                 % #                #                  
                        ## #                     # #%%              #    #   # _ ?#### 
             LF:6-? Full                                                               
The new rooms have all been tested to make sure the layouts appear correctly, but there are tons of them and it's difficult to test every possible iteration of the ones where there are multiple possible random door positions, so if you see anything that looks like it's been overly chewed up by the dungeon-generation process, grab a screenshot and I'll check if there's an error in the template.
Attached Files
File Type: zip room_template.zip (16.4 KB, 148 views)
Nomad is offline   Reply With Quote
Old July 11, 2015, 17:25   #2
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
Excellent - I'll have a good look at those tomorrow.
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old July 11, 2015, 17:51   #3
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
There are a few quirky little things in there as well like diagonal corridors and tiny moated rooms that could probably easily be done with dungeon generation rather than templates, but I stuck them in there for now since it's an easy way to play around with them.

I also reordered the file into sections that should make it easier to pull out individual types of rooms for different level profiles:

- rectangular rooms with standard interiors
- rectangular rooms with unusual interiors
- round/oval rooms
- other basic shapes
- irregular outlines
- rooms with treasure
- rooms with specified treasures

(Though I haven't done anything about filling out the type/rating fields yet since so far as I could tell templates with values other than 1 in the type field don't get generated with the current code.)
Nomad is offline   Reply With Quote
Old July 11, 2015, 21:25   #4
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
These rooms look really great! Thanks!

I'm excited to start seeing these in levels. I think a lot of the mini-vaults and other interesting room types have helped make Angband interesting at shallower dungeon levels.
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old July 11, 2015, 22:45   #5
Thraalbee
Knight
 
Thraalbee's Avatar
 
Join Date: Sep 2010
Location: Stockholm
Posts: 547
Thraalbee is on a distinguished road
Awesome! Looking forward to playtesting already
Thraalbee is offline   Reply With Quote
Old July 12, 2015, 01:11   #6
Nick
Vanilla maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 54
Posts: 7,860
Donated: $60
Nick will become famous soon enough
Those are fantastic.

I'm thinking it would be a good psychological evaluation tool to ask which is the subject's favourite. Mine is the 'Exercise in frustration' series
__________________
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote
Old July 12, 2015, 02:00   #7
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
Quote:
Originally Posted by Nick View Post
Those are fantastic.

I'm thinking it would be a good psychological evaluation tool to ask which is the subject's favourite. Mine is the 'Exercise in frustration' series
Haha, yes, I definitely enjoyed making those. (The best part is the fact that, due to a fun quirk of the way mapping handles solid blocks, no matter what you do all six blocks will appear equally hollow until and unless you actually open the doors.)
Nomad is offline   Reply With Quote
Old July 12, 2015, 15:36   #8
Zireael
Adept
 
Join Date: Jul 2011
Posts: 204
Zireael is on a distinguished road
Those are fantastic!
Zireael is offline   Reply With Quote
Old July 12, 2015, 21:33   #9
Malak Darkhunter
Knight
 
Malak Darkhunter's Avatar
 
Join Date: May 2007
Location: US
Age: 42
Posts: 720
Malak Darkhunter is on a distinguished road
Those are really cool!
__________________
let me try this workaround...oh crap computer just went black
Malak Darkhunter is offline   Reply With Quote
Old September 9, 2015, 14:59   #10
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
Well, with my usual timing I've managed to leave it just a fraction too late for the release of 4.0.2, but anyway, here is the new, definitive (probably) version of room_template.txt!
  • 200 new layouts added for a total of 500 (which, given optional walls and random door positions, will generate a total of ~1750 unique rooms)
  • new range of diamond-shaped rooms and more large oval rooms
  • triangle and diamond-shaped rooms given their own section in the file
  • variant forms added to many existing rooms, plus flipped/inverted versions of some asymmetrical layouts
  • general improvements to connectivity to integrate odd-shaped rooms better
  • fixed a few door-numbering errors (these wouldn't have caused any problems, just meant not all possible variants of a given room were being generated)

A few screenshots:

Code:

                                                                                           
High-Elf       ###################                               #######                   
Lord           #                .#                            ####  #  ####                
Warrior        # # ### #+# ### #.#                         ####{+   #   + ####             
LEVEL     50   #   #   # #   #  .#                      ####    #+# # #+#    ####          
EXP 99999999   # ### ### ### ###.#                   ####  +    # #####<#    +  ####       
AU   1005345   # # . #     # . #.#                   #  +  ######  +>+  ######  +! #       
| == ~[()      #.*##.### ###.###.#                   ####  +    # #####$#  | +  ####       
STR!  18/170   % . # ..#!#.. #...#                      ####    #+# # #+#  {#####          
INT!  18/130   % %.###.#+#.###.#.#                         #### +   #   + ###              
WIS!   18/70   #........<........#                            # ##  #  ####                
DEX!  18/180   % %%%%#############                            # ########                   
CON!  18/130   # %                                            #'###########                
             ###.##%%#                                     ####           ####             
Cur AC   100 ........%                              ########    # # # # #    ###           
HP  858/ 858 ........%                     ###      #   ##    # # # # # # #    ##          
             ........%%%#%##################.#      # # #   # # # # #?# # # #   #          
             ........  +.............@.......#      # #:#  ###################  #          
             ........%%%%#################...#      # #     # # # #[# # # # #   #          
             ........#                   ###.###    # ####    # # # # # # #    ##          
             ........#                     #.. ###### #  ###    # # # # #    ###           
             #########                     ###. >     #    ####           ####             
4200' (L84)                                  ######## #       #############                
                                                    ###                                    
                                                                                           
                                                                                           
                                                                                           
                                                                                           
             LF:7-5 Full                                                                   


                                                                                           
High-Elf         ]   # #                              #  /    #                            
Lord                 # #                          #####       #                            
Warrior              # #                          #           #                            
LEVEL     50         # #                          # ###       #                            
EXP 99999999         # #              #########   # # #########                            
AU   1000375 ######### #              #     : #   # #                                      
| == ~[ )              #       ######## ##### #####+##                                     
STR!  18/170 # #########       #      # #   #     '  ######                                
INT!  18/110 # #               # ##   # #   #[### #  '    #                                
WIS!   18/70 # #               # #### # #####     ## ######                                
DEX!  18/150 # #               # #  # # ##     #  -  ####                                  
CON!  18/130 # #               # # ####      # #=#      ####                               
             #+################# ###       # # # # #   $   ###                             
Cur AC    64 ..'..^..........@...#       #_# # # # # #       #                             
HP  858/ 858 ################....# #       # # # # #       ###                             
                            #.#....# ##      # # #      ####                               
                            #.# .###  # ##     #     ####                                  
                            #.#  ###  # ## ##     ## #                                     
                            #.#  ##        ###'# ### #                                     
                            #.# ######## ### # # # # #####                                 
                            #.# #      # #   # # # #     #                    #####        
4050' (L81)   %%##%##########'########## # ### # #### ######                  # . #        
              %              .           # #               #               ####. .####     
             %%              .      ######## # # ###########               #...### ..#     
                             .   _  '              #                   #####...#-+ . #     
             ##              .      ######## ### ###                   #.......###. ?#     
             LF:7-? Full                                                                   


                                                                                           
High-Elf                          ###                                                      
Lord                              # #                                                      
Warrior                           # #                                                      
LEVEL     50                      # #                                                      
EXP 99999999            ########### #########                                              
AU   1004235            #                   #                                              
| == ~[()               #  ####+#'# # #######                    ######                    
STR!  18/170            ## + +           + #                   ###?.p<#                    
INT!  18/130             # #+#  ### ###  #+#                  ##....###                    
WIS!   18/70             #     ####+####   #                 ##....##                      
DEX!  18/180             # #  ####   ####  ###################.....##                      
CON!  18/130             # #    +  #  +                    +........##                     
                         # #  ####   ####  ###################.......###                   
Cur AC    88             # '   ####+####  \#                 ##.@......###                 
HP  858/ 858             ###+#  ###>###  #+#                  ##.........###               
                           # +  $        + #                   ###.........#               
                           ### ####+########                     ##.###'##+#               
                             ###  # #                             #.# #### #               
                                  # #                             #.#    # #               
                                  # #                             #.#    # #               
                                  # #                             #.#    # #               
4200' (L84)                       # #                             #.###### #               
                                  # #                             #<.......#               
                                  # #                             #.########       ###     
                                  # #                             #.#              # #     
                                  # #                         #####.#####          # #     
             LF:7-? Full                                                                   
These are compatible with all versions from 4.0 onwards - just download the attached room_template.txt file and swap it for the existing one in lib/gamedata.
Attached Files
File Type: zip room_template.zip (27.2 KB, 73 views)
Nomad is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sil: Throne room help Exo Sil 0 October 24, 2013 13:36
Help for the throne room - Sil Philip Sil 4 September 24, 2012 19:43
Love the new room types CunningGabe v4 32 April 29, 2012 18:16
Removed artifacts used as randart templates jens Development 8 July 10, 2011 20:53
Too much stuff, too little room. Fendell Orcbane Vanilla 8 September 22, 2010 23:40


All times are GMT +1. The time now is 10:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.