[MUD-Dev] Re: mobile movement

J C Lawrence claw at under.engr.sgi.com
Tue Jan 12 16:14:35 New Zealand Daylight Time 1999


On Tue, 12 Jan 1999 13:39:51 +0000 (BST) 
Ling <K.L.Lo-94 at student.lboro.ac.uk> wrote:

> The ambitious mud designer will, of course, not define the
> highways and write an algorithm which tracks players and
> extrapolate the routes from the players' movements. :)

I forsee an algorithm:

  Plot and follow path from current position to position of target.
  if current position was position of target within last X time
    follow path of target (ie same location motions)
    if blocked, resume plot/follow.
    if current location is too-old target position, resume plot/follow
  
--
J C Lawrence                              Internet: claw at kanga.nu
(Contractor)                             Internet: coder at kanga.nu
---------(*)                    Internet: claw at under.engr.sgi.com
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...




More information about the MUD-Dev mailing list