How do you guys do forest edge tiles? Is there a script or plugin to do this?

So the top two arrows show how I start out with and the bottom two arrows show how it should look after I did it manually.
I was just wondering if there is a plugin or a script to automate the process of adding the proper edge pieces. Doing it manually is a chore.

2020-08-23_13-28.png
Welcome to mapping my dude XD
As far as I know there's no easy plugin fix.
If you do not want to deal with that, consider using the darker forest autotiles in A4.
Yeah, I do all mine manually, and it's always a huge pain. But the grind is all part of the RPG Maker experience.
You still have to do it manually even with the autotiles.

I toyed with writing a plugin to do it, but it never went anywhere because I didn't want to risk removing lower layer stuff and having to fix it manually.

But now, with MZ and manual layers ... might be a different story
You still have to do it manually even with the autotiles.

I toyed with writing a plugin to do it, but it never went anywhere because I didn't want to risk removing lower layer stuff and having to fix it manually.

But now, with MZ and manual layers ... might be a different story

haha, I was actually thinking of writing something like that. I'm just looking at the map json structure to see how it is all saved.

So from what I have learnt just now is that data is an array that holds all the tiles.

If my map is 17 * 13 I have a total of 221 tiles.

The data array has all layers after each other.
  • The first 221 slots are taken by the A layer tiles.
  • ? 221 empty slots (whats in here?)
  • B 221 slots
  • C 221 slots
  • ? 221 empty slots (whats in here?)
  • R 221 slots

I checked which tile id the tree parts have

The Single Tree looks like this:
112 113
120 121

The multi tree looks like this:
114 115
122 123

Before:
2020-08-23_14-17.png


After:
2020-08-23_14-18.png


I might also give it a try to write a script to edit the json itself.

I was just wondering, is it possible to refresh the map inside the RPGMaker without having to restart the RPGMaker?
The first 4 layers are all tile IDs. The second layer is where you have an autotile over an autotile and the bottom one shows through the transparent areas on the first one. Like the long grass or the fences.

Layer 5 is the shadow layer, and the top layer is regions.

The way MV mapping works is that these tiles would go onto layers 4 and 3, depending on what was already there. If 4 is blank, you'd put it on 4. If 4 has something there already, you'd move that onto layer 3, then put your new tile onto layer 4. If layers 3 and 4 both had something on them already, and you were to draw with one of these tiles in the editor, what was on layer 3 would be removed/lost, what was on 4 would be moved to 3, and your new tile would be put on layer 4.

There is no way to edit the map externally and refresh in the editor with MV. MZ, however, WILL do that! It's safer to save in MV then close the editor, then do your external editing, then reopen.
The first 4 layers are all tile IDs. The second layer is where you have an autotile over an autotile and the bottom one shows through the transparent areas on the first one. Like the long grass or the fences.

Layer 5 is the shadow layer, and the top layer is regions.

The way MV mapping works is that these tiles would go onto layers 4 and 3, depending on what was already there. If 4 is blank, you'd put it on 4. If 4 has something there already, you'd move that onto layer 3, then put your new tile onto layer 4. If layers 3 and 4 both had something on them already, and you were to draw with one of these tiles in the editor, what was on layer 3 would be removed/lost, what was on 4 would be moved to 3, and your new tile would be put on layer 4.

There is no way to edit the map externally and refresh in the editor with MV. MZ, however, WILL do that! It's safer to save in MV then close the editor, then do your external editing, then reopen.

Hey thanks for your reply! Very unfortunate that MV doesn't let you refresh the maps 🙁 I already got the MZ licence when I bought the MV/MZ bundle a few days ago but MZ is not available for linux yet so i'll just stick with MV for now and learn more about it!

Shadow layer, right! I totally forgot about that one. And also the stacking makes sense! Thanks for clearing that up!

I started working on a small nodejs script that checks the neighbouring tiles of the "multi tree"-set (I just call it that) and replaces them accordingly. I guess it could also be used for MZ if map json structure is the same.
I guess the script is useful when making the rough layout of a map. As you said, using it at a later point might destroy details.
MZ's map json structure is the same as MV's, but tiles can be put on ANY layer, so layers 1, 2, 3 and 4 could ALL have ground/auto tiles, or they could ALL have B-E tiles.
I made a first version of a tool that can add the edges when you draw with middle tiles. Its not perfect but as long as you don't draw like a madman it works pretty consistent.

Here are some clips where I gave it a try. Anyone interested in a tool like this?





Yes, it’s really useful, it’s always painful to replenish the edges manually

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-guys-do-forest-edge-tiles-is-there-a-script-or-plugin-to-do-this.125830/