Hey guys, currently I'm using Alpha ABS and am having some issues with my enemies view radius. For some reason, the enemy can only "see" the player if the player is less than 20 tiles away (I figured that number out through testing), even if I specify the view radius to be a larger number. Any view radius integer less than 20 (ex: <viewRadius: 11>) works exactly as it should, just once that number gets passed (ex: <viewRadius: 30>), the enemy will still only notice me if I am within 20 tiles of it. Hopefully this isn't a bug and I'm just making some stupid mistake. Any help from anyone familiar with Alpha ABS would be much appreciated! I'll include screenshots of both my enemy and its event below. Thanks!
MV Trouble with Alpha ABS view radius (RPG Maker MV)
Javascript/Plugin SupportMoved to: Plugin Support
Please provide a link to the plugin
Please provide a link to the plugin
Alpha ABS [MV] – KageDesu Workshop
Just a guess, but try getting rid of the spaces after the :
Sounds more like an intended (but in your case unwanted) feature, to me. If you're sure the trigger (at numbers above 20) is exactly 20 tiles away, and not something like "onscreen/offscreen", then try doing a search in the plugin for "20" (without "quotes"). See anything that looks relevant? If so, post the entire block of code that includes it here and maybe we can help you modify it to accept higher numbers. Do the same for "21" and "19" if you don't see anything for 20.
Hey, so I went through the plugin and searched for all cases of 19, 20, and 21. Unfortunately, I did not see anything that seemed to relate to limiting the amount of tiles the enemy can see the player from. It's weird because the plugin allows you to specify a view radius larger than 20, so presumably there shouldn't be anything intentionally blocking the user to input larger integers. Idk maybe I missed something when reading through the code though? I'll include a link to the code below if you want to double check but I didn't see anything. Also, thank you for the help!
unfortunately that doesn't make a difference
whoops, that was supposed to just put the link not the entire script
I realized that the 20 tile limit is not associated with my abs plugin, it's actually a problem with regular events. For some reason, the vent will not trigger if the player is more than 20 tiles away. Does anyone know why?
Double-post notice: @mkelly527
I did wonder if that might have been it. There is a check that only runs events if they are on the screen or near the screen or the player. It is to reduce lag. Is your event off the screen?
I did wonder if that might have been it. There is a check that only runs events if they are on the screen or near the screen or the player. It is to reduce lag. Is your event off the screen?
Yes, the event is off the screen. I modified the check to make it so events can actually run when they are off screen, however, it seems that Alpha ABS has a similar check built into it, which I have not been able to find and modify yet.
Original thread: https://forums.rpgmakerweb.com/threads/trouble-with-alpha-abs-view-radius-rpg-maker-mv.136937/