More Enemies in Battle

● ARCHIVED · READ-ONLY
Started by AeroFunk80 7 posts View original ↗
  1. You can have 8 enemies in a troop, but the current project I'm working on, I need more. Reason being... I'm making a zombie game and want the feeling of each battle being a horde of zombies attacking. They have very low HP, so they'll die quickly, but I need more than 8 enemies in a troop to do this.

    Basically, I need a plugin that allows this. I'm using Yanfly's Battle Core and Animated Enemies, so the enemies will be sv_actors, so they're not large and won't take up a lot of space.

    Right now I have it scripted with conditional formulas in the Troop battle that the zombies are further away and cannot attack. Heroes need to pick them off with ranged attack. Each turn they move closer (zombies in the back disappear and I have new ones appear closer to heroes). By turn 3 the zombies are in melee range and can attack the heroes. Heroes can do ranged attacks only (no melee) when zombies are far away. They can then do melee only (no ranged) when the zombies are at the front of the line. I actually made this work, but because I can only have 8 enemies per troop... my "horde" of zombies only consists of 2...

    ===============================================

    I apologize if there's already a plugin for this, or if there's a way to already do this in the game, itself. I search for nearly an hour, and I couldn't find anything... maybe I'm searching for the wrong thing...
  2. Andar said:
    http://himeworks.com/2015/11/enemy-reinforcements-mv/
    Unfortunately, this doesn't work because, while you can add troops and enemies, you cannot remove the initial troop that started the battle.

    Basically, what I want to essentially happen is... you start the battle with four zombies lined up along the far left with the heroes at the far right. Their first turn they need to take out as many of the zombies as they can. Those they don't take out, at the end of turn one, the ones still alive in the back disappear and I make another troop appear closer to the heroes. At the end of that turn, those enemies disappear and another troop appears right in front of the heroes, where they can then start to do damage.

    I already have it working with the current RPG Maker system using conditional branches... if enemy is 0 HP, they don't appear... if still alive, the next one appears, etc. However; with the current system I can only have 8 enemies per troop.

    The plugin you linked for me would be PERFECT... but... you can't make the initial enemy or troop that started the battle disappear... so if they're left alive... I can't have the effect that they moved forward, because I can't make them disappear :-(
  3. Instead of constantly removing and adding troops, why not try using Yanfly's Row Formation plugin and move the troops forward by one row each turn?
  4. Naveed said:
    Instead of constantly removing and adding troops, why not try using Yanfly's Row Formation plugin and move the troops forward by one row each turn?

    Yes! This works perfectly for the enemy movement! However... this is more of a scripting question... so not sure if I can do that in this forum...

    I found a way to successfully start enemies in the back row and have them move forward each turn via a Move Forward skill which Pushes Them Forward 1 Row. They then get to the front row by Turn 3 and I add a state "Seal Skill Move Forward" and then let Attack be used, so my enemies now attack my player when they're in the front row and stop using the skill Move Forward.

    Here's my new problem. though. I don't want the player moving between rows. I easily have him locked in his default row, so this works fine. However; I want the player to stay in their same row, but based on where the enemies are located... that's the type of attack the player can do. When the enemies are in their back and middle row, the player can only do ranged attacks. When the enemy is in the front row... the player can only do melee attacks. Problem I'm having is you can't Seal/Unseal Melee and Ranged attacks for the player in the same row. I wasn't sure how to accomplish this... is it even possible?

    The reason I need this... I'm trying to create a battle where the player is by himself and being overrun by zombies. He needs to pick as many off from a distance before they move into their front row and start attacking him.

    I'm so close. The battle is almost where I want it. This is the last thing I need, and it'll be perfect.

    Thanks again for everyone's help! I really do appreciate it.
  5. Nevermind! :) I figured it out. Since the enemies always move forward each turn, and by turn 3 they're in the front row, I just Sealed Melee skill at the start of the battle... unsealed melee by turn 3 and then sealed my ranged skills. It works perfect!

    Thanks again for the help!!!