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

kaigames

Veteran
Veteran
Joined
Feb 8, 2019
Messages
37
Reaction score
4
First Language
Portuguese.BR
Primarily Uses
RMXP
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
 
Last edited:

KK20

Just some XP Scripter
Veteran
Joined
Oct 11, 2018
Messages
122
Reaction score
52
First Language
English
Primarily Uses
RMXP
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
 

kaigames

Veteran
Veteran
Joined
Feb 8, 2019
Messages
37
Reaction score
4
First Language
Portuguese.BR
Primarily Uses
RMXP
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

You know, I sometimes ponder if working on the story and details is more necessary than the game itself. Its... technically work, just not direct.

Like for me specifically I never stop evolving the story based on what avenues I can approach in gameplay and then I get anxious thinking "hey good thing I thought about that now instead of later". Repeat ad nauseam.
World Of Final Fantasy Livestream~!
(Ft. Kaliga)
So my office building has 8 individually rented offices in it; 3 of which are social workers and 2 are marriage therapists... Unsurprisingly it always sound very angry out there. Glad I have my own private entrance. :LZSexcite: :thumbsup-right:
I wonder if there's ever been an art challenge that involves drawing faces from the generator.

Forum statistics

Threads
94,370
Messages
920,390
Members
124,142
Latest member
Vaporware_Studios
Top