RMMV Move Route Tool

splash2.png

​
The RMMV Move Route Tool is a little tool I programmed because creating event move routes always felt tedious to me. Imagine an NPC that should walk along a set certain route, e.g. walking along a street or walking a specific way in a cutscene. Inputting the individual move route commands by pressing the "Move Up", "Move Down" etc. buttons for longer routes often was erroneous and no fun.

With this tool, you can define a move route like this:
1. Select your event, press CTRL + SHIFT + M
2. Press arrow keys to define your route (or backspace to undo the last input or R to automatically add a backwards route)
3. Press CTRL + SHIFT + M again; a move route command for that event is now added to your clipboard
4. Paste the move route into your event

This video shows the tool in action:


In order to run this tool, you need to have Java (>= 1.8) installed on your computer. I only tested it on Windows, but feel free to test it on other systems and report it. Since I currently don't plan on extending this program, I didn't create a Github repo -- but you will find the source code inside the download folder.

You can find the download (executable and source code -- see ReadMe.txt for more info) in the attachments.
This is very awesome.

If you have a larger map, will it make the map scroll as you move?
Thank you 🙂

As it's basically just capturing the arrow button keystrokes, and they move the selected tile in RMMV, the map will be scrolled one tile when the next tile is outside of the screen. But you can also just scroll the map as you see fit – between the first CTRL + SHIFT + M and the second one, you can press or click or do anything you want, only the arrow keys (and backspace) will be captured.
Underrated piece of gold.
This is amazing! Move routes are a pain, especially when you accidentally click move left instead of move right.
Great work on this! Thank you for sharing it.
Hello! I really appreciate this super simple but super useful tool, great job!!
I'm also a plugin creator of RMMV, and I have always wanted to create a tool like this one(tools for people to simple creating complex commands).
Can I reference your code?
Thanks for you feedback, much appreciated!

Can I reference your code?
Yes, feel free to do so 🙂

Edit:
I just uploaded a new version 0.1.1 that fixes a bug when the tool would stop responding after too much input when not capturing (> 512 arrow keys -- which can happen fast if you are playtesting).
Version 0.2.0:
I added a new functionality for automatically creating a backwards route.

When in capturing mode, pressing the key R adds a backward route to the already input route, e.g. if you pressed ↓ → → ↑ ↑ ↑ ←, it will complete it to ↓ → → ↑ ↑ ↑ ← → ↓ ↓ ↓ ← ← ↑).
Technically, this means that to the already input route, a reversed copy in which every arrow is converted to the opposite direction, will be added - or simpler: your NPC will go back to where it started moving.
Version 0.3.0:
Capturing the move route on an event now creates a move route for that event (instead of "this event" which was the old behavior).

It will also work for the player's starting position.

gxpsb.png


Note:
In order to accomplish this, this program simulates a CTRL + C press. Due to technical limitations, this takes about one second. This means that when you are fast with typing the arrow keys after the shortcut, the event id cannot be retrieved and thus it will default to "this event". You can use that to your favor if you want to create a move route for "this event".
Nice, definitely will consider using this the next time I do cinematic scenes.
@Chocobo eggs ARE gold! 🙂

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-move-route-tool.105342/