(RMXP) HELP! FPLE ENGINE map as battleback + 3D Battle Camera

hello recently i found an interesting script,

found in:
Chaos Project - [XP] 3D Battle Camera


credits to ThallionDarkshine for doing this




this script that zooms in on the currently targeted enemy, using a parallax effect to make it appear somewhat 3D


in my project I use the script FPLE ENGINE

found in:

Save Point - FPLE : First Person Labyrinth Explorer

credits to MGC doing this
.
Sem título.png



This script - or more likely this engine - provides a step-based first person view

The FPLE engine comes with an add-on created by atoa that makes battles happen on the map itself

my idea would be to combine these two scripts to use them in battle

but it happens:





as you can see, the parallax does not move when the zoom on the enemy is activated

I believe that this must happen because the camera script works with battlebacks and
as the FPLE addon causes the native battleback not to be shown but yes the map in real time, the camera script only works on enemies


from that point of view, there is no way to generate a screenshot before starting the battle and use this screen as a battleback and after the battle is over the image is erased?

Thank you for your help

PS:sorry my english
Add this script: https://littledrago.blogspot.com/2013/07/rgss23-drago-core-engine.html

Locate this part in TDS Camera script, and add the line I call out below:
Code:
class Spriteset_Battle
  alias tdks_3d_cam_init initialize
  def initialize
    @cx = 320
    @cy = 160
    @zoom = 1
    @frames = 0
    @target_ind = -1
    tdks_3d_cam_init
    @battleback_sprite.bitmap = Graphics.snap_to_bitmap #<=== add this here
  end

Remove the FPLE map as battleback add-on
Add this script: https://littledrago.blogspot.com/2013/07/rgss23-drago-core-engine.html

Locate this part in TDS Camera script, and add the line I call out below:
Code:
class Spriteset_Battle
  alias tdks_3d_cam_init initialize
  def initialize
    @cx = 320
    @cy = 160
    @zoom = 1
    @frames = 0
    @target_ind = -1
    tdks_3d_cam_init
    @battleback_sprite.bitmap = Graphics.snap_to_bitmap #<=== add this here
  end

Remove the FPLE map as battleback add-on
IT WORKED PERFECTLY! THANKS

Original thread: https://forums.rpgmakerweb.com/threads/rmxp-help-fple-engine-map-as-battleback-3d-battle-camera.117709/