Hi Casper, I'm looking to find a plugin that can make an enemy intelligently chase the player on maps say 125x125 without killing the frames, can you elaborate more on smart aproach? Does it make the event logically attempt to navigate itself to the player? Do you also know if this plugin has any notable conflicts with other plugins such as the visustella more commonly?
Do you think event's chasing the player could also incorporate diagonal movements? or a wait option forcing events to change direction in place?
Hi, Smart Approach just means it will always choose the "Move Towards Player" option in its move route. By default, the normal Approach option has a 4/6 chance of moving towards the player, a 1/6 chance to move randomly, and a 1/6 chance to move forward. It does not change how intelligent each move towards the player is.
This plugin does not do diagonal movements, but I would think if you already have a plugin that does diagonal movements it would also work for this one as it is calling the default movement options.
Hi again, smart approach sounds promising, but if it's "towards player" as you put it, does that mean that if the player is behind an obstacle directly in it's path- it won't navigate around it? I noticed also with the default approach the event moves backwards- that must be the random move you spoke of.
Do you have any plans to include a diagonal movement function? Far as I can tell the only plugin out there that allows this is ocram's move core but that unfortunately has unpredictable movements much like the default approach- and it also seems to interfere with other plugins that give diagonal commands- but not automated.
Yes it will not use pathfinding, it just tries to increase its x/y values to get closer to the player's x/y values. The difference is that it does not move randomly sometimes.
Yes diagonal movement already exists in the base engine so it's not too much to add those commands to the movement routes the plugin creates. In a future update I can look to create diagonal-movement enabled versions of all of the existing movement options. Thanks for the suggestion.
This is a really cool idea! Does the smart avoid also work with other events? Is there a way to set the minimum/maximum amount of space to leave between them?
Hi, no, the Smart Avoid will always attempt to move away from the player without depending on the distance, the other avoid move type has only a 2/3 chance to move away from the player and the other possible movement rolls are the event will move randomly or move forward.
I can add a minimum distance option before an event starts trying to avoid the player to a future update, thanks for the suggestion.
← Return to plugin
Comments
Log in with itch.io to leave a comment.
Hi Casper, I'm looking to find a plugin that can make an enemy intelligently chase the player on maps say 125x125 without killing the frames, can you elaborate more on smart aproach? Does it make the event logically attempt to navigate itself to the player? Do you also know if this plugin has any notable conflicts with other plugins such as the visustella more commonly?
Do you think event's chasing the player could also incorporate diagonal movements? or a wait option forcing events to change direction in place?
Hi, Smart Approach just means it will always choose the "Move Towards Player" option in its move route. By default, the normal Approach option has a 4/6 chance of moving towards the player, a 1/6 chance to move randomly, and a 1/6 chance to move forward. It does not change how intelligent each move towards the player is.
This plugin does not do diagonal movements, but I would think if you already have a plugin that does diagonal movements it would also work for this one as it is calling the default movement options.
Hi again, smart approach sounds promising, but if it's "towards player" as you put it, does that mean that if the player is behind an obstacle directly in it's path- it won't navigate around it? I noticed also with the default approach the event moves backwards- that must be the random move you spoke of.
Do you have any plans to include a diagonal movement function? Far as I can tell the only plugin out there that allows this is ocram's move core but that unfortunately has unpredictable movements much like the default approach- and it also seems to interfere with other plugins that give diagonal commands- but not automated.
Yes it will not use pathfinding, it just tries to increase its x/y values to get closer to the player's x/y values. The difference is that it does not move randomly sometimes.
I see, I would be interested to try it out but I am curious if diagonal movements could be something implemented?
Yes diagonal movement already exists in the base engine so it's not too much to add those commands to the movement routes the plugin creates. In a future update I can look to create diagonal-movement enabled versions of all of the existing movement options. Thanks for the suggestion.
This is a really cool idea! Does the smart avoid also work with other events? Is there a way to set the minimum/maximum amount of space to leave between them?
Hi, no, the Smart Avoid will always attempt to move away from the player without depending on the distance, the other avoid move type has only a 2/3 chance to move away from the player and the other possible movement rolls are the event will move randomly or move forward.
I can add a minimum distance option before an event starts trying to avoid the player to a future update, thanks for the suggestion.