Re: MOB classes & algorithms

From: Tony Maro (tmaro@TACSYS.COM)
Date: 05/04/98


Another thread is discussing using a custom scripting language.
Perhaps you should look into that for your intelligent mobs?  It
will give more flexibility while reducing qty of code overall - however
I don't know that the speed will be that good.

<-SNIP- inserted from MIME attachment---------->

-----Original Message-----
From:   Lubos Lunak [SMTP:l.lunak@SH.CVUT.CZ]
Sent:   Monday, May 04, 1998 6:04 AM
To:     CIRCLE@post.queensu.ca
Subject:         MOB classes & algorithms

 << File: ATT00003.txt; charset = iso-8859-2 >>


 My idea is every class will have its own fight abilities ( dragon
breaths, fire spells, etc. ) and it will choose what it will do
depending on the situation ( not just switch( number() ), but
"intelligent" decision ), and maybe class_leader, which will control a
group of mobiles and will decide what to do ( mob A, heal mob B;  mob C,
rescue mob D; everyone retreat, etc ), or maybe it's going to be a
mob_leader flag instead, I've not fully decided yet.

 The problem I have is that this will need a lot of code ( complicated
of course, lot of if's, arrays, etc. ... anyone has a better idea ? )
and I'd like to know if someone knows where I can find similar pieces of
code. I have several code bases ( DG, SMAUG, MERC ), but only in DG
source are some interesting functions implementing "smart" mobs ( some
of them look good, but the mobiles still don't help much each other )

-----Original Message-----
From:   Lubos Lunak [SMTP:l.lunak@SH.CVUT.CZ]
Sent:   Monday, May 04, 1998 6:04 AM
To:     CIRCLE@post.queensu.ca
Subject:         MOB classes & algorithms

 << File: ATT00003.txt; charset = iso-8859-2 >>


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST