I'm working on a project which features multiple factions, many of which are hostile towards each other. And I want to have some fights where multiple factions are involved at once and have them attack each other as well as the actors. At first, I tried using statuses, first attempting with "Attack Allies", this kind of worked, but they'd never attack the actors, and they'd also attack the other that are in the same faction. I also tried "Attack Everyone", and while Free-for-alls are cool, it's still not what I wanted. I figured this had to be done with plugins/scripts.
I couldn't find anything like this when searching around plugin lists so I thought I'd put the idea out here. Because although on its own it's rather simple, I like to think it has a lot of potential, even in other kinds of projects.
How it'd work is enemies can have a "team number" in their notetags. Like <Team X>, and if there are enemies with different team numbers in the troop, they will be hostile towards each other. For simplicity, the default enemy team number will be 1 if it's unspecified.
So for example, this troop contains 3 unique enemies; "Bat" has <Team 1>, and "Slime" also has <Team 1>, but "Orc" has <Team 2>. All these enemies will attack the actors, and while Bat and Slime will not attack each other, will also attack Orc, and Orc will also attack Bat and Slime.
An extra idea I had was that <Team 0> could refer to the Actor's team, and they'd act as allies if set on team 0, but this is not something I see being easy to do without altering too much of the battle system.
Why do I say Addon? Well because in an attempt to create the battle system I wanted, I'm running a few different battle system plugins to sloppily create the active battle style that I wanted, I'm using Yanfly's Battle Core (with action sequences and AI cores and bunch of other flair stuff), and DoubleX Popularized ATB Core (which I find to be a bit buggy but is only ATB that doesn't pause the enemies and battle when the party command window opens, or that I know anyway). So I'm hoping that if this can be a simple addon to the default battle system then it won't have any trouble integrating with these other battle plugins.
I couldn't find anything like this when searching around plugin lists so I thought I'd put the idea out here. Because although on its own it's rather simple, I like to think it has a lot of potential, even in other kinds of projects.
How it'd work is enemies can have a "team number" in their notetags. Like <Team X>, and if there are enemies with different team numbers in the troop, they will be hostile towards each other. For simplicity, the default enemy team number will be 1 if it's unspecified.
So for example, this troop contains 3 unique enemies; "Bat" has <Team 1>, and "Slime" also has <Team 1>, but "Orc" has <Team 2>. All these enemies will attack the actors, and while Bat and Slime will not attack each other, will also attack Orc, and Orc will also attack Bat and Slime.
An extra idea I had was that <Team 0> could refer to the Actor's team, and they'd act as allies if set on team 0, but this is not something I see being easy to do without altering too much of the battle system.
Why do I say Addon? Well because in an attempt to create the battle system I wanted, I'm running a few different battle system plugins to sloppily create the active battle style that I wanted, I'm using Yanfly's Battle Core (with action sequences and AI cores and bunch of other flair stuff), and DoubleX Popularized ATB Core (which I find to be a bit buggy but is only ATB that doesn't pause the enemies and battle when the party command window opens, or that I know anyway). So I'm hoping that if this can be a simple addon to the default battle system then it won't have any trouble integrating with these other battle plugins.