msg00474.html
2000Q1/msg00474.html · 8.7 KB
From the archive 2000Q1.zip
Download the archive « Back to the archive contents
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD-Dev] Newbies -->
<!--X-From-R13: Vnaf-Vraevx Egnresryqg <uufNpof.qgh.qx> -->
<!--X-Date: Fri, 25 Feb 2000 12:48:45 -0800 -->
<!--X-Message-Id: Pine.SGI.3.95.1000225132242.1196256F-100000#genome,cbs.dtu.dk -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 00022501355101.15968@laurelin -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] Newbies</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:hhs#cbs,dtu.dk">
</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="msg00472.html">Previous</a>
| <a href="msg00473.html">Next</a>
]
Thread:
[ <a href="msg00472.html">Previous</a>
| <a href="msg00473.html">Next</a>
]
Index:
[ <A HREF="author.html#00474">Author</A>
| <A HREF="#00474">Date</A>
| <A HREF="thread.html#00474">Thread</A>
]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] Newbies</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>: Re: [MUD-Dev] Newbies</LI>
<LI><em>From</em>: Hans-Henrik Staerfeldt <<A HREF="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</A>></LI>
<LI><em>Date</em>: Fri, 25 Feb 2000 13:52:23 +0100 (MET)</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#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>
On Fri, 25 Feb 2000, MichelleThompson wrote:
> There are so many things that people react to. There are so many things that
> players do, especially to mobs when they are bored. If you defined
> action/reaction on say even a fourth of them into a specific personality
> script (the list above is not even a fourth of what players can say or do to
> mobs) If you defined an action/reaction on every mob for say a fourth of
> them, even for only several hundred mobs, it would quickly take up more space
> than it was worth. If you make several general personilty types, they could
> be assigned to mobs. The mobs could have some of the comparitively small
> scripts like you described above as well. Mobs generally do not react to that
> much. This is a possible way to have more mobs react more ways to different
> things.
>
> Michelle Thompson
>
This is possible with what we did with our scripting language. You can assign
any number of programs to a mob. (well .. enything really, but mob's as well)
The programs can react to different circumstances (message based). The
message will be passed down the programs, until a program 'blocks' it.
This way, you can attach several different _simple_ behaviour patterns to
a mob. The programs can have 'arguments' as you attach them for ultimate
reuse. F.inst. you can attach a generic cityguard patrol program, that
takes a path as an argument, and thus assign the same program to all the
cityguards, but give them different patrol paths. One of the could hold a
grudge against the mob 'quazimodo' and if he sees that mob he'll spit at him
and call him names. Functions can even take other functions as parameters
so more complex behaviour could be achieved (callbacks or whatever).
dilcopy mypatrol@myzone("NUWWWNNSSEEWDS");
dilcopy quazimodo@myzone("Get lost freak");
dilcopy alarm_if_attacked@myzone("Guards Guards!");
However, this works only for reasonably simple behaviour patterns. If you want
something that takes into account what other patterns are installed, the
inter-dependencies get complex, and you really need to make a new script to
get something finely tuned.
For your example, you could make the small scripts, that reacted to
differnt actions/keywords, and attach them all to you mob in the combination
you wanted. The problem is, when the more variety you want in your ability
to specify personality, the more your assignments will be like a seperate
specific program, and less like a collection of high-level behaviours.
It all depends on how specific or high-level you want it. So the trick is
to make your reaction options complex enough that they warrant being coded
in a seperate script, rather than just included in one global script.
Documentation for interrested; <A HREF="http://www.valhalla.com/Builders/docs.html">http://www.valhalla.com/Builders/docs.html</A>
Hans Henrik Stærfeldt | bombman#diku,dk | work: hhs#cbs,dtu.dk |
address: |___ +45 40383492 __|__ +45 45252425 __|
Dybendalsvej 74 2. th, | Scientific programmer at Center for Biological |
2720 Vanløse, Danmark. | Sequence Analysis, Technical University of Denmark|
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
<A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</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="00472" HREF="msg00472.html">Re: [MUD-Dev] Newbies</A></STRONG>
<UL><LI><EM>From:</EM> MichelleThompson <m.a.thompson#mindspring,com></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00472.html">Re: [MUD-Dev] Newbies</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00473.html">Re: [MUD-Dev] Newbies</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00472.html">Re: [MUD-Dev] Newbies</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00473.html">Re: [MUD-Dev] Newbies</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00474"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00474"><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] Newbies</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00456" HREF="msg00456.html">RE: [MUD-Dev] Newbies</A></strong>,
Geoffrey A. MacDougall <a href="mailto:geoffrey#poptronik,com">geoffrey#poptronik,com</a>, Tue 22 Feb 2000, 23:58 GMT
</LI>
<LI><strong><A NAME="00457" HREF="msg00457.html">RE: [MUD-Dev] Newbies</A></strong>,
Charles Hughes <a href="mailto:charles.hughes#bigfoot,com">charles.hughes#bigfoot,com</a>, Wed 23 Feb 2000, 00:51 GMT
</LI>
<LI><strong><A NAME="00470" HREF="msg00470.html">Re: [MUD-Dev] Newbies</A></strong>,
Matthew Mihaly <a href="mailto:diablo#best,com">diablo#best,com</a>, Fri 25 Feb 2000, 05:45 GMT
<UL>
<LI><strong><A NAME="00472" HREF="msg00472.html">Re: [MUD-Dev] Newbies</A></strong>,
MichelleThompson <a href="mailto:m.a.thompson#mindspring,com">m.a.thompson#mindspring,com</a>, Fri 25 Feb 2000, 07:32 GMT
<UL>
<LI><strong><A NAME="00474" HREF="msg00474.html">Re: [MUD-Dev] Newbies</A></strong>,
Hans-Henrik Staerfeldt <a href="mailto:hhs#cbs,dtu.dk">hhs#cbs,dtu.dk</a>, Fri 25 Feb 2000, 20:48 GMT
</LI>
<LI><strong><A NAME="00473" HREF="msg00473.html">Re: [MUD-Dev] Newbies</A></strong>,
David Bennett <a href="mailto:ddt#discworld,imaginary.com">ddt#discworld,imaginary.com</a>, Fri 25 Feb 2000, 20:48 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
<LI><strong><A NAME="00475" HREF="msg00475.html">RE: [MUD-Dev] Newbies</A></strong>,
Malcolm Tester <a href="mailto:MTester#cambric,com">MTester#cambric,com</a>, Fri 25 Feb 2000, 22:12 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00453" HREF="msg00453.html">[MUD-Dev] To all the devoted! (fwd)</A></strong>,
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Tue 22 Feb 2000, 21:45 GMT
<LI><strong><A NAME="00447" HREF="msg00447.html">[MUD-Dev] OpenSource licenses for game rules?</A></strong>,
J C Lawrence <a href="mailto:claw#kanga,nu">claw#kanga,nu</a>, Mon 21 Feb 2000, 18:06 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>