CP's Battle Engine

I really like yanflys party menu, but it is not compatible with cps battle engine.
is there a way to make them work together? (I just want the graphical menu for the formation from yanfly.)
If not does anyone know if there is another party / formation menu that looks similar at least?
Just did a test. Got an error when yanfly party system was below cp battle engine.
When I put yanfly party above cp battle, it worked fine.
sorry i forgot to mention,
the errors occur after battle, when you have switched characters .
also of note the switch does not happen.
error.PNG

error_plus.PNG
sorry i forgot to mention,
the errors occur after battle, when you have switched characters .
also of note the switch does not happen.

I see the problem now. Switching members in battle doesn't work.
Maybe someone can find a fix for this otherwise you will have to remove the members command in the battle command list.

EDIT**
I've narrowed the issue down to line 297
def battle_members
in Yanfly Party System.

Commenting the whole method out makes it work, but there is one minor issue,
The actor swaps but does not show the swap in yanfly party screen.
thanks again @Roninator2 , I've decided to disable the switching system.

new problem though, the anim_offset isn't working.
This line is where I think the problem is, but It don't seem to differ between enemy and player.

if ani.animation.to_screen? && @battler && @battler.actor?

if i comment out the above part the animation is off set for both player and enemy, otherwise neither is offset.

this is whole section
## Adjust the animation position.
ofs = CP::BATTLERS.sideview ? 0 : CP::BATTLERS::ANIM_OFFSET
sprite.y += ofs if ani.animation.to_screen? && @battler && @battler.actor?
sprite.z = self.z + 300 + i
sprite.ox = 96
sprite.oy = 96
sprite.zoom_x = cell_data[i, 3] / 100.0
sprite.zoom_y = cell_data[i, 3] / 100.0
sprite.opacity = cell_data[i, 6] ## Ignore transparency.
sprite.blend_type = cell_data[i, 7]


**EDIT**
ok so i got it working with
if @battler.actor?
Is it possible to force an actor to change battler?

Supposedly the script decides between actor battler and class battler.
If instead I give the actor no battler, but give its class a battler then change an actor's class, it will keep the battler of the previous class instead.
is there any way to centralize battlers? for example, when there is only one character, it is in the center of the screen and not on the left?
For starters, beautiful scripting here.

But I'm having a little trouble getting version 3 working. Everything I've tried so far following the directions available has just left me at version 4. o you have any ideas about what I might be doing wrong?
I'm having problems. The battle unfortunately stops to keep moving and the actions don't happen, and I go back to the commands. I'm using the mode 4

Edit: I can't do the 2º turn, because the actions dont happen and it go back to the party commands and the battle doesn't ends.

Edit2: Problem solved
Hello, if there is a technician who is still looking at this thread, I would like to ask for help. (I'm using a translator)

In my project, I'm experiencing messages that are printed during combat that briefly disappear and reappear. Can't I get an answer to this?

K-036.png


ex1.gif

Original thread: https://forums.rpgmakerweb.com/threads/cps-battle-engine.4811/