MV Using Mog Weather EX with MBS Zoom?

I'm using Moghunter's Weather EX plugin to create particles along with parallax mapping using Qmaps. I'm having a bug which I'm assuming comes from the scrolling of parallaxing where the particles generated by Mog's weather will move a bit with the player. You can see this happening here: .

Does anyone know of a solution of how to make it no longer move with the player? When not using a parallax the particles are anchored to a position and only move relative to that location rather than move with the player.

Edit: After more debugging I've found the problem was with MBS Zoom, not Qplugins.
In the MOG Weather EX plugin, try changing this value around line 373:
JavaScript:
this._screenRX = Graphics.boxWidth;
this._screenRY = Graphics.boxHeight;
Instead of graphics box width and height, replace it with this:
JavaScript:
this._screenRX = $gameMap.width() * $gameMap.tileWidth();
this._screenRY = $gameMap.height() * $gameMap.tileHeight();

This may not work, but assuming it does work since I don't use those two plugins together, an issue you will probably encounter is that it will now try to load the weather to be as big as your map rather than just the screen.

And, with it already being parallax, you might run into performance issues.

Others might be able to provide a better route for you regarding this.

It seems like you are saying that the normal tile map is working fine with the weather plugin so my guess is that the QMaps is doing something else with anchoring, moving, etc.
In the MOG Weather EX plugin, try changing this value around line 373:
JavaScript:
this._screenRX = Graphics.boxWidth;
this._screenRY = Graphics.boxHeight;
Instead of graphics box width and height, replace it with this:
JavaScript:
this._screenRX = $gameMap.width() * $gameMap.tileWidth();
this._screenRY = $gameMap.height() * $gameMap.tileHeight();

This may not work, but assuming it does work since I don't use those two plugins together, an issue you will probably encounter is that it will now try to load the weather to be as big as your map rather than just the screen.

And, with it already being parallax, you might run into performance issues.

Others might be able to provide a better route for you regarding this.

It seems like you are saying that the normal tile map is working fine with the weather plugin so my guess is that the QMaps is doing something else with anchoring, moving, etc.
I'm an idiot. I debugged this wrong and it wasn't qmaps that was causing it, it was MBS Zoom. I have my screen zoomed in at 1.45 so I think that the weather plugin is accounting for the full size of the screen rather than the dimensions of the zoom. I tried replacing those lines with:
this._screenRX = Graphics.boxWidth * 1.45;
this._screenRY = Graphics.boxHeight * 1.45;
But it doesn't do anything and I'm too dumb when it comes to programming to know what to do here.
I'm an idiot. I debugged this wrong and it wasn't qmaps that was causing it, it was MBS Zoom. I have my screen zoomed in at 1.45 so I think that the weather plugin is accounting for the full size of the screen rather than the dimensions of the zoom. I tried replacing those lines with:
this._screenRX = Graphics.boxWidth * 1.45;
this._screenRY = Graphics.boxHeight * 1.45;
But it doesn't do anything and I'm too dumb when it comes to programming to know what to do here.
I see. Yeah, unfortunately I won't be able to properly troubleshoot. Does removing MBS Zoom fix the issue?
I see. Yeah, unfortunately I won't be able to properly troubleshoot. Does removing MBS Zoom fix the issue?
Yeah it does, but my game is built around being zoomed in, so there's the problem now lol. The only other zoom plugin that I know of is SRD's and it doesn't work at all with the weather plugin. Using a manual zoom in via script

$gameScreen.setZoom(Graphics.width / 2, Graphics.height / 2, 1.45);

Does exactly what I want, but you need to make a tile buffer around your map because it actually only zooms in on the screen so when you get to the edges it won't show your character anymore without the buffer. In addition, the main problem is that going to any other scene such as menu or battles resets the zoom.
Yeah it does, but my game is built around being zoomed in, so there's the problem now lol. The only other zoom plugin that I know of is SRD's and it doesn't work at all with the weather plugin. Using a manual zoom in via script

$gameScreen.setZoom(Graphics.width / 2, Graphics.height / 2, 1.45);

Does exactly what I want, but you need to make a tile buffer around your map because it actually only zooms in on the screen so when you get to the edges it won't show your character anymore without the buffer. In addition, the main problem is that going to any other scene such as menu or battles resets the zoom.
Does switching the order of the plugins do anything? I'll have to take a closer look at this plugin when I get the chance.
Does switching the order of the plugins do anything? I'll have to take a closer look at this plugin when I get the chance.
Nah, tried that already, load order doesn't seem to affect it :<

Edit: Found a solution by just using the SRD Camera Core for zoom and setting "Zoom Pictures" in Camera Core's parameter to "false".
Nah, tried that already, load order doesn't seem to affect it :<

Edit: Found a solution by just using the SRD Camera Core for zoom and setting "Zoom Pictures" in Camera Core's parameter to "false".
Try changing the Z-Index of the MOG Weather to 1 instead of 2 and see if that works.

JavaScript:
weather : 0 : 0 : 40 : 1 : Leaf_02B : 1 : 5 : 0.50 : 0.20 : 4 : 2
The number after the file name.

Edit: Glad you found a solution. Here is the current workaround for using MOG Weather EX with MBS Zoom:


EDIT of Edit:

Found the issue - you need to scale it with WeatherEXSprites. Using the code below will allow for any z-Index (0-2) for MOG.

Please type this in at the end of the function Spriteset_Map.prototype.updatePosition (should be around line 377 of the MBS Zoom Plugin, underneath the this._parallax.move line):

JavaScript:
this._weatherEXSprites.forEach(ex => ex.scale = new PIXI.Point(scale.x, scale.y));

Tested it with MBS and MOG only and it works. If you are still having issues, I can write it out as a separate plugin to patch in @Danatoth
I tried the code for the weather but it show me this i tried changing but it show me the same
please help
the eror is in the left

this is how i code it
@Acecool It looks like you might want to do some more basic tutorials on events before you worry about plugins. There are several foundational errors in your screenshot.

1 - There is zero point to putting that whole thing inside a Loop command. Parallel events already loop.

2 - This makes no sense.
1728791804931.png


You turn a switch on...then check whether it's on. How could that ever not be true?

3 - Your format for the plugin command is wrong. That should be a little obvious when the error message tells you it's looking for a file called 1 and you meant for it to use the file called Leaf_02B.

According to the instructions, there are supposed to be 5 numeric values before the filename, but you have only 4.

1728792121267.png
yaaay it work i put it 5 numeric and it fixed
thank you bro appreciate it
Necro-post notice: @Acecool

Original thread: https://forums.rpgmakerweb.com/threads/using-mog-weather-ex-with-mbs-zoom.169550/