Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: treasure items...? wanderers?
- To: crossfire (at) ifi.uio.no
- Subject: Re: treasure items...? wanderers?
- From: Petri Heinila <>
- Date: Mon, 14 Aug 1995 13:56:09 +0300 (EET DST)
- In-Reply-To: <>
On Thu, 10 Aug 1995, Brian Thomas wrote:
> > From: Petri Heinila <> writes:
> >
> > npc's are just contained in map, instead players are contained
> > in common list.
> >
> > and there have to also exist a algorithm to npc to make
> > it wander from town to town.
> >
> Where is this? Are you refering to the "petmove" algorithm?
> If so, it only moves *aligned* NPC's (ones with set_owner(
> PLAYER) set!) to new maps. An algorithm which allowed
> NPC's to wander throughout the world would be *very* cool.
Uh, I made myself unclear, as I know there exist no such algorithm.
> Imagine a special "wandering" merchant with rare (and expensive)
> items for sale. or a medicant preist who will show up every
> so often while the player traverses the "continent" maps, etc.
Indeed algorithm of wanderes would make a bit more atmosphere to
the game. But I have no clear idea how it could be done; maybe
some additional list or player list, and mile-stones on maps
to where the NPCs are targeting, or something.
<A HREF="http://www.lut.fi/~hevi/"></A>