Yanfly's EventChasePlayer plugin makes it so events will chase you if you are in their line-of-sight.
The problem is that events can see through walls (or any impassabe tiles). Well, DreamX wrote a short script that fixes that by checking to see if the tiles are impassable.
Here's the page where I found that plugin.
And here's the plugin itself.
It works perfectly. The only problem is that the event's "cone of vision" is only 1 tile wide. In the EventChasePlayer plugin, the cone of vision goes out at a 45 degree angle. This picture illustrates what I mean:
These are examples based on a "this._chaseRange" of 10 (event will start chasing when you are within 10 tiles from it). The Event on the left shows the original cone of vision (i.e. if you step on a snowy tile, the event will be alerted). The event on the right shows DreamX's cone of vision, which means you have to get directly in front of the event in order for it to react to you (or to the event's immediate side).
I would like something like DreamX's fix, but that retained the original 45 degree cone of vision. I tried contacting DreamX, but his profile page says he was last seen January 2017, so it doesn't look like he's active anymore.
I have no idea how difficult something like this would be, but, for me personally, if making the cone of vision like the one above/left is too difficult or time consuming, then a cone of vision that had a latteral limit of, say, 4 or 5 spaces, would also be very helpful. I don't know if that would make it easier or not, just thought I'd mention it.
Coupled with Yanfly's EventChaseStealth (and, in my case, Yanfly's MoveRouteCore), this would allow people to make much better and more intuitive stealth games.
Thanks!
The problem is that events can see through walls (or any impassabe tiles). Well, DreamX wrote a short script that fixes that by checking to see if the tiles are impassable.
Here's the page where I found that plugin.
And here's the plugin itself.
It works perfectly. The only problem is that the event's "cone of vision" is only 1 tile wide. In the EventChasePlayer plugin, the cone of vision goes out at a 45 degree angle. This picture illustrates what I mean:
These are examples based on a "this._chaseRange" of 10 (event will start chasing when you are within 10 tiles from it). The Event on the left shows the original cone of vision (i.e. if you step on a snowy tile, the event will be alerted). The event on the right shows DreamX's cone of vision, which means you have to get directly in front of the event in order for it to react to you (or to the event's immediate side).
I would like something like DreamX's fix, but that retained the original 45 degree cone of vision. I tried contacting DreamX, but his profile page says he was last seen January 2017, so it doesn't look like he's active anymore.
I have no idea how difficult something like this would be, but, for me personally, if making the cone of vision like the one above/left is too difficult or time consuming, then a cone of vision that had a latteral limit of, say, 4 or 5 spaces, would also be very helpful. I don't know if that would make it easier or not, just thought I'd mention it.
Coupled with Yanfly's EventChaseStealth (and, in my case, Yanfly's MoveRouteCore), this would allow people to make much better and more intuitive stealth games.
Thanks!