1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev]  Rooms, 3D arrays, etc. -->
<!--X-From-R13: @nguna Kbfcr <lbfcrNunjnvv.rqh> -->
<!--X-Date: from major.globecomm.net [207.51.48.5] by in12.ibm.net id 864726213.3836&#45;1 Tue May 27 09:43:33 1997 CUT -->
<!--X-Message-Id: Pine.GSO.3.95q.970526231822.24511C&#45;100000@uhunix2 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 3395011a.48105775#post,demon.co.uk -->
<!--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:yospe#hawaii,edu">
</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="msg00835.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00837.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00804.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00940.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00836">Author</A>
&nbsp;|&nbsp;<A HREF="#00836">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00836">Thread</A>
&nbsp;]

<!--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>: Nathan Yospe &lt;<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</A>&gt;</LI>
<LI><em>Date</em>: Mon, 26 May 1997 23:51:45 -1000</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Sun, 25 May 1997, Raz wrote:

:Damn.  Some time after writing and queueing this message, I discovered the
:conversation going on in "RP Thesis"... ah, well, never mind... =)

*chuckle*

:[time passes]

:And now I find the "Virtual rooms" thread!  Aarg!  Well, its written, and
:its getting posted... =)

Good, good... always nice to get more input.

:On Sun, 25 May 1997 12:20:58 PST8PDT, Michael wrote:

:&gt; 	So why not set up such a 3D array, with a default description 
:&gt; based on terrain type.  For the rooms that actually get "created", you 
:&gt; simply give it a special description.  In this system, "exits" should be 
:&gt; replaced by barriers.  In effect, you should be able to go in any 
:&gt; direction you please, as long as there isn't something in the way.

:You wouldn't believe the shock I got when reading this =)  For a moment I
:thought I'd sleepwalked, powered up my machine, posted this message, then
:gone back to bed again!

:Well, okay, not all of it.  Setting time travel and such aside just for the
:moment, this is something I really really want in my system, but after
:nearly a year of on and off dreaming about it I just can't think of a
:system coherent enough, solid enough, and ultimately one which would result
:in a game world playable enough to be worth taking to implementation.

I've been playing around with coherent positional modeling for quite a
while. Two words: smoke &amp; mirrors. Only... what happens when someone gets
a sonar mapper? *grin* OK, so we have to make it at least plausibly model
reality... this is where it gets hairy.

:Incidentally the last point in that little list was something impressed
:upon me by friends I told about the proposed system.  They couldn't shake
:visions of vast tracts of empty, lifeless, barren mud-world - despite how
:much I babbled about pre-determined environment settings, automatically
:handled flora and fauna, dynamic landscapes, etc =)

Which list? Ah... *shrug* Well, there are two issues here. 3D, and random
generation. The two are independent, but both pose interesting problems.

:I was thinking of posting on this subect again - it was, I think, the main
:thing I talked about when I was last active on the list - and hopefully
:striking up a discussion about it.

Well, we've got one going now.

:I'm very taken with the idea of a system which *never* replies "You can't
:go that way", but instead either moves you or suggests *why* you can't go
:that way, and lets you figure out how to overcome it.

Ah, now we're getting into interesting new thoughts. Um. OK, I've tried to
get some degree of this The edges of the approved format area in
Singularity 2 are essentially randomized repeated landscape types seeded
off of the location that continue on indeffinately - or at least, for some
2^31 cm in any given direction. 21,000 km is pretty well a continent
already, so that should be enough, I think. Other than that... well, you
can blow down walls, dig through ground, fly over obstacles, dive under
water... I think I've pretty well got the basis of the kind of system you
are suggesting. Unfortunately, it does depend of the diligence of
builders. Walls and ground default to concrete and bedrock, etc, etc, etc.
In order to have your cardboard wall tear down when a drunk stumbles
against it, you have to designate the walls as cardboard. A builder could
seal a wall, make the exit a tube and everything around it some
indestructible material.. or the roof of some vast underground cavern
could be battle steel, and unscratchable... or infinite stone.

:Working from memory, the closest I got to any kind of system before
:concentrating on other things ran something like this:

:You have a 2D matrix of abritrary dimensions - this is 'World', your game
:world.  (Yes, obviously 3D makes more sense, but that led to problems I
:couldn't overcome at the time =))

2D of arbritrary dimensions... I'm sure I'm missing something here... And
3D does work better. But I'll get back to that.

:A player's movement along the X and Y wrap, so you have workable if not
:physically accurate 'globe'.
:World is assigned a 'null' environment, which Beings cannot enter (more on
:this later).
:Builders then construct an Area by first specifying X and Y coordinates
:relating to the World a width and height, and environment attributes that
:will be assumed by any 'Virtual Spaces' in the Area.
:  Within an Area, Zones are constructed be specifying a shape (Y ammount of
:X-start and X-stop coordinates) and placing it at coordinates within the
:Area matrix.
:  Each zone also specifies environment coordinates.  If I recall, this
:arrangement was to allow smoother environment transitions between two
:radically different Areas placed adjacent to each other.
:    The builder is then free to follow a Space syntax and construct what I
:named 'explicit Spaces' in each zone, giving each a coordinate and fixed
:size; thus providing the means to add any textual/descriptive richness the
:builder wishes.
:    Any part of the Zone and, therefore, the Area without an explicit Space
:becomes a virtual Space when the game runs, most likely created when the
:first player enters and destroyed when the last exits - though things never
:got that far.

Interesting...

:That, pretty much, was the idea, and I think at first glance it offers
:quite a nice world.  However, there were many problems I ran into.

:The first was 3D world features.  How to model pyramidial mountains, for
:example?  That was one of the reasons I kept the model 2D and tried not to
:think about players flying =)

Which is where you begin to run into the limits of a grid...

:Space sizes was another thing I wanted to take further.  Spaces shouldn't
:really be all of a fixed size, but ig explicit Spaces were allowed to be of
:differing sizes, how does the system reasonably try to fit virtual Spaces
:around them?  Players would face a nightmare just trying to walk around.
:16, or even 32, points of the compass, anyone? ;)

OK, here is how I handled this: rather than turning X degrees, you turn
"toward" a destination. You are evaluated in terms of your current 3D
coordinates, but everything in the region of a node is still stored in a
list. (I am experimenting with a version of the list that is actually,
inside of its guts, a quadtree implementation... but my container classes
are interchangeable.) So... you have a description of what you see, from
where you are standing and the direction you are facing. You evaluate a
command to move toward something in your FOV, or face it, or turn around
~180 degrees, or look up, or down, or turn right (default at ~15 degrees,
though it may evaluate differently depending on circumstances) relative to
your character's POV. This is an element of my natural language parser, in
any case, and tied up into the fundamental concepts of the game. I do
prefer the node/relative coordinates/list storage approach to the rather
more limiting grid approach, however.

:Towns and cities were a major headache.  Back alleys, houses and gardens,
:walls that could be climbed over or broken down made me cry; images of
:players with ropes and grapples swarming over guildhouses and Crocodile
:Dundee'ing their way through a top floor window haunted my dreams.

I love these sorts of things. Of course, there has to be an element of
resetting for an area... the citizens must rebuild, and total destruction,
while not repairable from one character's POV, is moved into a sort of
parallel universe for everyone else. Kinda confusing, when I try to
describe this, but I have provisions for absolute destruction only
applying to Character's belonging to the destroyer of said city's
controller.

:Anyway that's what I had and how I was going, and why I put it firmly on
:the back burner =)  Recently though, after telling myself I was going to
:forget the whole thing, I've started thinking about it again.  I've thought
:that a possible answer, at least to the towns problem, would be some kind
:of 'structure' object, which would be dropped into a Zone and mark off the
:size and rough shape of any particular, well, structure.

I still do have "rooms" for this very purpose. (Well, that and aesthetics.
I think getting a room described in its entirety is appropriate, while a
field only describes what is in front of you, witha  speed narrowed cone
of vision.

:The structure wouldn't care about what was inside it, we'd sort that out
:with additional Spaces... hmm, which I suppose would need to be tied to the
:Structure in some way...  In fact this would seem to describe a general
:'container'.  Castles and beltpouches really of the same ilk..? =)

Mine are. =) After all, an imp's castle is a giant's shot glass.

:Oh yeah... castles... ick.  Model a castle...

*grin* Don't worry, it'll come to you. (I use composite rooms of variant
dimensions.)

:Okay, time to stop the thinking aloud.  I'm generally at my least coherent
:then.

:Continuation eagerly, and hopefully, awaited =)

:Raz

Speaking of which.... if I was incoherent, blame it on lack of sleep.


   __    _   __  _   _   ,  ,  , ,  
  /_  / / ) /_  /_) / ) /| /| / /\            First Light of a Nova Dawn
 /   / / \ /_  /_) / \ /-|/ |/ /_/            Final Night of a World Gone
Nathan F. Yospe - University of Hawaii Dept of Physics - yospe#hawaii,edu


</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="00940" HREF="msg00940.html">Re: [MUD-Dev]  Rooms, 3D arrays, etc.</A></strong>
<ul compact><li><em>From:</em> Raz &lt;muddyraz#mushroom,demon.co.uk&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00804" HREF="msg00804.html">Re: [MUD-Dev]  Rooms, 3D arrays, etc.</A></STRONG>
<UL><LI><EM>From:</EM> Raz &lt;muddyraz#mushroom,demon.co.uk&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00835.html">Re: [MUD-Dev]  Re: Nutirtion and a Resource Question</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00837.html">Resets, repops and quests</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00804.html">Re: [MUD-Dev]  Rooms, 3D arrays, etc.</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00940.html">Re: [MUD-Dev]  Rooms, 3D arrays, etc.</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00836"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00836"><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>
<ul compact>
<LI><strong><A NAME="00935" HREF="msg00935.html">Re: [MUD-Dev] Rooms, 3D arrays, etc.</A></strong>, 
Michael Hohensee <a href="mailto:michael#sparta,mainstream.net">michael#sparta,mainstream.net</a>, Fri 30 May 1997, 03:50 GMT
<UL>
<LI><strong><A NAME="00954" HREF="msg00954.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>, Fri 30 May 1997, 22:59 GMT
</LI>
</UL>
</LI>
</ul>
</ul>
</ul>
<LI><strong><A NAME="00798" HREF="msg00798.html">Re: [MUD-Dev]  Rooms, 3D arrays, etc.</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Mon 26 May 1997, 05:47 GMT
</LI>
<LI><strong><A NAME="00804" HREF="msg00804.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>, Mon 26 May 1997, 11:10 GMT
<UL>
<LI><strong><A NAME="00836" HREF="msg00836.html">Re: [MUD-Dev]  Rooms, 3D arrays, etc.</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Tue 27 May 1997, 16:43 GMT
<UL>
<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>
</LI>
</UL>
</LI>
</ul>
</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>