Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Monsters detecting players (Was: Re: CF: hiding bug fix...)
>
> >At least with the older code, you can use hiding to see what is
> >looking for you. It's a good way to find out what monsters are around
> >the corner. It seems strange for a monster that is on the other side
> >of a wall to look for and even find me hiding in the shadows.
>
> Well, there seems to be two problems here. It is claimed that monsters
> [snip]
> around corners. So I ask whether monsters really are able to see through
> walls where there is no path to player or are monsters able to see around
> corners (possibly several corners)?
>
As Scott points out, a monster has more than just the linear
sense of smell by which to detect the player. The description
of the monster attempt to detect the player is misleading ---
"XXX looks near your hidding place", in reality, XXX could
be using any number of "senses" by which to detect the player.
Any suggestions on a new phrase to use?
> Second apparent problem is that a player should not be able to locate
> monsters by seeing the actions of a monster the player has not seen. At
> [snip]
I agree, the player shouldnt be able to tell if the monster
is "looking" for the player IF the player can't see the monster.
It occurs to me right now, that we could check the player
los feild to see if the square the monster is standing in (or
multiple squares if the monster is multi-square) is blocked
and or lit, etc. THis way we have a fast way to tell if the
player can see the monster. Ill try to program it today and
resubmit a patch.
-b.t.
[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]