MZ Army battle system

So what I am looking for is a plug-in to have larger scale battles, having multiple weak characters clash in autobattle against the enemies.
If you played "Ninja Village" you'd know what kind of system i want, otherwise I'll explain briefly what it need:

  • You get an X ammount of soldiers on your field, which number can be increased through events
  • Soldiers will auto-battle against the enemies without taking turns, so by continuously attacking
  • Soldiers will be divided in roles:
    • Foot soldier: Frontline. Approaches the enemy and attacks until it's defeated
    • Archer/Gunner: Will attack from the middle, protected by the foot soldiers
    • Mages/Healers: Will stay in the backlines and cast support/offensive spells over time
  • Soldiers have low stats (that can be taken by a template actor for example, so one can even customize them), and their level will be equal to either the lowest level hero, or their average level.
  • Heroes are special units that gets added to your army. They are stronger than soldiers, and can have special abilities that can change the tides of battle
  • Heroes are the actors in the player's Party

Note: Battle screen, i don't want it to be an on-map battle

So this is mostly the sum up of what I'd like to see.
If it's possible to make, then let me know please.
So this is mostly the sum up of what I'd like to see.
If it's possible to make, then let me know please.
It sounds like you want some kind of RTS, which you can do, but just know it will be a lot of parallel processes and the more you have on the map the more lag you'll get.
It sounds like you want some kind of RTS, which you can do, but just know it will be a lot of parallel processes and the more you have on the map the more lag you'll get.
But what if i don't want it to be on the map?
I had to look up the Ninja Village game you mentioned to know what you're talking about and it looks like the battlers are basically animations and the battle is just a quick stat calculation of troop numbers. But yes, the more animations you have playing at a time the more it'll lag the game.
I had to look up the Ninja Village game you mentioned to know what you're talking about and it looks like the battlers are basically animations and the battle is just a quick stat calculation of troop numbers. But yes, the more animations you have playing at a time the more it'll lag the game.
But what if I want something that looks like it, but plays as an actual battle? I described pretty much what I need
But what if I want something that looks like it, but plays as an actual battle? I described pretty much what I need
Then you would have Soldiers, Mages, and Archers each as an individual actor in the database and their battler graphic would be a group of them and set them to autobattle while the hero character you can control. Or you can make the groups just animations and not actors at all.
Then you would have Soldiers, Mages, and Archers each as an individual actor in the database and their battler graphic would be a group of them and set them to autobattle while the hero character you can control. Or you can make the groups just animations and not actors at all.
But then it would not be what i am asking for
But then it would not be what i am asking for
Why don't you draw a diagram of what you actually want because you said that your own example that you gave (Ninja Village) is not what you want.
Why don't you draw a diagram of what you actually want because you said that your own example that you gave (Ninja Village) is not what you want.
I want to be able to control exactly how many troops are in battle, with each one acting individually.
Also i tried using ATB, but there always is like 3 second of nothing while the bars are filling, and i want to remove that mainly.
I don't want to have 5 actors with 3 men as the sprite, but 15 soldiers, who just move forward and attack, or cast spells without delay
You can do that on the map but it would be almost like a tower defense game and just have all your units on wait timers to fire every x frames. But again, it's a lot of parallel processes and will slow down your game the more you have.

And yes, you can have health bars, menus, etc on the map so you don't need the battle scene
You can do that on the map but it would be almost like a tower defense game and just have all your units on wait timers to fire every x frames. But again, it's a lot of parallel processes and will slow down your game the more you have.
And that's what i wanted to avoid.
How about this? I increase the party size with a plugin i already have.
Now i need a way to remove the wait time between turns in ATB, because if even at 999 agility the turn bar takes 4 seconds to fill, that i don't want, i want it to take no longer than a second. How to do that?
Then i need a way for death actors to get automatic swapped out with reserve actors, and also a way to clone actors, so i can use events to modify all the copies of an actor by modifying the original.
then i need a way for all of this to work with the enemy team too.

Is this more clear?
You're asking for a lot of radical changes to the battle system and will probably need to frankenstein a bunch of plugins together to modify it. Personally, if it were me, I could make all this on the map and make it look like the battle scene. An event spawner to unspawn the dead event and spawn the new event in its place, spawn soldier events tied to actor ids in the database, etc.
First off, a lot of the confusion about all that above is because you two are talking about different things without even realising that or explaining them.

First, "on map" does not automatically mean "with movement" - it also means that several of the default limitations on the battlescreen do not exist there.
However that advantage comes with the disadvantage that most skills do not work outside the battlescreen, and that it is a lot of work to simulate battleskills by events.

So what the OP should really consider is what action options he want his units to have - if those are complex and skills, then he needs to go battlescreen and use plugins to break the limits of the battlescreen.
If he only wants some variants of direct HP reduction (the animations added do not matter and are easy), then he might use a map to pretend to be a static battlescreen, just to be able to setup many events as actors and enemies and use eventing to make a control for them.

Both ways are possible but require some work to implement - wastly different work, so the OP needs to make that decision before we can continue.
First off, a lot of the confusion about all that above is because you two are talking about different things without even realising that or explaining them.

First, "on map" does not automatically mean "with movement" - it also means that several of the default limitations on the battlescreen do not exist there.
However that advantage comes with the disadvantage that most skills do not work outside the battlescreen, and that it is a lot of work to simulate battleskills by events.

So what the OP should really consider is what action options he want his units to have - if those are complex and skills, then he needs to go battlescreen and use plugins to break the limits of the battlescreen.
If he only wants some variants of direct HP reduction (the animations added do not matter and are easy), then he might use a map to pretend to be a static battlescreen, just to be able to setup many events as actors and enemies and use eventing to make a control for them.

Both ways are possible but require some work to implement - wastly different work, so the OP needs to make that decision before we can continue.
I made my decision way before typing the first post, and never ever mentioned about wanting to work on the map. Since the very beginning i said and kept saying that i want to be on the battle screen, and that i need a plugin to break those limits
I made my decision way before typing the first post, and never ever mentioned about wanting to work on the map.
Except you found that there were severe restrictions when trying to implement it in the battle scene, which I why I suggested the map. So I'll leave you to it. Good luck.
Except you found that there were severe restrictions when trying to implement it in the battle scene, which I why I suggested the map. So I'll leave you to it. Good luck.
I wouldn't have come here asking for a plugin if i were able to (or wanted to) implement all that on the map, don't you think?
We understand what you originally wanted, however, you need to understand it's a pretty complex request, so AquaEcho and Andar are trying to help you brainstorm methods of executing this action.
The reason they keep bringing up "on map" is that they are saying you can fake the battle screen by using a variety of event controls, such as a "show picture" event command to show the battle back, and assign SV sprites to events. And by doing so, you would have access to "real time" processing, instead of turn based processing. Which will make some aspects of your combat easier to design when compared to the turn-based processing of the real battle scene.
Regardless, these are just suggestions because we are trying to help you achieve what you want, but you need to think through how exactly it should be design from a technical aspect within the limitations of the engine.

Otherwise, it would likely have to be a series of plugins that you might be able to get working together, but this will require you to break down the individual aspects of the combat system instead of giving us an overview of it.
For example, 1 part of your system is when troops die they are replaced with reserves. So you might want to ask for a plugin that will automatically swap party members when one party member dies.

Unfortunately no one is just going to fart out a script for you to dump into your game, therefore it's necessary for us to get all the details so that hopefully we can direct you to the right place.
It's also worth noting we may not be able to directly help with the system, it is more likely that you will find the solution on your own, but in order to get that solution is will likely take some idea bouncing first, so even if our answers don't help you directly, we also hope they may lead you down a train of thought that does ultimately lead you there.

Best of luck with your game.
Also i tried using ATB, but there always is like 3 second of nothing while the bars are filling, and i want to remove that mainly.
If by "ATB" you mean the "TPB" system that comes with MZ, then you can change the rate at which the gauges fill up using this plugin. Just paste it into a new .js file and add it to your project through the plugin manager:
Spoiler: Code
JavaScript:
/*:
* @target MZ
* @plugindesc Adjust speed of TPB gauge.
* @author Arthran
*
* @help
* Adjust the speed of the TPB gauge by changing the value of tbpMultiplier.
* The default value is 1.0, which is the same as the default speed. A value
* of 0.5 would make the gauge fill half as fast, a value of 2.0 would
* make the gauge fill twice as fast, and a value of 10.0 would make the
* gauge fill 10 times faster, etc. Negative values are not allowed.
*
* ------------------------------------------------------------------------
* Terms of Use
* ------------------------------------------------------------------------
* - Free for any type of use.
* - You may edit this plugin as you see fit.
* - Credit is not required.
*/

(() => {
    const tbpMultiplier = 1.0;

    const _Game_Battler_tpbAcceleration = Game_Battler.prototype.tpbAcceleration;
    Game_Battler.prototype.tpbAcceleration = function() {
        let result = _Game_Battler_tpbAcceleration.call(this);
        if (tbpMultiplier > 0) {
            result *= tbpMultiplier;
        }
        return result;
    };
})();

For example, to make the gauges fill 10 times faster, just change this line:
JavaScript:
const tbpMultiplier = 1.0;
to
JavaScript:
const tbpMultiplier = 10.0;

If by "ATB", you mean that you're using some ATB plugin (i.e. VisuStella), then I don't know if that will work or not.
Now i need a way to remove the wait time between turns in ATB, because if even at 999 agility the turn bar takes 4 seconds to fill, that i don't want, i want it to take no longer than a second. How to do that?
You may want to take a look at the Visustella Battle System - STB.

It has you choosing actions one at a time like in the default TPB, but there's no charging.

As for the rest...honestly, your attitude comes off poorly. You're asking for a lot of stuff that's drastically different from what RPG Maker is designed to create. When you're told that will be hard to implement and given suggestions as to how you could start going about it, you respond in ways that sound a bit rude because they're not what you "kept saying."

Except if you knew how to do things exactly the way you keep saying, you wouldn't need to ask other people questions about it.

So perhaps it would be appropriate for you to consider what people are saying to you and understand why they're saying it. And possibly even reconsider either the kind of game you're making or the software you're trying to use.
I made my decision way before typing the first post,
But due to the low post count I'm questioning whether or not you really knew what you were putting yourself up to, which is why I pointed out alternatives.

Just for starters: No matter what plugins exist, the task you describe requires you, personally, to have a very solid foundation in javascript programming.

That is because nothing can change the editor, and the editor is limited to eight enemies per troop.
You cannot even condition troop events to enemy HP of more than eight enemies for example.

That means that a lot of the controls and instructions would have to be handled by javascript commands. And no, plugins cannot change that because the javascript commands will have to control the plugins, not the other way around.


Can you do that? Do you have enough javascript knowledge to handle half the battlescreen by giving javascript commands?
My post above about getting you to consider what you want was because you gave no indication that you understood that need for javascript knowledge on yourself.


You are not the first person who wants an army-type battlesystem, and some people put quite some work into tries to do that in the past.
But why do you think there is no ready-made plugin for this anywhere?

I have heard of two teams that succeeded in something similar (although a bit more complex), and neither of them ever published the plugins they wrote for that.
Because those plugins were basically unusable without massive javascript configurations that no normal user would be able to write, and they didn't want to field months of questions by others how to use the plugins.

Original thread: https://forums.rpgmakerweb.com/threads/army-battle-system.158928/