msg01059.html
1997Q2/msg01059.html · 8.2 KB
From the archive 1997Q2.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Room-based vs. coordinate-based -->
<!--X-From-R13: nyrkbNovtsbbg.pbz (Oyrk Aera) -->
<!--X-Date: from stimpy.globecomm.net [207.51.48.4] by in10.ibm.net id 865274550.36252-1 Mon Jun 2 18:02:30 1997 CUT -->
<!--X-Message-Id: 3399f534.728119540@neptune -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199704250127.SAA25913#xsvr3,cup.hp.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Room-based vs. coordinate-based</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:alexo#bigfoot,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="msg01058.html">Previous</a>
| <a href="msg01061.html">Next</a>
]
Thread:
[ <a href="msg00295.html">Previous</a>
| <a href="msg01096.html">Next</a>
]
Index:
[ <A HREF="author.html#01059">Author</A>
| <A HREF="#01059">Date</A>
| <A HREF="thread.html#01059">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Room-based vs. coordinate-based</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>: Room-based vs. coordinate-based</LI>
<LI><em>From</em>: <A HREF="mailto:alexo#bigfoot,com">alexo#bigfoot,com</A> (Alex Oren)</LI>
<LI><em>Date</em>: Mon, 02 Jun 1997 18:07:46 GMT</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Hello.
I have some questions regarding a room-based vs. a coordinate-based MUD issues.
(*) Ease of coding and efficiency.
Room-based seems much more efficient and easier to code.
Coordinate-based will require proximity calculations on almost any activity or
command (in room-based I can just assume that objects inside a "room" container
are close to each other). Motion, visibility, etc. becomes more complex.
(*) Combat.
Coordinate-based makes ranged attacks, closing-in, retreats, etc. simpler to
implement (any ideas how to handle this in a room-based system?).
Also, consider the following sniplets (in the context of room vs. coordinate):
[JCL:]
} The big reason for this is that I am
} working hard to totally lose the concept of rooms. As such I actively
} want to support two players fighting who are also seperated by the
} entire width of the land, a couple rooms apart, or right beside each
} other.
[Adam:]
} > notch arrow bow
} You notch a wooden arrow into your bow.
} > shoot north orc
} [Here 'bow' and 'arrow' are already in your list of objects recently accessed]
} You fire a wooden arrow north at the orc.
} > notch
} [Here everything it wishes to know is already in your list...]
} You notch a wooden arrow into your bow.
} > shoot
} [Same thing - it just so happens the orc has moved west.]
} You fire a wooden arrow west at the orc.
(*) Area effects.
How will I handle "Boffo arrives from the north" type of messages?
Room-based (or, rather, "container-based") has an advantage here. A container
may send messages to the objects it contains. In a coordinate-based system I
will need to consult a "map" of object locations to determine message
recipients. Or am I wrong?
(*) Movement.
What will be the difference between "north" and "run north" in a room-based and
a coordinate-based systems?
Coordinate-based systems also seem to imply finer movement granularity
(closing-in for combat vs. walking towards the mountain) and therefore,
additional user commands may be needed to realize this.
Ideas? Comments? Implementation algorithms?
Have fun,
Alex.
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="01099" HREF="msg01099.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>
<ul compact><li><em>From:</em> Shawn Halpenny <malachai#iname,com></li></ul>
<li><strong><A NAME="01096" HREF="msg01096.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>
<ul compact><li><em>From:</em> Adam Wiggins <nightfall#inficad,com></li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00214" HREF="msg00214.html">Re: [MUD-Dev] Re: Issues from the digests and Wout's list</A></STRONG>
<UL><LI><EM>From:</EM> clawrenc#cup,hp.com</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg01058.html">Re: [MUD-Dev] Resets, repops and quests</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg01061.html">Re: [MUD-Dev] Resets, repops and quests</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00295.html">Re: [MUD-Dev] Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg01096.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#01059"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#01059"><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] Re: Issues from the digests and Wout's list</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00223" HREF="msg00223.html">Re: [MUD-Dev] Re: Issues from the digests and Wout's list</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Fri 25 Apr 1997, 23:39 GMT
<UL>
<LI><strong><A NAME="00261" HREF="msg00261.html">Re: [MUD-Dev] Re: Issues from the digests and Wout's list</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Mon 28 Apr 1997, 23:34 GMT
<UL>
<LI><strong><A NAME="00281" HREF="msg00281.html">Re: [MUD-Dev] Re: Issues from the digests and Wout's list</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Tue 29 Apr 1997, 21:10 GMT
<UL>
<LI><strong><A NAME="00295" HREF="msg00295.html">Re: [MUD-Dev] Re: Issues from the digests and Wout's list</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 30 Apr 1997, 02:53 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="01059" HREF="msg01059.html">Room-based vs. coordinate-based</A></strong>,
Alex Oren <a href="mailto:alexo#bigfoot,com">alexo#bigfoot,com</a>, Tue 03 Jun 1997, 01:02 GMT
<UL>
<LI><strong><A NAME="01096" HREF="msg01096.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Tue 03 Jun 1997, 19:31 GMT
</LI>
<LI><strong><A NAME="01099" HREF="msg01099.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Tue 03 Jun 1997, 22:43 GMT
<UL>
<LI><strong><A NAME="01153" HREF="msg01153.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Thu 05 Jun 1997, 00:52 GMT
<UL>
<LI><strong><A NAME="01200" HREF="msg01200.html">Re: [MUD-Dev] Room-based vs. coordinate-based</A></strong>,
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Thu 05 Jun 1997, 23:44 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
</ul>
</ul>
</ul>
</LI>
</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>