MBS - FPLE MV

Those are caused by the same issue, which really can't be fixed with how this is built (the lag can be mitigated at best).

The last is caused because the plugin has to clean up the 3D map every time you go to a different scene, as a... quirky side effect of using an external library to render without really integrating with it. It has to rebuild the map once you go back to the map scene.

The background turns black for the same reason: you can't use RPGMaker's normal screen-snapping with it, so it can't take pictures for the pause menu it battle backgrounds (it would crash if you tried to force it).

So, if map construction can be more efficient, the lag might be less notable. The black background, though, you're best off using something to replace it with a picture background that looks nice instead.

Aaah I see, well that's fine, I'm just glad there's an actual fple map for MV, also when changing wall height the textures must be seamless correct?
It just tiles the textures, so yeah you should make sure it's seamless vertically.
Howdy, does anyone has a clue how to make a feature which was done in similar plugin FPLE VX Ace? How to set event sprites, so it would not always face the player, instead you can choose the direction. I use a lot of events, that should be static (doors, cages, moving platforms etc). Please help! I mean if it was possible for VX Ace, it should be possible for MV too, right?
@piksalh Use a spriteset with "!" in the name. It's used for the door/lever/button sprites, so it was re-purposed to do that here.
@piksalh Use a spriteset with "!" in the name. It's used for the door/lever/button sprites, so it was re-purposed to do that here.

I tried, but it changes nothing. Example: I need the doors always face to north. with or without "!", the door graphics always faces the player. When player is on the nearest left tile from the doors event, the sprite graphics faces west. When player is next to doors event and turns left or right, door graphics does the same.
Oh, that's what you meant, sorry. It's probably better to clear things up a bit, to reduce further confusion. Since you're in a 3D space, there's actually two directions:
  • The direction the event is actually facing, the one you normally use in RPGMaker is the cardinal direction. We'll refer to that with north/south/east/west.
  • After accounting for the camera's position, it calculates the relative direction, new to FPLE, which it uses to tell what frame it needs to draw. We'll refer to this with front/back/right/left.
If you have a ! in your filename, FPLE will ignore the relative direction, and always use the cardinal direction to pick the frame. This is used on things like doors, levers, and the like, because the "direction" is actually the "state" of the object- open/closed, flipped, pressed, etc. Since it doesn't use the relative direction, it gives the effect of "always facing the player". There's plenty of reasons you might want to use this- the floating crystals from the default set, camp fires, anything that doesn't change much from various angles.

Removing that quirk requires a bit more effort, because if you look at the image set, it probably only has images from the front. If you remove the !, it would just try to use the various states as directions, and really doesn't have any meaning in the game. Instead, you'll have to make new images! Let's work with the example of a door: Just like making a character, you'll have to make more images of your door for each relative direction: You already have the front, now you need to make side and back views of the door.

Now at this point, you've used up all your directions for the sprite to make a closed door. You'll have to make another "character" on the same sprite sheet for each additional state- each one with all four relative directions. If they aren't on the same sprite sheet, it won't work very well- FPLE doesn't like loading in a new sprite sheet, but you can change between other sprites on the same sheet.

Lastly, you'll probably want to set the door to Direction Fix so it doesn't face the player when they try open it, and instead of the move route changing directions (as in the Door template event), you need to change the sprite.

Due to the way sprites work, the door will still seem to "turn" very slightly if viewed from an angle, and will always be centered in the tile you place it on. Those are just the limitations of how the FPLE plugin was built, changing them would involve making a new plugin from scratch.
Thank you for a comprehensive explanation! It kind of works without "!". But I still can't put events as objects on walls, because they are in the middle of tile, not in the front. Any chance to set an event as a button on the wall? I can't use wall graphics for that since most of the times I need an ability to change a picture for such objects and I can't change wall graphics on the go.
Not feasibly, for one simple reason: Sprites aren't actually flat surfaces in the 3D world, they're like... stickers on the screen. So if I changed the code to put a door at wall position, at any angle other than dead on front it would blatantly clip into parts of the walls or stick out.

My suggestions: Either make the door inside the gap such that it's a recessed door (which are a thing, for example in most hotels), or use a non-animating wall tile as teleporter with a fade to black and a door opening sound. Neither is quite ideal, I know.
Okay, I want to take part in this great plugin!

I wanted buildings in an exterior scene, so I needed 1-cube-height in an otherwise room-height-quite-high scene.

I modified the script so, that it uses region IDs: When the region of a wall tile is set to 1, the tile is just one cube high (doesn't work for other numbers... but could be an idea, maybe?)

Second edit: terrain ID "2" is now used for small cubes of 0.25 height, for tables and such things.
The problem is: The ceiling above the table is not rendered per default, it could be possible to do, but... with which texture? the texture of the table?
I think it is time, that there should be an option to set a ceiling texture. I just have no idea, how that could be possible...


The region ID 1 and terrain ID 2 are fix, because I dont know how to set parameters. Maybe someone could edit the script to use them, if needed.

EDIT: I uploaded a screenshot for the world to see the ceiling problem. I need to tell the script, that that table is in a stone room...
Not feasibly, for one simple reason: Sprites aren't actually flat surfaces in the 3D world, they're like... stickers on the screen. So if I changed the code to put a door at wall position, at any angle other than dead on front it would blatantly clip into parts of the walls or stick out.

My suggestions: Either make the door inside the gap such that it's a recessed door (which are a thing, for example in most hotels), or use a non-animating wall tile as teleporter with a fade to black and a door opening sound. Neither is quite ideal, I know.

Thank you for an explanation. So... No chance to easily mod it and make happen movable objects that does not behave as stickers on the screen but instead has surfaces as the walls?
Not easily. Presently, everything dynamic is a sprite, and everything static is a 3D model. Movable 3D models are a substantial upgrade to the current plugin design- not impossible obviously, but definitely not easy to do.

@josaaku the system presently uses a single texture for the entire vertical column of the map, floor, wall, and ceiling alike. I plan to figure out a way to change that, or you're welcome to investigate yourself. Some of my research

If you look in the code where it creates ask the cubes, you notice it always assigns the same texture to the cube, and the texture is determined by the tile ID on the RPGMaker map. You could make it look to a different texture for the ceiling assuming you can think of a place to get that data from- maybe a terrain flag, map notetag, region ID, something like that.

Good luck, and do post any useful solutions you figure out!
Not easily. Presently, everything dynamic is a sprite, and everything static is a 3D model. Movable 3D models are a substantial upgrade to the current plugin design- not impossible obviously, but definitely not easy to do.

I see. Then how about changing wall graphics without chaning map? With event, for example? Is it possible?
good day .. so im a little bit confused.
Many people are tinkering arround with this plugin and im deeply, deeply gratefull for that because you're helping my dream come true.

But im confused at the moment .. Which version should i use ? Because (it looks like) some people releasing their own modded versions in here ? Which one is the most advanced and/or recommended ? sorry for bothering you ...
@piksalh Currently, you can't change the graphic of a given wall because the textures are constructed at map creation- basically, the texture is part of the map. I don't know how it would work right now, but I wouldn't say it's impossible. Just a mystery.

@Kanzlerino I put out a version a few pages back that adds some nice features- I don't know if anyone else has built directly on that, or if the other branches are their own versions. It'd be nice if there were a more central repository than just looking in the thread for the latest posted version, though.

Is it acceptable to make a new thread for modifications if it's still mostly Masked's work? I don't think he's continuing work on it, but...
Where is the version you worked on?
I was looking and i don't see it.

Here it is, from around the middle of page 6.
anyone got a minimap to work with this? I tried silvers and and biters had no luck. (they both work fine without FPLE enabled)

iavras works but no FOW. i've kept my dungeons pretty tiny up till now but want to have a bigger environment to get lost in but that's hard to do without a map to help.

@Doktor_Q I finally got around to using your update, did you ever add the ceiling region fix to your version? that was the first thing I noticed when I loaded it up, my ceilings stopped working. someone posted a fix a while back for that, i suppose I could figure out how to implement it into your branch.

EDIT: ok after derping around I got Lians edits into Q's version and i have both of their improvements now. *whew*

was able to get my trick to work where i just use a single row and three columns for the event images. it acts strange when you have 4 rows.
I might have missed it.
But did anyone ever add a way to set things up so that only selected maps are first person?
I might have missed it.
But did anyone ever add a way to set things up so that only selected maps are first person?
It's part of the main plug-in, it wasn't at first but became part of the main plug-in in last July's update to the plug-in.
I found it, but it's not working.
I have the babylon js in the libs
I made the texture folder, the tileset.
Everything is set up.. it should work.. but it's not.
Where exactly do i put <FPLE>?
Do i put it in the notes space for the map it's self?
I gotta be missing something.

Original thread: https://forums.rpgmakerweb.com/threads/mbs-fple-mv.57363/