[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

9319: [MUD-Dev] Re: mobile movement

[Full Header] [Plain Text]
From: J C Lawrence <claw@under.engr.sgi.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 12 Jan 1999 16:14:35 -0800
References: [1]
Organization: Kanga.Nu
On Tue, 12 Jan 1999 13:39:51 +0000 (BST) 
Ling <K.L.Lo-94@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@kanga.nu
(Contractor)                             Internet: coder@kanga.nu
---------(*)                    Internet: claw@under.engr.sgi.com
...Honorary Member of Clan McFud -- Teamer's Avenging Monolith...