<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Rooms, 3D arrays, etc. --> <!--X-From-R13: Oqnz Ivttvaf <avtugsnyyNvasvpnq.pbz> --> <!--X-Date: from major.globecomm.net [207.51.48.5] by in3.ibm.net id 864620263.121828-1 Mon May 26 04:17:43 1997 CUT --> <!--X-Message-Id: 199705260416.VAA07639#user2,inficad.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.BSI.3.91.970525091246.9434A-100000#sparta,mainstream.net --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Rooms, 3D arrays, etc.</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:nightfall#inficad,com"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00804.html">Previous</a> | <a href="msg00806.html">Next</a> ] Thread: [ <a href="msg01054.html">Previous</a> | <a href="msg00867.html">Next</a> ] Index: [ <A HREF="author.html#00805">Author</A> | <A HREF="#00805">Date</A> | <A HREF="thread.html#00805">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Rooms, 3D arrays, etc.</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Rooms, 3D arrays, etc.</LI> <LI><em>From</em>: Adam Wiggins <<A HREF="mailto:nightfall#inficad,com">nightfall#inficad,com</A>></LI> <LI><em>Date</em>: Sun, 25 May 1997 21:16:03 -0700 (MST)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:nightfall#inficad,com">nightfall#inficad,com</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> [Micheal H:] > I haven't had much time to read everything that's been posted > recently, and I hope I'm being somewhat original, but instead of trying > to decide which system to use- diku-style rooms, or a vast 3D array which > houses characters, why not use both? > This idea came while i was looking at the areas that I wanted to > write for my own MUD. I wanted to make sea routes, but I couldn't really > justify making it so that you have to follow one path. It's the ocean, > after all. The same thing occurs in large, open plains. > So why not set up such a 3D array, with a default description > based on terrain type. For the rooms that actually get "created", you > simply give it a special description. In this system, "exits" should be > replaced by barriers. In effect, you should be able to go in any > direction you please, as long as there isn't something in the way. The > default would be to allow you to change position in the array. We implemented something almost exactly like what you describe a year ago. I've been extremely happy with it, although I can hardly claim that the idea was original - many muds make use of this. (Lost Souls, AnotherMUD, and 3M all come to mind.) > Heck, this could get even more interesting if we made it a 4D > array. The standard 3 dimensions you move around in, and the 4th would > be time. It would make time travel an easier thing to deal with. Ie, > Archon goes back in time, and moves two rooms east. He then comes back > to his original time, popping up in the room corresponding with his > original position. Hmmm...interesting, although not something I'm interested in. One of the main benefits (to my mind) of going to the grid system was that all our rooms are forced to have a logical layout. There's nothing I abhor more than having north, west take you to a completely different spot than west, north...especially when the room descs for all four rooms are "Grassy plains stretch on endlessly..." > This circumvents problems that you currently get with diku-style > rooms, in which you'd have to set up some complicated vnum system to keep > track of which room in the "future" corresponds to another room in the > "past". Furthermore, you wouldn't have to worry that there isn't a > corresponding room, since the array guaruntees it's existance. Well, the second thing you said is useful even in a 3D world. Basically, the grid just fills in rooms that you don't create; it looks in the array to see if there is a 'real' room associated with that x,y,z coordinate, and if not, generates a 'room' from data about the terrain, nearby objects or mobiles, etc. > The only trouble would be to load the original array. I've been > thinking of using a file with a big character map, with each character > represtenting each room. So you could make: > > ###W###### > pppWpppppp > ###W###### > ###WWWWWWW > > Where W= water > p= path > #= field. Ugggh.. we just paint it with a paint program, making an 8 bit PCX file which is read in directly by the MUD. (There is two seperate maps - one for elevation, one for terrain type.) > Since we've got tons of individual characters to choose from, we could > come up with every terrain type we could possibly want. This would also > make it easier to have natural disasters change the terrain, since it > would be a simple matter of changing a few characters in the overall map. > Does this sound interesting to anyone? I'm very happy with our grid system. At first I was worried that it would seem like a big, empty space with nothing in it...but being able to write areas and focus on what's interesting, and not worry about creating long roads or grassy fields or forests or shorelines or oceans or skies or long mountainranges is *great*. </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00777" HREF="msg00777.html">Rooms, 3D arrays, etc.</A></STRONG> <UL><LI><EM>From:</EM> Michael Hohensee <michael#sparta,mainstream.net></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00804.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00806.html">Re: [MUD-Dev] Internal Mud Languages</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg01054.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00867.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00805"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00805"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>Re: [MUD-Dev] Rooms, 3D arrays, etc.</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00940" HREF="msg00940.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Raz <a href="mailto:muddyraz#mushroom,demon.co.uk">muddyraz#mushroom,demon.co.uk</a>, Fri 30 May 1997, 05:59 GMT <UL> <LI><strong><A NAME="00964" HREF="msg00964.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sat 31 May 1997, 04:25 GMT <UL> <LI><strong><A NAME="01013" HREF="msg01013.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Sun 01 Jun 1997, 20:09 GMT <UL> <LI><strong><A NAME="01054" HREF="msg01054.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Miroslav Silovic <a href="mailto:silovic#mare,zesoi.fer.hr">silovic#mare,zesoi.fer.hr</a>, Mon 02 Jun 1997, 16:11 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </ul> </ul> <LI><strong><A NAME="00805" HREF="msg00805.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Mon 26 May 1997, 11:17 GMT </LI> <LI><strong><A NAME="00867" HREF="msg00867.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, Marian Griffith <a href="mailto:gryphon#iaehv,nl">gryphon#iaehv,nl</a>, Wed 28 May 1997, 05:59 GMT </LI> </ul> </LI> <LI><strong><A NAME="00744" HREF="msg00744.html">Re: [MUD-Dev] Re: Prepositions and Parsing...</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Sun 25 May 1997, 05:11 GMT <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00808" HREF="msg00808.html">Re: [MUD-Dev] Re: Prepositions and Parsing...</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 26 May 1997, 21:42 GMT </LI> </UL> </LI> <LI><strong><A NAME="00730" HREF="msg00730.html">Dupes.</A></strong>, coder <a href="mailto:coder#ibm,net">coder#ibm,net</a>, Sat 24 May 1997, 12:41 GMT </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>