aceviper64

Villager
Member
Joined
Mar 10, 2013
Messages
22
Reaction score
1
First Language
english
Primarily Uses
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?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,684
Reaction score
1,325
First Language
English
Primarily Uses
RMVXA
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.
 

aceviper64

Villager
Member
Joined
Mar 10, 2013
Messages
22
Reaction score
1
First Language
english
Primarily Uses
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
 
Last edited:

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
4,684
Reaction score
1,325
First Language
English
Primarily Uses
RMVXA
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.
 
Last edited:

aceviper64

Villager
Member
Joined
Mar 10, 2013
Messages
22
Reaction score
1
First Language
english
Primarily Uses
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?
 
Last edited:

NumbeRED39

Villager
Member
Joined
Feb 24, 2020
Messages
8
Reaction score
0
First Language
English
Primarily Uses
RMVXA
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.
 

Feli

Veteran
Veteran
Joined
Jan 12, 2013
Messages
37
Reaction score
5
First Language
portuguese
Primarily Uses
RMVXA
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?
 

coolcat1701

Warper
Member
Joined
Jul 15, 2015
Messages
1
Reaction score
0
First Language
English
Primarily Uses
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?
 

Metthink

Veteran
Veteran
Joined
Mar 31, 2018
Messages
103
Reaction score
50
First Language
Portuguese
Primarily Uses
RMMV
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
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

And now all my attacking skills suddenly heal instead of doing damage...Even kills and revives. Because ofc they do xD
Spend more time building up what you like, and stop tearing down things you don't. If you only tear stuff down, nobody will get to enjoy anything.
Work, work. Streaming in 20 minutes or so.
Finnuval wrote on fizzly's profile.
Cool.looking avatar ;)
So... looks like I'm NOT gonna be a parent... :(

Forum statistics

Threads
129,930
Messages
1,206,334
Members
171,130
Latest member
thepipa666
Top