Mirror script?

Giving this question another go since the last time, is it possible to make a Mirror script? (And if so, is anyone willing to make one?)

Literally the best example I could give is this nice little plugin which I assume is made for the MV RPG Maker:



I've attempted this before with NPCs that follow the player move for move, be it through scripts or conditional branches, but nothing works quite like the above example.
Moved to: RGSS3 Script Requests
Bump.
Have you seen this script?
https://forums.rpgmakerweb.com/index.php?threads/sprite-reflection.172/

[bump]Pandaxclone2[/bump]
Water reflections aren't what I'm looking for. Mirror reflections like the one seen in the top-left of the video are. Also thank you for the notice.
Bump. At this rate I'm almost willing to pay for a script.
Have you tried Galv's Characters Effects?
https://galvs-scripts.com/2013/02/21/character-effects/
It can show npcs as well, so it might work for what you want. It works for shadows, water and mirrors.
Hope it helps!
I've been recommended that one before, but I remember having issues getting it running and the way the sprites shrink and grow when going up and down wasn't like the desired effect seen in that example video in the OP.
I searched a little and found this, don't know how it works because I never tried so I'm just shooting blind here
http://www.rpgmakercentral.com/topic/1725-gino-reflecting-mirror/
About Galv's, if you try out his demo and study the events there it becomes really easy. I had trouble at first too, but after understanding the basic stuff it's simple --- and a lot of copy and paste xD In my opinion the shrinking makes it more realistic, but that it's a matter of taste and if you don't like it it's okay ^^
If that one doesn't work, maybe you should create a thread in the Classifieds requesting a scripter... I haven't seen other reflection scripts around, so that may be your only choice. I wish you good luck!
Thanks, I'll look into that soon. And in regards to Galv's reflection script, it's not so much the execution that bothers me (in fact it's pretty neat) but I'm trying to blend this with an NPC that chases you along the mirror, so it would be jarring for the sprites to shrink and grow at one point but not do so when the NPC emerges.

EDIT: It's nice, but there seems to be issues regarding the sprite's horizontal movement. It just blinks into the next tile when I move left or right. There's also issues with the distance of the sprite. It doesn't want to follow the player properly no matter what max distance I put between it.
I don't understand what you mean by shrink and grow? I have not tried Galv's script for this. I play tested with TDS's script and don't see anything wrong except that it is designed for water and does a wave effect. I tried playing around with the code and tried to change it so that it would wave when on water but not when just a mirror, yet I was only successful in stopping the wave effect.
upload_2017-10-21_12-11-34.png

I changed this code.
Code:
#    self.wave_amp = 1 if REFLECTION_WAVE_EFFECT
    case REFLECTION_TERRAIN_TAGS
    when 3
      self.wave_amp = 0 if REFLECTION_WAVE_EFFECT
    when 2
      self.wave_amp = 1
    when 1
      self.wave_amp = 1 if REFLECTION_WAVE_EFFECT
    end
and in the tileset terrain tags I have
Code:
S_REFLECT_OFFSET:
1: 48
2: 48
E_REFLECT_OFFSET:
"shrink and grow" means this in the top left:

character-effects_zpsb175e1ca.jpg


The farther away from the mirror you are, the smaller the reflection in the mirror becomes. It grows the closer you are to the mirror. And I'm exclusively trying to get a mirror effect, not a water reflection.
I play tested the demo. In Galv's character effects script - line 670. change the value of 0.05 to 0.005.
Noticed one bug though. The 4th character does not show up in the mirror.
*Apparently that was by design.

This will stop the getting smaller effect, but instead change it to a moving away effect.
It's getting there. Now if it made the reflection only appear when you're 2 tiles away (or higher depending on the length of the mirror) and gave it the same effect as moving left and right of the mirror (when moving down, the reflection moves up instead of making a small step and vise versa), it would be exactly what I'm looking for.
Best I can figure out right now is 3 spaces away, depending on mirror height.
673 return (@character.y - i + 1 - $game_map.display_y) * 32 - i * 16 + 16
Bump. This is nearly what I needed. If anyone can fix the mirror reflection up/down movement to walk properly like walking left or right of the mirror in Galv's script already does, it will be perfect.
I got it to do something different. Opposite of going up. Maybe you'll like it. But it flows like you want
682 self.y = (@character.screen_y - $game_map.display_y) - 32

I'll work on it more some other time.
The up/down reflection movement needs to be inverted but close. Trying to fiddle around with the script right now but nothing seems to change it.
Yes that's the part I could not get it to do was invert the direction for the reflection.
It definitely has something to do with get_mirror_y as far as I can tell. The engine itself doesn't seem to have an inverted option for y movement, so the script writes the formula in 667 to 678. All I've managed to figure out so far is that without the "i" instances in the formula it doesn't show anything.

Original thread: https://forums.rpgmakerweb.com/threads/mirror-script.85746/