[MUD-Dev] Mobiles AI and automation

Mik Clarke mikclrk at ibm.net
Thu Sep 23 21:55:34 CEST 1999


Marc Bowden wrote:
> 
> --On Wed, Sep 22, 1999 12:23 PM -0700 Matthew Mihaly <diablo at best.com>
> wrote:
> > On Wed, 22 Sep 1999, Crystalmir wrote:
> >
> >> Hi, i am planning to do bots and robots to
> >> handle specific tasks on my mud, such a
> >> making a 'newbie welcome program'(the first thing
> >> you get on Avalon). A touristic guide, as well
> >> as more intelligent mobiles.
> >>
> >> Well, i would like to know if someone already did
> >> that and could share source code, if there are
> >> source code somewhere, or if you have any ideas
> >
> > We've got a newbie welcome program and, like avalon's, it's got
> > not a whole lot to do with the actual mobiles. They may be there
> > to guide you and speak to you, but they really are just
> > decorations. The code that drives the introductions just makes
> > various mobiles interact with you in order to make it feel more
> > interesting.
> >
> 
>   That's fine. Behavior modeling is *way* easier than creating
> a construct that can carry out an intelligent conversation!

We just have a few mobs that look inside a player and, deciding upon
that they see, do different things.  Mostly they say hello, but 
occasionally they will give directions (to the fountain if the player
is thirsty or to the shop if they are hungry).  They can also offer
players quests if conditions are right:

The following:

> (Tsathoggua 22:20) <OLC mode> trig rlist arrive
> Triggers for event [arrive]
> Seq    Subtype       Script  Text
> -----  ------------  ------  -------------------------
>    10          none       4  -
>  actor->profession: 'undergraduate' 10 -1
>  actor->not->deed id: 56 done (1)
>  actor->skill: 'education' 60 -1
>    20          none       1  -
>  actor->not->is charmed
>
> (Tsathoggua 22:27) <OLC mode> script list 4
> Script [    4] Name: [Greet undergrad]
> Seq   Delay CmdId Command
> ----------------------------------------------------
>    10     0     0 smile
>    20     1     0 say Hello @a2! I think you are ready to graduate! 

Makes the mob say hello and tell the player that they are ready to
graduate if they are a 10th or higher level undergraduate, have 60 or
more points of education and have not already graduated (deed 56). If
the arriving player doesn't meet those conditions and isn't charmed,
then he runs script 1 which makes him just smile and say hello:

> (Tsathoggua 02:54) u
> Room [3119] Infront of the Deans Office (inside-none-clear)
>  This area is furnished with several confortable chairs and low, magazine
> covered tables.  The Dean can often be found here, chatting with students
> and trying to help them with their problems.  
> [Exits: #north south #west down]
> (White Aura) Mr. Barker, the Dean of the University
>
> (Tsathoggua 02:58) 
> Mr. Barker, the Dean smiles at you.
>
> (Tsathoggua 02:58) 
> Mr. Barker, the Dean says 'Hello Tsathoggua! How are you?'

All programmed through the CthulhuMud OLC.  Of course, it won't
responsed
to speech yet, although you can ask him about graduation, students and
the
observatory.

Mik



_______________________________________________
MUD-Dev maillist  -  MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev



More information about the mud-dev-archive mailing list