This is the plugin: https://forums.rpgmakerweb.com/index.php?threads/remove-lerping-from-movement.96831/#post-879195
It changes movement so that characters "teleport" or "snap" to adjacent tiles like in old computer games like Ultima, without any animation.
The problem is that touch-based events below characters and random encounters stop working. After digging through the core scripts, I believe I found where the hangup is occurring, but I have no idea how to apply a permanent fix.
Here is where I think the problem is, in rpg.objects:
I've tried various things, but with my lack of real coding knowledge, I can't figure out a permanent fix. The closest I've come is copying "this.checkEventTriggerHere([1,2])" and "this.updateEncounterCount()" to the plugin, where I can get below-touch and random encounters to work within 1 step, but crashing afterwards due to them not being proper functions. I've tried copying the respective functions over to the plugin, but this still doesn't work. It's so close, I just need a little help putting together a permanent fix.
It changes movement so that characters "teleport" or "snap" to adjacent tiles like in old computer games like Ultima, without any animation.
The problem is that touch-based events below characters and random encounters stop working. After digging through the core scripts, I believe I found where the hangup is occurring, but I have no idea how to apply a permanent fix.
Here is where I think the problem is, in rpg.objects:
Code:
Game_Player.prototype.updateNonmoving = function(wasMoving) {
if (!$gameMap.isEventRunning()) {
if (wasMoving) {
$gameParty.onPlayerWalk();
this.checkEventTriggerHere([1,2]);
if ($gameMap.setupStartingEvent()) {
return;
}
}
if (this.triggerAction()) {
return;
}
if (wasMoving) {
this.updateEncounterCount();
} else {
$gameTemp.clearDestination();
}
}
};
I've tried various things, but with my lack of real coding knowledge, I can't figure out a permanent fix. The closest I've come is copying "this.checkEventTriggerHere([1,2])" and "this.updateEncounterCount()" to the plugin, where I can get below-touch and random encounters to work within 1 step, but crashing afterwards due to them not being proper functions. I've tried copying the respective functions over to the plugin, but this still doesn't work. It's so close, I just need a little help putting together a permanent fix.