Path: utzoo!utgpu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!agate!linus!philabs!ttidca!sorgatz From: sorgatz@ttidca.TTI.COM ( Avatar) Newsgroups: alt.hackers Subject: Random/Custom Dungeons are an old hack! Message-ID: <19889@ttidca.TTI.COM> Date: 19 Sep 90 00:27:25 GMT References: <9009122126.aa05627@mvax.cc.ic.ac.uk> <1411@cs.nps.navy.mil> <1990Sep13.145046.7262@Matrix.COM> Organization: Citicorp/TTI, Santa Monica Lines: 34 Approved: yes In article okunewck@psuvax1.cs.psu.edu (Phil OKunewick) writes: +ObHack: A Generic dungeon. You supply the map, rooms, objects, puzzles, +and challenges (as a text file), and it does the rest. (No operational +version, yet.) +Variation: a random dungeon. Take the generic dungeon database, and use +a random number generator to draw the map and assign the rooms. Better +yet, use an active generator to continuously remap a maze when somebody +is lost in it. Or, what th' heck - if you're in a nasty mood, remap the +entire dungeon a little bit at a time, as a person travels through it. +-- + ---Phil Ancient idea. I built a version of the Fortran based "Adventure" in 1979 that did both of these. The "-r" random switch could build some really nasty little twisty passages..all the same/different, it would drive you ape! The only bummer was the amount of time it took (on a fairly loaded DEC 20/60) to actually build the damn tables. If you remember the table layout, there were a pair of numbers denoting the object, room, etc, locations. Then there was a series of connector descriptors. Hence, the only thing that was a constant was the startup location of the Well House.. it then hit the random number pot for everything else, checking first to make sure that the combination had not already been used. Took about an hour to run, then it saved the dungeon and sent you mail. The interactive (what you call generic) or custom version, had a menu. You could specify the sequence necessary to get from one room to another, specify where to put the treasures, enable or disable the thief, etc. It was a real pain to code and it was huge. I never did try to add the dynamic pathway modification hack so I could fuck with people already playing a dungeon..might be fun. -Avatar-> (aka: Erik K. Sorgatz) KB6LUY +-------------------------+ Citicorp(+)TTI *----------> panic trap; type = N+1 * 3100 Ocean Park Blvd. Santa Monica, CA 90405 +-------------------------+ {csun,philabs,psivax,pyramid,quad1,rdlvax,retix}!ttidca!sorgatz ** (OPINIONS EXPRESSED DO NOT REFLECT THE VIEWS OF CITICORP OR ITS MANAGEMENT!)