- Joined
- Feb 27, 2019
- Messages
- 29
- Reaction score
- 10
- First Language
- English
- Primarily Uses
- RMMV
Hey, folks!
I want to get into plugin development, so I figured I'd start out by trying to alleviate an issue I have that I can't find a plugin for. Personally, I hate individually marking tiles with 0, X, * because I have far more X tiles than anything else. So I want a plugin that can either mark the entire tileset X with a script or command, or (more likely) do that on import by changing the default passage from O to X.
I have found the documentation for the flags here: https://kinoar.github.io/rmmv-doc-web/interfaces/rpg.tileset.html
The array info is pretty straightforward: 0x0001: Impassable downward 0x0002: Impassable leftward 0x0004: Impassable rightward 0x0008: Impassable upward 0x0010
Or so I thought.
When looking at the Tilesets.json, I can find no indication of these flags or how they're used. I see them (I think) in various MapXXXX.json, but again, don't know how to quite get that info into a plugin script. Both because I am crazy new to RMMV scripting and because these arrays are ginormous.
I put this in the Learning JavaScript forum instead of the Plugin Request because I'm not so much interested in the solution to the problem as I am the fundamental how and why of the scripting behind solving it. If that makes sense.
Thanks, y'all!
I want to get into plugin development, so I figured I'd start out by trying to alleviate an issue I have that I can't find a plugin for. Personally, I hate individually marking tiles with 0, X, * because I have far more X tiles than anything else. So I want a plugin that can either mark the entire tileset X with a script or command, or (more likely) do that on import by changing the default passage from O to X.
I have found the documentation for the flags here: https://kinoar.github.io/rmmv-doc-web/interfaces/rpg.tileset.html
The array info is pretty straightforward: 0x0001: Impassable downward 0x0002: Impassable leftward 0x0004: Impassable rightward 0x0008: Impassable upward 0x0010
Or so I thought.
When looking at the Tilesets.json, I can find no indication of these flags or how they're used. I see them (I think) in various MapXXXX.json, but again, don't know how to quite get that info into a plugin script. Both because I am crazy new to RMMV scripting and because these arrays are ginormous.
I put this in the Learning JavaScript forum instead of the Plugin Request because I'm not so much interested in the solution to the problem as I am the fundamental how and why of the scripting behind solving it. If that makes sense.
Thanks, y'all!