■ Information ╒══════════════════════════╛ EST - Battle Royale EVO Version: 1.1 By Estriole File name: EST_BATTLE_ROYALE_EVO.js ■ Introduction ╒══════════════════════════╛ This plugin allow us to have battle royale in our game... what is battle royale? it's a battle with three or more combatant that is fought until only one combatant remain. This plugin also can make your actor 'bribe/recruit/persuade' enemy to fight for you so you can have [Party + Allied Enemies] vs [Enemies] vs [Enemies] vs [Enemies] vs [Enemies] vs [Enemies] they will attack each other and party. also... Allied Enemy cannot be controlled. it will become auto battler. ■ Features ╒══════════════════════════╛ - Have BATTLE ROYALE. player + allied_enemy vs enemy vs enemy vs enemy vs enemy - you can bribe / recruit enemy to fight for you (automatic battle though) (also you cannot heal the battler) - your skill that attack all enemies will not hit bribed enemy - use state so it's simple if you want to make certain enemy change sides. ■ Changelog ╒══════════════════════════╛ v1.0 2015.10.27 Initial Release ■ Plugin Download ╒══════════════════════════╛ Download Demo (Sadly too lazy to create another demo... so i put it inside build and decor one) (also creating demo is not like ACE which we can have <5mb per demo) ■ Screenshot ╒══════════════════════════╛ ■ How to use ╒══════════════════════════╛ 1) Give the enemy the state that mark it's faction in battle you could also add state that mark enemy as bribed to make it battle for you. 2) if you use Tsukihime Enemy Reinforcement... and add enemy more than 8 member... you might need script call / plugin call to add the state for the rest of the troop. plugin call: add_state_to_troop_member troopIndex stateId WARNING!! index start at 0. so first enemy in troop have 0 as index ex: add_state_to_troop_member 2 14 will add state 14 to third enemy in the troop script call: this.addStateToTroopMember(troopIndex,StateId); WARNING!! index start at 0. so first enemy in troop have 0 as index ex: this.addStateToTroopMember(2,14); will add state 14 to third enemy in the troop 3) since the faction and bribe is marked by state. you could just create a skill to add / remove that state or use battle event to add / remove that state. 4) ready for epic Battle Royale !!! 5) to check how many enemy has certain id in troops $gameTroop.checkHowManyEnemyHasId(id); example: $gameTroop.checkHowManyEnemyHasId(1); will return how many enemy id 1 in the troop. you can use this scriptcall in conditional branch example: $gameTroop.checkHowManyEnemyHasId(1) == 3; will return true if troop have 3 instance of enemy id 1 6) to check how many enemy has certain state in troops $gameTroop.checkHowManyEnemyHasState(stateId); example: $gameTroop.checkHowManyEnemyHasState(17); will return how many enemy in the troop inflicted with state 17 you can use this scriptcall in conditional branch example: $gameTroop.checkHowManyEnemyHasState(17) > 2; will return true if troop have more than 2 member that inflicted by state 17 7) now you can add 'neutral' enemy... neutral enemy is like faction enemy. it form it's own faction containing all neutral enemy... it will attack party or other enemy that's not neutral. but you don't have to kill it to win the battle. there's a catch though... if you kill it... you will get exp and loot from that enemy. else... no loot and exp from it. 8) for ADVANCED coder... you could manually set friend and opponent unit to enemy. by creating Game_Troop unit and filling it with enemy / actor. then assign it to enemy._manualOpponent and enemy._manualFriend example script call: var tmp = new Game_Troop(); tmp._enemies = ; tmp._enemies.push($gameActors.actor(1)); tmp._enemies.push($gameActors.actor(2)); en = $gameTroop.members(); en._manualOpponent = tmp; en2 = $gameTroop.members(); en2._manualFriend = tmp; will set first member of enemy in troop to have actor 1 and 2 as it's enemy... and second member of enemy in troop to have actor 1 and 2 as it's friend... ■ Dependencies ╒══════════════════════════╛ Optional: Tsukihime Enemy Reinforcement to add more enemies... it won't be royale enough with just 8 enemies ■ Compatibility ╒══════════════════════════╛ I'm new in JS... and MV is new engine... so i cannot say for sure. but it should be compatible with most things. ■ Parameters ╒══════════════════════════╛ Faction A State ID > state to mark enemy as faction A Faction B State ID > state to mark enemy as faction B Faction C State ID > state to mark enemy as faction C Faction D State ID > state to mark enemy as faction D Faction E State ID > state to mark enemy as faction E Bribed State ID > state to mark enemy as our allies YES... you could have party + allied troop vs 4 vs 3 vs 6 vs 7 vs 2 actually if you really want it... you can edit the js file... and add your new faction... just add Faction E State ID Faction F State ID and so on... in the parameter... but i think 5 faction is lots more than enough for most games. ■ License ╒══════════════════════════╛ Free to use in all project (except the one containing pornography) as long as i credited (ESTRIOLE). ■ Support ╒══════════════════════════╛ While I'm flattered and I'm glad that people have been sharing and asking support for scripts in other RPG Maker communities, I would like to ask that you please avoid posting my scripts outside of where I frequent because it would make finding support and fixing bugs difficult for both of you and me. If you're ever looking for support, I can be reached at the following: [ http://forums.rpgmakerweb.com/ ] pm me : estriole ■ Author's Notes ╒══════════════════════════╛ Let's Battle Royale to Death !!! if you record a video for this battle royale... please send me the link and i will add it in this post. i'm not used to creating video .