Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Vanguard And Rearguard - VanguardAndRearguard.js
Plugin desc : Frontline and rearline plugin
License : MIT License
Author : Triacontane
Website : https://triacontane.blogspot.com
Desc page : https://github.com/triacontane/RPGMakerMV/tree/mz_master/VanguardAndRearguard.js
Download Page : https://raw.githubusercontent.com/munokura/triacontane-MZ-plugins/refs/heads/main/VanguardAndRearguard.js
File name : VanguardAndRearguard.js
Help of plugin :
@target MZ @url https://github.com/triacontane/RPGMakerMV/tree/mz_master/VanguardAndRearguard.js @plugindesc Frontline and rearline plugin @author Triacontane @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/triacontane-MZ-plugins ). Original plugin by Triacontane. Please check the latest official version at: https://triacontane.blogspot.com ----- VanguardAndRearguard.js Adds the concept of ”Frontline” and ”Rearline” to battle. After specifying the ”Frontline” and ”Rearline” states, set the ”Frontline” and ”Rearline” special effects using ”Characteristics” and other settings. States designated as ”Frontline” or ”Rearline” will not be removed even if the removal conditions are met. To change a state, choose one of the following methods: - Select the same character using ”Sort” in the menu screen. - Execute the ”Change” command in the battle screen. - Grant the target state via an event. If you enable a change during battle, set the target of the change skill to ”User” and also set the following in the memo field. (We recommend copying the existing skill ”Defense.”) <Change> <Change> The above memo field is also valid for skills other than Change. If you want to change to the skill user, set the following in the memo field. <User Change> <UserChange> If you want to create a skill that targets only the vanguard or rearguard, please set the following in the skill’s memo field. <Vanguard Only> # Skill that targets only the vanguard <VanguardOnly> <Rearguard Only> # Skill that targets only the rearguard <RearguardOnly> However, this is invalid when used from the menu screen. Also, since you cannot restrict the target selection, it can only be used for skills with a ”All” area of effect. If you want the enemy character to start as a rearguard, please set the following in the memo field. <Rearguard> <Rearguard> If you want to prohibit vanguard/rearguard changes and fix them to vanguard or rearguard, please set the following in the actor and enemy character’s memo field. <Change Disable> # Changing the target battler is prohibited. <ChangeDisable> # Same as above This plugin requires the base plugin ”PluginCommonBase.js.” ”PluginCommonBase.js” is located in the following folder under the RPG Maker MZ installation folder: dlc/BasicResources/plugins/official Terms of Use: You may modify and redistribute this plugin without permission from the author, and there are no restrictions on its use (commercial, R18+, etc.). This plugin is now yours. @param VanguardStateId @text Vanguard State ID @desc The vanguard state ID. @type state @default 11 @param RearguardStateId @text Rearguard State ID @desc The rear guard state ID. @type state @default 12 @param ChangeInMenu @text Menu change possible @desc You can now switch between frontline and rearline on the menu screen. @type boolean @default true @param TopActorFixedSwitch @text First actor fixed switch @desc When the specified switch is ON, the order of the first actor can be fixed. @type switch @default 0 @param RearDefense @text rear defense @desc As long as the frontline members are alive, the rearline members will not be targeted. @type boolean @default false @param SkillIdChange @text Change Skill ID @desc This is the skill ID executed by the frontline/rearline switching command during battle. If you specify 0, you will not be able to change during battle. @type skill @default 0 @param RearguardOffsetX @text Rearguard X bonus @desc Specifies the X coordinate when in the rear guard position relative to when in the front guard position. @type number @default 48 @min -9999 @max 9999 @param RearguardOffsetY @text Rearguard Y-correction @desc Specifies the X coordinate when in the rear guard position relative to when in the front guard position. @type number @default 0 @min -9999 @max 9999 @param EnemyRearguardOffsetX @text Rearguard enemy character X correction @desc Specifies the X coordinate of the enemy character when in the rear guard position relative to when in the front. In the side view, it will be reversed. @type number @default 48 @min -9999 @max 9999 @param EnemyRearguardOffsetY @text Rearguard enemy character Y correction @desc Specifies the X coordinate of the enemy character when in the rear guard position relative to when in the front line position. @type number @default 0 @min -9999 @max 9999 @param ChangeSpeed @text Change Speed @desc This is the speed at which graphics change during battle. @type number @default 8 @param HiddenIcon @text Hiding the icon @desc Hides the frontline and rearline state icons of enemy characters (actor icons will still be displayed). @type boolean @default false @param FaceShift @text Face Shift @desc On the menu screen, the rear guard’s face graphic will be shifted slightly to the right. @type boolean @default true @param ShiftVanguard @text Fill the vanguard @desc When the front line is wiped out, the rear line will be forced to move to the front line. Also, if there are no front line members, the rear line will not be able to move to the front line. @type boolean @default false @param ValidActor @text Applies to Actors @desc The frontline and rearline specifications will be applied to the actor side. @type boolean @default true @param ValidEnemy @text Applies to enemy characters @desc The frontline and rearline specifications are applied to enemy characters. @type boolean @default true @param RearguardLimit @text Rearguard Member Limit @desc The upper limit of rear guard members. Set to 0 for unlimited. @type number @default 0 @param EnemyRearBorderX @text Enemy character rear line X coordinate @desc If the enemy character’s X coordinate (center origin) is smaller than the specified line, they will automatically be placed in the rear. @type number @default 0 @param EnemyRearBorderY @text Enemy character rear line Y coordinate @desc If the enemy character’s Y coordinate (bottom origin) is smaller than the specified line, they will automatically be placed in the rear. @type number @default 0 @param PartyDefeat @text Party defeat conditions @desc This variable retrieves the party’s defeat conditions. @type variable @default 0 @param TroopDefeat @text Enemy group defeat conditions @desc This variable retrieves the defeat conditions for the enemy group. @type variable @default 0