MBS - FPLE MV

I tried this one just now. Had to change some things that make reference to sprites but managed to make it work. It lags a little though.
https://forums.rpgmakerweb.com/index.php?threads/silvers-advanced-minimap-now-with-fog-of-war.51307/

I've a little question. Is this FPLE going to render things like event graphics and the likes, as the old VXA one did? Or anything remotely similar? Does it already do? How about doors or dissapearing walls? Can it be done?

Salut!
Pft.. it's nothing like the one that was made for Ace... in all honesty the Ace one is much more feature rich and you can manage to do a LOT more with it.
I'm hoping one day either this plugin can do the same things, or someone makes a better one.
The potential for this (or another) plug-in to do more is there, RPG Maker MV by the nature of removing engine limitations, working within javascript, and with the the base of the engine working with OpenGL and such things can 100% support a 3D system that's more advanced than VX Ace's. But it won't happen unless someone/some people put in the work to make it happen, and that's up to individuals if they want to try.

Of course, RPG Maker VX released in 2007 with VX Ace releasing in 2011, and RPG Maker VX Ace's 3D system only came into existence and was fleshed out several years after VX Ace released and much longer after VX released. MV has only been out for a little over a year and a half at this point, so that's something to certainly consider.
I tried this one just now. Had to change some things that make reference to sprites but managed to make it work. It lags a little though.
https://forums.rpgmakerweb.com/index.php?threads/silvers-advanced-minimap-now-with-fog-of-war.51307/

I've a little question. Is this FPLE going to render things like event graphics and the likes, as the old VXA one did? Or anything remotely similar? Does it already do? How about doors or dissapearing walls? Can it be done?

Salut!
How do you manage to work it? Im getting a TypeError undefined is not a valid. It only works in normal maps.
Yeah, that undefined comes from this line:
Code:
Silv.Minimap.VehicleCharacterSprites[vehicle._type] = this._spriteset.findCharacterSpriteReversed(vehicle);
Thing is, apparently this FPLE removes all character sprites (as in, the instanced objects) since it's not using them at the moment. That findCharacterSpriteReversed method is trying to access to the vehicle sprite, so it gets an undefined reference.

Just comment out that line.

Next, there is another line you'll encounter an issue with. Somewhere around this line:
Code:
if (playerSpr._bushDepth == 0 || playerSpr._lowerBody === null)
This one is trickier, but it's the same issue. It tries to access a "player sprite", which doesn't exist either, again due to this FPLE implementation deleting all character sprites instances. So all we need is to return the correct values in order to be able to see our player in map.
I pretty much "rewrote" the entire function. Then added a small variable just over the function (it's a very messy approach but I was testing things out).
Code:
//Let's define some random variable just to access a custom character sprite with some marker.
var markerBmp=ImageManager.loadCharacter("marker");
//----------------------------------------------------------------------------------------------------
// Get #Player #Blip Bitmap
//----------------------------------------------------------------------------------------------------
Window_Minimap.prototype.getPlayerBitmap = function()
{
    // We will ditch bushes and everything else :D!
    return {bmp:markerBmp, src: new Rectangle(0,($gamePlayer.direction()/2-1)*48,48,48)};
}

So now this thing uses a specific character sprite as a marker. I did this one just to try it out. I was going to make some marker thing a-la Shin Megami Tensei's overworld marker (because that's the reason I'm here xD). But I needed it to point it's direction cause, you know, this map doesn't rotate xD.
marker.png
Again, this is a messy approach, but I think it could be... uh... prettified (?). It's usable at least.

Hope it helps!

EDIT: Now there is an issue with Silver's minimap and its "fog of war". It saves and loads, BUT it doesn't reset when you start a new game. At least not if you continue from the same map. Haven't tried out starting in a different map than the one I saved/was before restarting the game.
This probably happens because it never resets/deletes the fog of war data container thing after starting a new game, only if it doesn't exists or something like that.
I tried this one just now. Had to change some things that make reference to sprites but managed to make it work. It lags a little though.
http://appnaz.com/

I've a little question. Is this FPLE going to render things like event graphics and the likes, as the old VXA one did? Or anything remotely similar? Does it already do? How about doors or dissapearing walls? Can it be done?

Salut!

LOL actually I don't understand anything you said!
Yeah, that undefined comes from this line:
Code:
Silv.Minimap.VehicleCharacterSprites[vehicle._type] = this._spriteset.findCharacterSpriteReversed(vehicle);
Thing is, apparently this FPLE removes all character sprites (as in, the instanced objects) since it's not using them at the moment. That findCharacterSpriteReversed method is trying to access to the vehicle sprite, so it gets an undefined reference.

Just comment out that line.

Next, there is another line you'll encounter an issue with. Somewhere around this line:
Code:
if (playerSpr._bushDepth == 0 || playerSpr._lowerBody === null)
This one is trickier, but it's the same issue. It tries to access a "player sprite", which doesn't exist either, again due to this FPLE implementation deleting all character sprites instances. So all we need is to return the correct values in order to be able to see our player in map.
I pretty much "rewrote" the entire function. Then added a small variable just over the function (it's a very messy approach but I was testing things out).
Code:
//Let's define some random variable just to access a custom character sprite with some marker.
var markerBmp=ImageManager.loadCharacter("marker");
//----------------------------------------------------------------------------------------------------
// Get #Player #Blip Bitmap
//----------------------------------------------------------------------------------------------------
Window_Minimap.prototype.getPlayerBitmap = function()
{
    // We will ditch bushes and everything else :D!
    return {bmp:markerBmp, src: new Rectangle(0,($gamePlayer.direction()/2-1)*48,48,48)};
}

So now this thing uses a specific character sprite as a marker. I did this one just to try it out. I was going to make some marker thing a-la Shin Megami Tensei's overworld marker (because that's the reason I'm here xD). But I needed it to point it's direction cause, you know, this map doesn't rotate xD.
View attachment 67774
Again, this is a messy approach, but I think it could be... uh... prettified (?). It's usable at least.

Hope it helps!

EDIT: Now there is an issue with Silver's minimap and its "fog of war". It saves and loads, BUT it doesn't reset when you start a new game. At least not if you continue from the same map. Haven't tried out starting in a different map than the one I saved/was before restarting the game.
This probably happens because it never resets/deletes the fog of war data container thing after starting a new game, only if it doesn't exists or something like that.

Strange, now errors are gone, but minimap gone too. Its not working both on fple and normal map. Can you paste whole edited plugin? Maybe I commented out too many lines.
Here you go (?).
Remember you need to put a tag into your map in order to see a thing. I use this one for an autogenerated passability map: <mm_generate_passability_overlay>.
You also need to configure it to use the fog of war (if you want it).

Hope it helps!
Great, it works now, ty! But one thing doesnt work as I would like. It would be best to change minimap size with an event. However as I understand the map tag notes only work in map notes. Is it possible to use tag note <mm_size:x y> in the event? My point is that it could serve as a minimap to see let's say 5x5 tiles and normal map in full screen (with an event to change minimap size by pressing some key). Sorry if its off topic, but Silvers Advanced Minimap is inactive.
Hello, thanks for the awesome plugin.
I found that FPLE scenes doesn't render the meshes correctly sometimes, perhaps because some textures haven't finished loading but the script go ahead into the rendering part right away.
To fix this, I edit the following:



Not sure if there is another cause, but the problem never happen again in my situation.
Please tell me how to make the ceiling uses different texture from the floor. m(-_-)m
i don't think anyone has modified it enough to do that, sadly.
How can I raise the height of the ceiling? My dungeon is very dark and I want the walls to disappear into the darkness above. I'm sure all I have to do is change 1 number somewhere in the code.
@ruisu You can change it in the code, but Doctor_Q has a modified version of the plugin that adds more features such as room height.

here's a comment of their's from earlier.
If you're using my version, there's a "room height" notetag that lets you change the height of the walls (in full cubes). Beyond that, no, the maps are built out of cubes, so you can't really adjust the aspect ratio.
@ruisu You can change it in the code, but Doctor_Q has a modified version of the plugin that adds more features such as room height.

here's a comment of their's from earlier.

But will the ceiling also be lifted? You know how hyperliteral code can be.
Yes, the ceiling is lifted. In literal code terms: the <room height: > tag gets a height, H. When it builds the map, it places the ceiling blocks at position H+1 (when they're present), and builds walls out of H cubes on top the floor.

As a side effect of building it out of multiple cubes, though, it means your maps count as "too big" more quickly when using a lot of walls. You can mitigate that by never making huge masses of walls, only use them to outline your paths. Not like the player can see through them, anyway.
just a small question - why tint screen function is not working and how to find a workaround?
Because tint screen works on a Pic canvas, while thus plugin makes use of a Babylon rendering surface. Not sure what a workaround would be, but I can confirm flash and fade do work.
I use pictures for helping tint the screen.
Just a large white picture that goes over everything tend to work well for tinting the screen to an extent.
I even use pictures for .. like.. screen fading to white for transitions.
In the version I last posted, you can also change the color of the light on the scene, it emotions from the player. If you apply a color, it can also act somewhat like a tint, depending on the effect you were going for.

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