Two or more battle systems

I am not sure if this is the right place to post this but I need to know how I could incorporate 2 or more separate battle systems
I am basically trying to make it so there is one character that has a different battle system and he is never in the party
with everyone else
As far I Know with Yanflys plugin can be done.
It has 3 battle system plugins and you can switch between them with plugin commands, before battle starts.
Theoreticallyit can be done, practically there is a big problem.

to dynamically switch between battle systems, the programmer has to have made a switch that can operate ingame for that change.

Most programmers simply replace the original engine functions to get their systems in witout any need for a switch. Using such plugins will mean that only the last battlesystem can work, and that the first added battlesystem is kicked out by the later ones.

Yanfly is one of very few programmers who ever considered different battle systems. So I agree you should check that - but I don't know if yanfly ever allowed a dynamic switch between them, or if the choice is static and can't be changed during game.
And this is complicated even more by the fact that at least two of the four or five different battlesystems have been discontinued and are unsupported now...

I've moved this thread to Plugin Requests. Thank you.

As far I Know with Yanflys plugin can be done.
It has 3 battle system plugins and you can switch between them with plugin commands, before battle starts.
I got all three battle systems but I need to switch to a customized battle system basically the character attacks with music and it completely switches to a rhythm game then back to one of the other battle systems
but I need to switch to a customized battle system
then you need someone to program a plugin for that that is compatible with yanfly's framework.

As I explained above you cannot take a regular battlesystem plugin and have it switchable, that switch has to be programmed in at the function name level to be workable.
I am not sure if this is the right place to post this but I need to know how I could incorporate 2 or more separate battle systems
I am basically trying to make it so there is one character that has a different battle system and he is never in the party
with everyone else
I have a whole separate idea in mind if it is not possible
It is possible, but not with standard plugins. And battlesystems are difficult to program,so not many people can program one for you.

your only realistical chance to get it done would be if you either could pay someone to program it (and that is most likely 100+$), or if it is very interesting, interesting enough to get someone to do it for free. We can't judge the interesting because you would have to completely describe that battlesystem in much more details before anyone could judge it.

If that isn't possible then you'll probably have to go to your other idea
Actually, the actual battle systems themselves might be, but the concept of having multiple battle systems isn't difficult

In VXAce I tried to build a framework for multiple battle systems


The idea was you have a BATTLE SYSTEM, which consists of

- a scene
- a battle manager

The main change I made was to turn BattleManager into a "manager of battle managers". It takes requests from other objects and passes it on to an internal battle manager, which will handle the actual battle logic. So people can still directly call BattleManager.doSomething(), but the actual result might be different depending on which battle manager is currently in use.

But yes as @Andar mentions there is one big issue: BattleManager is originally designed as a static object. No one's subclassing battle manager and implementing their own overrides.

My grid battle system that I'm working on is actually multiple battle systems: different pieces can be added or removed to create custom battle logic.

However, even that right now isn't being designed with multiple systems in mind, because I'm aiming for compatibility with other battle systems right now. I might play around with the idea of multiple battle system support at some point though.

One option is to use wrapper objects: Game_Actor gets wrapped into Game_TacticalActor, which replaces any reference to BattleManager to TacticsBattleManager. Then just have to do this for every class that accesses BattleManager, which is like almost everything, so it probably isn't an ideal solution. Probably better to turn BattleManager into an interface that redirects requests, and then everyone just builds to that spec.

Original thread: https://forums.rpgmakerweb.com/threads/two-or-more-battle-systems.124825/