Re: What's up with LOS?



Jude H wrote:
Ray Dillinger <bear@xxxxxxxxx> wrote:

Just to clarify: I wasn't meaning to indicate that recursive
shadowcasting is the be-all and end-all of LOS, just that I don't
forsee any need to replace the underlying LOS algorithm in my own
project.

Yah, I was mostly posting a "me too" about having my needs met
by my current LOS algm, not being partisan about which one it is.

This also means that a monster standing in any
square that the player has ever seen, can just check the eight
squares next to it for more recently seen squares and squares seen
from a shorter distance and make a local decision in constant time
about how to chase and follow the player.

I had not considered the AI implications. Thankyou! :)

Uh-oh... warning: If you're introducing autochase to an existing
game you will need to rebalance. A lot. That said, you're welcome.

Bear

.



Relevant Pages

  • Re: Alternatives to LOS
    ... check to see if the distance between the actor and the player is ... algorithm to determine lit tiles. ... player's fixed LOS and deactivates the tiles. ... Tweaking the distance window will be easy, ...
    (rec.games.roguelike.development)
  • Re: Pike give spot to LOS ???
    ... then the Pike player is assuming that the LOS ... We see two separate approaches to the game and two potential outcomes. ...
    (rec.sport.disc)
  • Re: Fast simulated monster FOV
    ... There is a full-scale LOS class which calculates LOS in a rectangle ... The player has an instance of it. ... It goes at least as far as any ranged attack. ... By symmetric, I just mean that if a monster is in player's LOS, the ...
    (rec.games.roguelike.development)
  • Re: Fast simulated monster FOV
    ... There is a full-scale LOS class which calculates LOS in a rectangle ... The player has an instance of it. ... monsters access to it in order to compute optimal squares they should ... This method of using los for monster-monster interaction is similar to ...
    (rec.games.roguelike.development)
  • Re: Rendering a Climbing Player
    ... One important thing I should bring up here is that the player will need ... of when there are enemies within your LOS. ... could change color based on whether it's friendly or hostile (green if ... instantly see where a monster is when the monster indicator lights up ...
    (rec.games.roguelike.development)