Smart Jump (YEP)
This is a plugin created for RPG Maker MV.
For help on how to install plugins, click here.
For help on how to update plugins, click here.
Got errors with your RPG Maker MV plugin? Click here.
This plugin is a part of the Yanfly Engine Plugins library.
For users saying that Smart Jumps bypass On Touch Events and Poison Tiles, they do not. This is not a bug but rather the way events work. Depending on how long you set the wait time after a Smart Jump, it may bypass an ontouch event or not. I found the ideal wait time is 15 frames after a Smart Jump effect. You would encounter the same “problem” with events if you don’t time it right.
Here’s a snap of it working:
It’s all about the way you set up your events. </nowiki>
For those that may have made their own Jump system before with events, you may have come across the problem of being able to jump off the map, into places you're not supposed to go, or even on top of events that shouldn't be allowed to go on top of. This plugin helps faciliate eventing a Jump system for your RPG Maker game by introducing Smart Jumps. Smart Jumps will allow you to jump over areas, but will limit you from jumping on top of places you can't go, on top of normal priority events, and set up boundaries (such as walls) that you normally cannot jump past.
Setting Up Smart Jumps
Use the Plugin Command 'SmartJump' to make the player character perform a Smart Jump. Inside the plugin parameters, mark the Illegal Regions your player cannot jump past or on and then draw them on the map. Alternatively, you can mark certain tile types within the Database > Tileset tab and use Terrain Tags to restrict where the player cannot jump.
For those of you who would like to make a height factor for your maps and would like to maintain a jump system with that height factor, Equal Regions will help out with that. List all the region ID's you'd like to use to mark height within the 'Equal Regions' plugin parameter. You can insert multiple regions. Separate them with a space. When the player is standing on a region that's listed in the Equal Regions plugin parameter and attempts to smart jump onto an area blocked by tileset passability, if the region the player is jumping from is the same region ID as the region the player intends to go through, the jump becomes legal.
RPG Maker MV's editor is unable to allow for custom traits/properties that a game dev may wish to associate with a database object, event, map, etc. Notetags are used to work around such limitations by allowing the game dev to tag certain traits/properties using specific Notetags declared by the related plugin.
Here is a list of Notetag(s) that you may use.
You can use these notetags to set up what Terrain Tags that the player can't jump on or past. Tileset Notetags: <Illegal Jump: x> <Illegal Jump: x, x, x> <Illegal Jump: x to y> Replace x with the terrain tags you want to forbid the player from going past or landing on while doing Smart Jumps. Event Notetag: <Illegal Jump> This will prevent the player from being able to jump on or over this event while doing Smart Jumps. If the event is set to Through mode, then the player can jump through or onto the event.
Version 1.03: - Updated for RPG Maker MV version 1.5.0. - Added 'Illegal Regions List' and 'Equal Regions List' parameters for 1.5.0 simplified usage. Version 1.02: - Fixed a bug that allowed you to perform a smart jump from above a tile that requires equal regions. Version 1.01: - Added 'Equal Regions' plugin parameter. This is a unique region area. More of it will be explained in the instructions. Version 1.00: - Finished Plugin!