Problem - Parallax overlays with Zoom script

Hello there. First of all, I want to say that this may have to be in the Scripting support forum, but since there are also events involved and I am not sure, I posted here. If this is not the right place, feel free to move it to the right place.

Well, here is my issue: I am following this tutorial -> http://www.rpgmakercentral.com/topic/12299-getting-started-with-parallax-mapping/ for making a Parallax map, an everything went right until Part 2, where the overlay image is created.

In the first step, I created the base picture:
VtThHYu.png


And then the Overlay picture:
NwiVWS7.png


(Yes, the three is the only things supposed to be over the player)

And as said in the tutorial, I added the Picture Lock script into the project, and made the event required to show the picture:
B0odU5o.png


And here comes the problem; Since I am using Zeus81´s Map Effects script to make the camera much closer to the player
(You can find the script here: https://forums.rpgmakerweb.com/index.php?threads/map-effects.13941/), the overlay picture moves with the player and isn´t where it is supposed to be. It actually looks like this:

So, how could I fix this?

Thanks! <3

-Tonko
hi, this its normal, you need to bind you picture to the map move

in js, am not remember, maybe better method , but just add this to update obj
PHP:
originX = currentX + ($gameMap.displayX() * $gameMap.tileWidth());
or if you dont know js
you can try this plugin command, but its old , i dont know if it work with last version rmmv!
https://forums.rpgmakerweb.com/index.php?threads/bind-pictures-to-map.46776/
hi, this its normal, you need to bind you picture to the map move

in js, am not remember, maybe better method , but just add this to update obj
PHP:
originX = currentX + ($gameMap.displayX() * $gameMap.tileWidth());
or if you dont know js
you can try this plugin command, but its old , i dont know if it work with last version rmmv!
https://forums.rpgmakerweb.com/index.php?threads/bind-pictures-to-map.46776/
Hey! Thanks for replying!

I am currently using VX Ace, not MV :/

And I don´t know where to put the code you provided
Hey! Thanks for replying!

I am currently using VX Ace, not MV :/

And I don´t know where to put the code you provided
ok sorry , my fault
i dont know rubby code

Original thread: https://forums.rpgmakerweb.com/threads/problem-parallax-overlays-with-zoom-script.88579/