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.5 by root, Thu Jul 1 10:06:15 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 "snake", "onion", and "squarespiral" are allowed.
44 below for more detail. 44 See below for more detail.
45 45
46 floorstyle <style> Load /styles/floorstyles/<style> and pick a random 46 floorstyle <style> Load /styles/floorstyles/<style> and pick a random
47 floortype from that style map for the random map. 47 floortype from that style map for the random map.
48 The entire map will be tiled with the floortype. 48 The entire map will be tiled with the floortype.
49 49
91 /styles/treasurestyle/<style>, and pick random 91 /styles/treasurestyle/<style>, and pick random
92 treasures from there. If <style> matches neither 92 treasures from there. If <style> matches neither
93 of these, it will generate treasures using the 93 of these, it will generate treasures using the
94 "chest" treasurelist. A style of "none" causes no 94 "chest" treasurelist. A style of "none" causes no
95 treasures to be placed. 95 treasures to be placed.
96
97
98 96
99=head2 Layout Parameters 97=head2 Layout Parameters
100 98
101 99
102 xsize <int> size of the map: if not set, random from 10 to 70 100 xsize <int> size of the map: if not set, random from 10 to 70
126 1: sparse (maze with some larger open spaces) 124 1: sparse (maze with some larger open spaces)
127 2: braided (few dead ends) 125 2: braided (few dead ends)
128 3: closed (complete maze) 126 3: closed (complete maze)
129 default: random 127 default: random
130 128
129 cave cave_type 0: very rough, mazelike
130 1: round 1-2 space corridors, often elliptic
131 2: more open, roundish
132 3: wide open areas, roundish
133
131 50% of the time a maze layout will be "doorified", meaning that doors 134 50% of the time a maze layout will be "doorified", meaning that doors
132 will be placed at random in the maze. 135 will be placed at random in the maze.
133 136
134 onion layoutoptions1 0 (default) Pick random options 137 onion layoutoptions1 0 (default) Pick random options
135 See "Onion Rooms" below for 138 See "Onion Rooms" below for
136 the rest of the options. 139 the rest of the options.
137 140
138 onion layoutoptions2 0 (default) Pick a random number of 141 onion layoutoptions2 0 (default) Pick a random number of
139 "onion layers" 142 "onion layers"
140
141 143
142=head2 Map generation parameters 144=head2 Map generation parameters
143 145
144 146
145 difficulty Set the map difficulty. Has no relation to the 147 difficulty Set the map difficulty. Has no relation to the
206 208
207 exit_on_final_map The default action is to place an exit on 209 exit_on_final_map The default action is to place an exit on
208 the final map. When explicitly set to 'no' this will 210 the final map. When explicitly set to 'no' this will
209 not place a return exit on the final_map. 211 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! 212 If you use this setting YOU MUST PROVIDE A WAY BACK IN THE FINAL MAP!
211
212 213
213=head2 Misc. Parameters 214=head2 Misc. Parameters
214 215
215 decoroptions <option> Currently, ignored. Possibly in the future it 216 decoroptions <option> Currently, ignored. Possibly in the future it
216 will cause the decor to be patterned in some way, 217 will cause the decor to be patterned in some way,
271 2 linear doors (default is nonlinear) 272 2 linear doors (default is nonlinear)
272 4 bottom "centered" 273 4 bottom "centered"
273 8 bottom-right centered 274 8 bottom-right centered
274 16 outer wall off: i.e., no outer wall. 275 16 outer wall off: i.e., no outer wall.
275 32 irregularly/randomly spaced layers (default: regular) 276 32 irregularly/randomly spaced layers (default: regular)
276
277 277
278=head3 Maze Maps 278=head3 Maze Maps
279 279
280Maze maps are like this: 280Maze maps are like this:
281 281
389 # ## # # ### # # ##### # 389 # ## # # ### # # ##### #
390 # ### #### ###### ##### ####### # # 390 # ### #### ###### ##### ####### # #
391 # # # # # # # # # 391 # # # # # # # # #
392 ######################################## 392 ########################################
393 393
394=head3 Cave Maps
395
396Type 0, rough:
397
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
450Type 1: corridors
451
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
504Type 2: somewhat open
505
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
532Type 3: wide open
533
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
394=head3 Spiral Maps 560=head3 Spiral Maps
395 561
396 A Spiral Map:: 562A Spiral Map:
397 563
398 ########################### 564 ###########################
399 ########################### 565 ###########################
400 ########### D ########## 566 ########### D ##########
401 ######### #### ######## 567 ######### #### ########
425 1 Regular spiral: distance increases constantly with angle 591 1 Regular spiral: distance increases constantly with angle
426 2 Fine spiral: most coils possible are fit in 592 2 Fine spiral: most coils possible are fit in
427 4 Fit Spiral: scale spiral to fit rectanglar region 593 4 Fit Spiral: scale spiral to fit rectanglar region
428 (i.e., the spiral will look elliptical) 594 (i.e., the spiral will look elliptical)
429 595
430=head3 Rogue-like Maps: 596=head3 Rogue-like Maps
431 597
432A Rogue-like Map: 598A Rogue-like Map:
433 599
434 ############################### 600 ###############################
435 ############# ########### 601 ############# ###########
570 # # # ####D#### # # # 736 # # # ####D#### # # #
571 ##D##########D# #D##########D## 737 ##D##########D# #D##########D##
572 # # < # # 738 # # < # #
573 ##################################### 739 #####################################
574 740
575
576=head2 An example input file 741=head2 An example input file
577 742
578 layoutstyle onion 743 layoutstyle onion
579 monsterstyle humanoid 744 monsterstyle humanoid
580 dungeon_depth 3 745 dungeon_depth 3
585 decorstyle furniture 750 decorstyle furniture
586 floorstyle dirt 751 floorstyle dirt
587 wallstyle wooden 752 wallstyle wooden
588 symmetry 1 753 symmetry 1
589 754
590=head1 AUTHORS 755=head2 AUTHORS
591 756
592The original document was taken from Crossfire and subsequently modified by Marc Lehmann. 757The original document was taken from Crossfire and subsequently modified by Marc Lehmann.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines