Page 1 of 1

[RC1] LOS annoyance

Posted: Thu Dec 20, 2012 3:01 am
by HousePet
.tp
t.t
xt.

In this case were p is player, . is empty, t is tree and x is enemy; p cannot see x.

When targetting it draws the line as:
..p
.o.
bb.

Where o is the open los and b is blocked los.
I would expect it to be:
.tp
tot
ot.

Re: [RC1] LOS annoyance

Posted: Thu Dec 20, 2012 3:11 am
by tiger_eye
I believe this behavior is correct. It is equivalent to the second image in this post that describes the algorithms:

http://forums.te4.org/viewtopic.php?f=45&t=35232

Note that the behavior could be changed and "p" could see and target "x" if permissiveness is set to, say, 0.01 instead of 0.