1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: MapMaker -->
<!--X-From-R13: Xbry Yryfb <wbryNrr.hjn.rqh.nh> -->
<!--X-Date: Thu, 9 Jul 1998 22:28:09 &#45;0700 -->
<!--X-Message-Id: 35A5A633.F282E24E#ee,uwa.edu.au -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 00ab01bdab94$f76d8020$8212fecc#vulture,acclaim.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: MapMaker</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:joel#ee,uwa.edu.au">
</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00140.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00142.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00133.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00154.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00141">Author</A>
&nbsp;|&nbsp;<A HREF="#00141">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00141">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: MapMaker</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: MapMaker</LI>
<LI><em>From</em>: Joel Kelso &lt;<A HREF="mailto:joel#ee,uwa.edu.au">joel#ee,uwa.edu.au</A>&gt;</LI>
<LI><em>Date</em>: Fri, 10 Jul 1998 13:27:16 +0800</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
S. Patrick Gallaty wrote:

&gt; Warning - code post.
&gt;
&gt; Okay, there's a project I've been working on for 4 years on and
&gt; off.. the concept is this :
&gt;
&gt; "Array based virtual map manager with dynamic room object
&gt; configuration and automatic garbage collection."

Bravo.  Its good too see someone actually _do_ this: I too have been
thinking about this for a few years.  Allow me to make some unhelpful
comments from the sidelines.

&gt; The idea is this - you take a text representation of a 2-d map
&gt; and the head_object reads this map in.  When someone wants to
&gt; enter the map they call a function in the head_object which
&gt; includes the x,y location on the map they wish to go.

#1    Have several different methods of generating your mapdata, and
allow maps to be layered on top of each other.  When
a request comes in for data on a particular co-ordinate, use the
top-most map that covers the spot.  Your backdrop maps could
be uniform, coursely mapped or fractally generated.  On top
of these could be your special area maps for towns (with data
taken from the sorts of text map you describe), buildings
etc; and on top of this a "dropped object map" that keeps track
of loose objects (this one would be dynamic and keep a
dictionary of location/contents mappings).  The first layer is
static and can be compressed as you like (using fractal terrain,
quad trees or whatever).  You might like to keep the second
layer static, and record "damage" in a separate map, or have
it dynamic.


&gt; The map checks to see if an object is in fact loaded into
&gt; the managed array of rooms, and if so moves the player into
&gt; it with all due move messages.
&gt; If there isn't, it goes through a series of complex iterations
&gt; to determine the long() of the room based on the surrounding
&gt; 'rooms' and their calculated appearance so that each room
&gt; seems to describe its surroundings and is interesting
&gt; and different.
&gt; Also, objects on the map that have special properties for
&gt; high visibility get included in the long description
&gt; for surrounding rooms if they have the right functions
&gt; to return their far_short() etc.
&gt;
&gt; For example
&gt;
&gt; You are standing at the edge of the sea.  To the west and
&gt; north you hear the sound of breaking waves.  To the east
&gt; you see a grassy plain.  To the south you see a sparse
&gt; forest.
&gt; In the distance to the north you see dark tower.
&gt;
&gt; and the resultant text map to create this virtual room
&gt; would be something like :
&gt;
&gt; . . -
&gt; . - '
&gt; . % %
&gt;
&gt; I am going to port this code to a workmud first, and get
&gt; the bugs out of it and then use it on EOTL to fulfill
&gt; one of my alltime favorite unfinished projects - which is
&gt; a random dungeon a la nethack for LP Mud.
&gt;
&gt; This code came out of a desire to be able to make very
&gt; large outdoor areas in a sensible way.  I realized that
&gt; I could also use it for my other sinister purposes.
&gt;
&gt; The rooms in the map are only created when a player moves
&gt; into the room, and expire after a while (definable) and
&gt; clean themselves up.

Presumably your room timers reset when someone enters theroom.  What do
you do with dropped objects, delete them,
move them to a lost-and-found ?


&gt; take you on a tour of an amusing 1600 room overland map :)

Hey, anyone want to see if they can get a Java 1.1 applet going:

<A  HREF="http://ciips.ee.uwa.edu.au/~joel/fmap.html">http://ciips.ee.uwa.edu.au/~joel/fmap.html</A>

Take a zooming, panning tour of a trillion square kilometers of
(bady) faked topography mapped down to 1 meter resolution :-)
I have plans for making the geography more interesting, and adding
climate and vegetation to the forged maps.

Joel Kelso

-- joel#ee,uwa.edu.au -----------------------------------------------
"Wasn't it a four-year-old this time ? It makes me feel like standing
 in the middle of the Atlantic with a megaphone and shouting:
 'America!  We know you're in there!  Put the guns DOWN!'"
    - Overheard Conversations
-- <A  HREF="http://ciips.ee.uwa.edu.au/~joel">http://ciips.ee.uwa.edu.au/~joel</A> ---------------------------------




</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="00133" HREF="msg00133.html">[MUD-Dev] MapMaker</A></STRONG>
<UL><LI><EM>From:</EM> "S. Patrick Gallaty" &lt;choke#sirius,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00140.html">[MUD-Dev] Output Classification Notes, version 061098</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00142.html">[MUD-Dev] Universe Design Notes, version 061098</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00133.html">[MUD-Dev] MapMaker</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00154.html">[MUD-Dev] Re: MapMaker</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00141"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00141"><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>[MUD-Dev] Re: Output Classification Notes, version 061098</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00167" HREF="msg00167.html">[MUD-Dev] Re: Output Classification Notes, version 061098</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 11 Jul 1998, 21:35 GMT
</LI>
<LI><strong><A NAME="00462" HREF="msg00462.html">[MUD-Dev] Re: Output Classification Notes, version 061098</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Mon 03 Aug 1998, 20:06 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00139" HREF="msg00139.html">[MUD-Dev] My "mud" server, A.T.O.M. and the coming design notes</A></strong>, 
Mike L Kesl <a href="mailto:mlkesl#cpinternet,com">mlkesl#cpinternet,com</a>, Fri 10 Jul 1998, 04:21 GMT
<LI><strong><A NAME="00133" HREF="msg00133.html">[MUD-Dev] MapMaker</A></strong>, 
S. Patrick Gallaty <a href="mailto:choke#sirius,com">choke#sirius,com</a>, Thu 09 Jul 1998, 23:55 GMT
<UL>
<LI><strong><A NAME="00141" HREF="msg00141.html">[MUD-Dev] Re: MapMaker</A></strong>, 
Joel Kelso <a href="mailto:joel#ee,uwa.edu.au">joel#ee,uwa.edu.au</a>, Fri 10 Jul 1998, 05:28 GMT
</LI>
<LI><strong><A NAME="00154" HREF="msg00154.html">[MUD-Dev] Re: MapMaker</A></strong>, 
oliver <a href="mailto:oliver#jowett,manawatu.planet.co.nz">oliver#jowett,manawatu.planet.co.nz</a>, Fri 10 Jul 1998, 20:45 GMT
<UL>
<LI><strong><A NAME="00170" HREF="msg00170.html">[MUD-Dev] Re: MapMaker</A></strong>, 
Matthew R. Sheahan <a href="mailto:chaos#crystal,palace.net">chaos#crystal,palace.net</a>, Sat 11 Jul 1998, 21:57 GMT
<UL>
<LI><strong><A NAME="00479" HREF="msg00479.html">[MUD-Dev] Re: MapMaker</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 05 Aug 1998, 01:59 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00119" HREF="msg00119.html">[MUD-Dev] Re: Affordances and  social method (Was: Re: Wi</A></strong>, 
Michael.Willey <a href="mailto:Michael.Willey#abnamro,com">Michael.Willey#abnamro,com</a>, Thu 09 Jul 1998, 19:08 GMT
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>