ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/pod/random_maps.pod
(Generate patch)

Comparing deliantra/server/pod/random_maps.pod (file contents):
Revision 1.2 by root, Tue Jun 29 18:27:02 2010 UTC vs.
Revision 1.8 by root, Sat Jul 3 13:14:35 2010 UTC

37directory etc.). 37directory etc.).
38 38
39=head2 Style Parameters 39=head2 Style Parameters
40 40
41 layoutstyle <style> (special!) Pick the layout style for the map. 41 layoutstyle <style> (special!) Pick the layout style for the map.
42 Currently, "rogue", "spiral", "maze", "snake", 42 Currently, "rogue", "spiral", "maze", "cave",
43 "onion", and "squarespiral" are allowed. See 43 "castle", "snake", "onion", "squarespiral" and
44 "multiple" are allowed. See below for more
44 below for more detail. 45 detail.
45 46
46 floorstyle <style> Load /styles/floorstyles/<style> and pick a random 47 floorstyle <style> Load /styles/floorstyles/<style> and pick a random
47 floortype from that style map for the random map. 48 floortype from that style map for the random map.
48 The entire map will be tiled with the floortype. 49 The entire map will be tiled with the floortype.
49 50
91 /styles/treasurestyle/<style>, and pick random 92 /styles/treasurestyle/<style>, and pick random
92 treasures from there. If <style> matches neither 93 treasures from there. If <style> matches neither
93 of these, it will generate treasures using the 94 of these, it will generate treasures using the
94 "chest" treasurelist. A style of "none" causes no 95 "chest" treasurelist. A style of "none" causes no
95 treasures to be placed. 96 treasures to be placed.
96
97
98 97
99=head2 Layout Parameters 98=head2 Layout Parameters
100 99
101 100
102 xsize <int> size of the map: if not set, random from 10 to 70 101 xsize <int> size of the map: if not set, random from 10 to 70
126 1: sparse (maze with some larger open spaces) 125 1: sparse (maze with some larger open spaces)
127 2: braided (few dead ends) 126 2: braided (few dead ends)
128 3: closed (complete maze) 127 3: closed (complete maze)
129 default: random 128 default: random
130 129
130 cave cave_type 0: very rough, mazelike
131 1: round 1-2 space corridors, often elliptic
132 2: more open, roundish
133 3: wide open areas, roundish
134
131 50% of the time a maze layout will be "doorified", meaning that doors 135 50% of the time a maze layout will be "doorified", meaning that doors
132 will be placed at random in the maze. 136 will be placed at random in the maze.
133 137
134 onion layoutoptions1 0 (default) Pick random options 138 onion layoutoptions1 0 (default) Pick random options
135 See "Onion Rooms" below for 139 See "Onion Rooms" below for
136 the rest of the options. 140 the rest of the options.
137 141
138 onion layoutoptions2 0 (default) Pick a random number of 142 onion layoutoptions2 0 (default) Pick a random number of
139 "onion layers" 143 "onion layers"
140
141 144
142=head2 Map generation parameters 145=head2 Map generation parameters
143 146
144 147
145 difficulty Set the map difficulty. Has no relation to the 148 difficulty Set the map difficulty. Has no relation to the
206 209
207 exit_on_final_map The default action is to place an exit on 210 exit_on_final_map The default action is to place an exit on
208 the final map. When explicitly set to 'no' this will 211 the final map. When explicitly set to 'no' this will
209 not place a return exit on the final_map. 212 not place a return exit on the final_map.
210 If you use this setting YOU MUST PROVIDE A WAY BACK IN THE FINAL MAP! 213 If you use this setting YOU MUST PROVIDE A WAY BACK IN THE FINAL MAP!
211
212 214
213=head2 Misc. Parameters 215=head2 Misc. Parameters
214 216
215 decoroptions <option> Currently, ignored. Possibly in the future it 217 decoroptions <option> Currently, ignored. Possibly in the future it
216 will cause the decor to be patterned in some way, 218 will cause the decor to be patterned in some way,
271 2 linear doors (default is nonlinear) 273 2 linear doors (default is nonlinear)
272 4 bottom "centered" 274 4 bottom "centered"
273 8 bottom-right centered 275 8 bottom-right centered
274 16 outer wall off: i.e., no outer wall. 276 16 outer wall off: i.e., no outer wall.
275 32 irregularly/randomly spaced layers (default: regular) 277 32 irregularly/randomly spaced layers (default: regular)
276
277 278
278=head3 Maze Maps 279=head3 Maze Maps
279 280
280Maze maps are like this: 281Maze maps are like this:
281 282
389 # ## # # ### # # ##### # 390 # ## # # ### # # ##### #
390 # ### #### ###### ##### ####### # # 391 # ### #### ###### ##### ####### # #
391 # # # # # # # # # 392 # # # # # # # # #
392 ######################################## 393 ########################################
393 394
395=head3 Cave Maps
396
397Type 0, rough:
398
399 ########################################
400 ################################# ####
401 ############# ######## # ####
402 ############# ######## ### ## ####
403 ############# #### ######### ####
404 ############# #### ############# ####
405 ########## ## ############ ####
406 ########## ### ####################
407 ######## ## #########################
408 ### ## ### #########################
409 ### ## ### #########################
410 ### ## ## ### #####################
411 ### # ### ###################
412 ### ### ### ###### ###################
413 ######## # ###### # ############
414 ####### ## ######### # #######
415 ####### # ######## # #####
416 ####### ##### ######### ### ### ###
417 ####### ###### #### ### #########
418 ### ### ## ### #### ######
419 ## # # ### ###### ### ####### ######
420 # ## ### ################### #####
421 # ################################ #
422 # #################################### #
423 ########################################
424
425 ########################################
426 ## #### ########## ######### # ###
427 ## ##### ####### ###### # #
428 ## ## # ## ### #
429 ### ####### # #### # #####
430 ##### # ##### ## # # ###
431 ## ## ### ## # # #
432 ## # #### ## ## ## # #
433 ## ##### ### ## # # ###
434 ### ###### # ## # ###
435 ### ### # ###
436 ## ##### # ###
437 ###### ### ####
438 #### # #### ####
439 ## # ### # ## # ####
440 # ## ### ## ## ## #
441 # # # # # # #### # ## #
442 ### ### ##### #### # # ## #
443 # ## ## ## ## ## #
444 # ### ## ### # ## # # ## #
445 # ## # ## ## ### ### #### #
446 # ## # ### #### ## #### #
447 # ## ## ####### ## ######
448 # # ###### ###### #### ## ######
449 ########################################
450
451Type 1: corridors
452
453 ########################################
454 ############################ #
455 #### #### ################ ## ## #
456 ### ## ######## #### ## #### #
457 # ## ###### ### ## #### #
458 # ####### ## ## ## ## #
459 # ####### #### # ## # #
460 # ###### ###### ### ### ### #
461 # ###### ######## ### #### ### #
462 # #### ########## ### ###### ## #
463 ### ### ############### ###### #
464 #### ## ## ######### # ###### ###
465 ##### ### ######### # ##########
466 # ### ### ## ##### ## #########
467 # ## #### #### ## # #########
468 # ## #### ## ## ##########
469 # ### ###### ## ###########
470 # ############## ##### ### ########
471 # ## #### ##### #### ####### ######
472 ### ## #### #### ####### #####
473 ## ## # ## ##### ###### ####
474 ## ## ###### ##### ###
475 ### #### #### ######### ##### ## #
476 ######### #### #
477 ########################################
478
479 ########################################
480 ########################################
481 ### ### #######
482 ## #####
483 # # ############# ########### ####
484 # ### ########################## ###
485 # ### # ###### ##
486 # ## #### ##
487 # ## ###################### ### ##
488 # ## ######################## ### ##
489 # ## ### #### ## ###
490 # ## ## ### # ###
491 # ## ## ############### ### ## ###
492 # ## ## #### ## ##
493 # ## ### ##### ## ##
494 # ## #### ################### # ##
495 # ## ### #################### ##
496 # ## ###################### ##
497 # ### ####################### ##
498 # ####################### ##### ##
499 # ################### ## ##
500 ## ##### ##
501 ### ######### ###
502 ########################################
503 ########################################
504
505Type 2: somewhat open
506
507 ########################################
508 #################### ##### ###
509 ############# ##### #### ##
510 #### ##### #### ## #
511 ### ### ##### ## #
512 # # ##### # ## #### #
513 # # ### ### ######## #### #
514 # # # ## # ### ## # #
515 # # # ## #
516 ## ### ## ## #
517 ### ####### ### ## ###
518 ############## ### #### ####
519 ############### ## #### ####
520 ### ######## ## ### # ###
521 ## ########## ## ## ### ##
522 ### ### ### ## ##### #
523 ## ### ## # ## ######## #
524 ## ##### ### # ## ######### #
525 # #### ### ## ### ####### #
526 # ## ### ##### ## ##
527 ## #### ## # ###### # ###
528 ### ### #### # ## ##### ####
529 #### # ##### ### ##############
530 #### ##### ###################
531 ########################################
532
533Type 3: wide open
534
535 ########################################
536 # ######## ####### #
537 # ######## ######## #
538 # ##### ######### ###
539 ### ##### ## ### ########## ###
540 ## ##### ### #### ### ### ###
541 ### ###### ### #### ## #
542 ### ##### ## ######## ## #
543 ## ## ## ########## #
544 ## ## ## ########## #
545 # ### ######### ## #
546 # ####### ######## #### #
547 # ## ######## ##### ##### #
548 # #### ##### ### ##### #
549 # #### ### #### #
550 # #### ### #### #### #
551 # ### ### ##### ##### #
552 # ### #### ## ########### #### #
553 # ## #### ## ########## #####
554 # ## ####### ##### ####
555 # ### ####### ###### # #
556 # ### ######### # ### #
557 # # ##### ## ######## #
558 # #### ####### #
559 ########################################
560
561=head2 Castle layouts
562
563Castles are similar to caves, except they generate very straight dungeon
564features (not unlike roguelike layouts).
565
566 ########################################
567 #### #################### ##
568 #### ###### ######### ##
569 #### ### ####### # ######### ##
570 #### D D ## ##### ##
571 #####D## ##### D ##
572 ##### # # # ## ##
573 ##### # #### # ##########
574 ##### # # # # D #
575 ##### # # # ######## #D# #
576 ##### # #D# # ######### ########
577 ##### ######### # D #######
578 ##### ########## D ##D########
579 ###### ### #### ###### #D# # #####
580 ##### #D# ## ### D # #####
581 ##### # # ## ###### #####
582 ##### # # ### ###### #####
583 #######D###D### ### ## # ##
584 ###### #### ### ## # ##
585 ###### # ##### ## ##
586 ###### # ####### ## # ##
587 ###### D ############# # ##
588 ########### ############# # ##
589 ########### ################## ##
590 ########################################
591
394=head3 Spiral Maps 592=head3 Spiral Maps
395 593
396 A Spiral Map:: 594A Spiral Map:
397 595
398 ########################### 596 ###########################
399 ########################### 597 ###########################
400 ########### D ########## 598 ########### D ##########
401 ######### #### ######## 599 ######### #### ########
425 1 Regular spiral: distance increases constantly with angle 623 1 Regular spiral: distance increases constantly with angle
426 2 Fine spiral: most coils possible are fit in 624 2 Fine spiral: most coils possible are fit in
427 4 Fit Spiral: scale spiral to fit rectanglar region 625 4 Fit Spiral: scale spiral to fit rectanglar region
428 (i.e., the spiral will look elliptical) 626 (i.e., the spiral will look elliptical)
429 627
430=head3 Rogue-like Maps: 628=head3 Rogue-like Maps
431 629
432A Rogue-like Map: 630A Rogue-like Map:
433 631
434 ############################### 632 ###############################
435 ############# ########### 633 ############# ###########
570 # # # ####D#### # # # 768 # # # ####D#### # # #
571 ##D##########D# #D##########D## 769 ##D##########D# #D##########D##
572 # # < # # 770 # # < # #
573 ##################################### 771 #####################################
574 772
773=head2 Multiple layouts
774
775The layoutstyle "multiple" divides the map into many areas
776and uses random layout styles in each area. Works best with
777very high or wide maps and fewer levels.
575 778
576=head2 An example input file 779=head2 An example input file
577 780
578 layoutstyle onion 781 layoutstyle onion
579 monsterstyle humanoid 782 monsterstyle humanoid
585 decorstyle furniture 788 decorstyle furniture
586 floorstyle dirt 789 floorstyle dirt
587 wallstyle wooden 790 wallstyle wooden
588 symmetry 1 791 symmetry 1
589 792
590=head1 AUTHORS 793=head2 AUTHORS
591 794
592The original document was taken from Crossfire and subsequently modified by Marc Lehmann. 795The original document was taken from Crossfire and subsequently modified by Marc Lehmann.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines