<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Population container --> <!--X-From-R13: @nguna Kbfcr <lbfcrNunjnvv.rqh> --> <!--X-Date: from babe.globecomm.net [207.51.48.8] by in4.ibm.net id 866845017.44204-1 Fri Jun 20 22:16:57 1997 CUT --> <!--X-Message-Id: Pine.GSO.3.95q.970620120150.24299A-100000@uhunix2 --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.SOL.3.94.970619203725.20110E-100000#eduserv1,rug.ac.be --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Population container</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> [ <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="msg01390.html">Previous</a> | <a href="msg01392.html">Next</a> ] Thread: [ <a href="msg01383.html">Previous</a> | <a href="msg01483.html">Next</a> ] Index: [ <A HREF="author.html#01391">Author</A> | <A HREF="#01391">Date</A> | <A HREF="thread.html#01391">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Population container</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] Population container</LI> <LI><em>From</em>: Nathan Yospe <<A HREF="mailto:yospe#hawaii,edu">yospe#hawaii,edu</A>></LI> <LI><em>Date</em>: Fri, 20 Jun 1997 12:16:37 -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 Thu, 19 Jun 1997, Wout Mertens wrote: :hey all! :Here's an idea I had: :Instead of having all that trouble of having to constantly update your :objects, even when noone is around, I present: :The Population Container :What is it? Well, you take a kind of monster that you want to populate a :zone with. Now make a population model, something like Fibonacci's row or :so (rabbits!), and update the model every once in a while. :Now, if a player is about, and he 'spots' one (or more) of the population, :decrease you population by one (or more) and make the appropriate monster :appear. Even more, you can hold off on generating the actual instance until a closer examination is performed. This is the biggest use I make of my massing containers. While it is not exactly the same concept - my massed containers don't model population growth and such, and are viable only within a single locality - it does bear certain similarities. :This way, you can have zillions of flies, musquito's, dwarfs, etc etc, you :could even describe the critters from the container (some dwarfs are :lurking about) (tho I think that's a bit farfetched), and all with :virtually no memory or cpu overhead. It is hardly farfetched at all. Observe: The crowd class is derived from the containment class, and from the physical class. Thus, it is an example of a "massing container", similar to the body class, and others. Like all containers, it defaults to carrying uninstantiated members first. Because of this, any glance at a crowd will be described by the crowd, and not by an assemblage of members. All containers are equipped to handle cases where some members are instantiated, so if a known associate of a character was hiding in the crowd, the character could pick that individual out. Examples: There is a large crowd of peasants milling around the field. There is a large crowd of peasants milling around the field, and an armored knight standing among them. (To a dragon) There is a large crowd of filthy humans milling around your sleeping grounds. There is a large crowd of peasants milling around the field. Matilda is among them, chatting with a tall, skinny man. :That's it. :Thoughts? Questions? Ideas? Stuff? Just an additional comment: these things can get really fun. __ _ __ _ _ , , , , /_ / / ) /_ /_) / ) /| /| / /\ 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> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="01362" HREF="msg01362.html">Population container</A></STRONG> <UL><LI><EM>From:</EM> Wout Mertens <Wout.Mertens#rug,ac.be></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg01390.html">Re: [MUD-Dev] Alright... IF your gonan do DESIESE...</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg01392.html">Re: [MUD-Dev] RP=MUSH/PG=MUD</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg01383.html">[MUD-Dev] Population container</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg01483.html">Re: [MUD-Dev] Population container</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#01391"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#01391"><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] Git out the boar spear, Martha!</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <LI><strong><A NAME="01507" HREF="msg01507.html">Re: [MUD-Dev] Git out the boar spear, Martha!</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Thu 26 Jun 1997, 08:08 GMT </LI> </ul> <LI><strong><A NAME="01404" HREF="msg01404.html">Re: [MUD-Dev] Git out the boar spear, Martha!</A></strong>, Matt Chatterley <a href="mailto:root#mpc,dyn.ml.org">root#mpc,dyn.ml.org</a>, Sat 21 Jun 1997, 16:57 GMT </LI> </ul> </LI> <LI><strong><A NAME="01362" HREF="msg01362.html">Population container</A></strong>, Wout Mertens <a href="mailto:Wout.Mertens#rug,ac.be">Wout.Mertens#rug,ac.be</a>, Fri 20 Jun 1997, 01:51 GMT <UL> <LI><strong><A NAME="01383" HREF="msg01383.html">[MUD-Dev] Population container</A></strong>, Brandon Cline <a href="mailto:brandon#sedona,net">brandon#sedona,net</a>, Fri 20 Jun 1997, 16:08 GMT </LI> <LI><strong><A NAME="01391" HREF="msg01391.html">Re: [MUD-Dev] Population container</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sat 21 Jun 1997, 05:16 GMT </LI> <LI><strong><A NAME="01483" HREF="msg01483.html">Re: [MUD-Dev] Population container</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 25 Jun 1997, 06:44 GMT <UL> <LI><strong><A NAME="01558" HREF="msg01558.html">Re: [MUD-Dev] Population container</A></strong>, Wout Mertens <a href="mailto:Wout.Mertens#rug,ac.be">Wout.Mertens#rug,ac.be</a>, Fri 27 Jun 1997, 22:37 GMT </LI> </UL> </LI> </UL> <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="01555" HREF="msg01555.html">Population container</A></strong>, Wout Mertens <a href="mailto:Wout.Mertens#rug,ac.be">Wout.Mertens#rug,ac.be</a>, Fri 27 Jun 1997, 21:22 GMT </LI> </UL> </LI> <LI><strong><A NAME="01358" HREF="msg01358.html">Re: [MUD-Dev] Name/language generation</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 19 Jun 1997, 21:48 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>