Welcome to PGMV! 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.
FTKR Ex Sv Motion - FTKR_ExSvMotion.js
Plugin desc : v1.4.0 Plugin that extends SV character motion
License : MIT License
Author : Futokoro
Desc page : https://github.com/munokura/futokoro-MV-plugins
Download Page : https://raw.githubusercontent.com/munokura/futokoro-MV-plugins/refs/heads/master/FTKR_ExSvMotion.js
File name : FTKR_ExSvMotion.js
Help of plugin :
@plugindesc v1.4.0 Plugin that extends SV character motion @author Futokoro @url https://github.com/munokura/futokoro-MV-plugins @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/futokoro-MV-plugins ). Original plugin by Futokoro. Please check the URL below for the latest version of the plugin. URL https://github.com/futokoro/RPGMaker ----- ----------------------------------------------------------------------------- Overview ----------------------------------------------------------------------------- Implementing this plugin changes the motions of SV characters during various actor states. ----------------------------------------------------------------------------- Setup ----------------------------------------------------------------------------- 1. Add this plugin to the "Plugin Manager." 2. When using with other plugins, This plugin must be placed below the following plugins: YEP_BattleEngineCore YEP_X_AnimatedSVEnemies YED_SideviewBattler ----------------------------------------------------------------------------- Action Motion Settings ----------------------------------------------------------------------------- Sets the actor's motions when not taking damage, attacking, or performing other actions. The action motions that can be set are as follows: Idle, Damage, Evasion, Thrust, Sweep, Projectile, Skill, Magic, Item Specify one of the following code names in the Action Motion Settings plugin parameters. Motion Codes walk, wait, chant, guard, damage, Evasion, thrust, swing, missile, skill, spell, item, escape, victory, dying, abnormal, sleep, dead, custom*, other* custom* is a custom motion. (* indicates a number) other* is a motion with a different image. (* indicates a number) ----------------------------------------------------------------------------- Setting Motions Individually for Skills and Items ----------------------------------------------------------------------------- You can change the motions when waiting or using a skill or item by setting the following tags in the skill or item's Note field. <ESM MOTION: name> Changes the motion when using the skill to name. Set the motion code for name. <ESM WEAPON_MOTION> This tag will set the motion to use the weapon you are holding. <ESM CHANT_ON> This tag will set the motion when waiting to execute a skill to the chant motion. <ESM CHANT_OFF> This tag disables the chant motion. Even if the skill is set as a SV magic skill, the chant motion will not be executed. ----------------------------------------------------------------------------- About Custom Motions ----------------------------------------------------------------------------- Motions specified with custom* (where * is a number) are newly configurable motions with this plugin. You can display multiple motions consecutively by setting the motion code to display in the following plugin parameters. Up to eight custom motions can be configured. <Custom * Non Loop> : The motion with the code set here will not loop. <Custom * Loop> : The motion with the code set here will loop. You can enter multiple motion codes by using a comma (,). You cannot use custom* with these parameters. About Motion Looping The motion set in <Custom * Loop> will loop. Even if multiple codes are entered, they will be displayed in order and looped. If not set, the custom motion will not loop. Configuration Example) <Custom * Non-Loop> : victory, skill <Custom * Loop> : item, walk If set as above, the motions will be displayed in the following order: victory ⇒ skill ⇒ item ⇒ walk ⇒ item ⇒ walk ⇒ ... |→Loop from here ----------------------------------------------------------------------------- About Alternate Image Motions ---------------------------------------------------------------------------- Motions specified with "other*" (where * is a number) are actor-specific motions that can be newly set using this plugin. You can use images other than the SV Battle character image selected in the actor's "Image" setting in the database. The image to be used can be set in the actor's Note field using the following tag: <ESM_IMAGE:filename> Save the image file, filename.png, in img/sv_actors/. The image format that can be used is the same as for SV Battle character images. The * number in "other*" indicates which motion within the image to use. A set of three images counts the motion in the top left as 0, the one below as 1, and the one to the right as 6. You can use motions from "other0" through "other17." Note that each individual image motion does not loop. ----------------------------------------------------------------------------- Setting State Motions ----------------------------------------------------------------------------- Sets motions for the actor's state: input: Entering a command chant: Chanting guard: Defending/Waiting for Guard state*: State being applied ( * indicates the state motion number) (e.g., state4) victory: Victory in battle escape: Escaping dying: Near death (HP below 25%) custom*: Custom condition ( * indicates a number) (e.g., custom1) action: General action motion (leave the motion name blank) Motions can be set from motion 1 through motion 16. The higher the number, the higher the motion priority. <Motion * Name> : Specify the motion name code. : walk, wait, chant, guard, damage, Evasion, thrust, swing : missile, skill, spell, item, escape, victory, dying : abnormal, sleep, dead, custom*, other* <Motion * Condition> : Motion condition. Select from the nine options listed above. : Motions set as state motions will loop (except action). *If no action is set, it will take priority over all action motions. ----------------------------------------------------------------------------- State Motion Settings ----------------------------------------------------------------------------- You can set the motion associated with a state by entering the following tags in the state's Note field. <ESM MOTION: x> : Set the state motion number to x. : If no tag is specified, the default setting will be the [SV] motion setting. <ESM FIXED_MOTION> : Disables motion updates while the state is active. : For example, if this state is activated during a defensive motion, the defensive motion will be fixed and the character will continue to perform the defensive motion regardless of any subsequent actions until the state is released. ----------------------------------------------------------------------------- Custom Condition Settings ----------------------------------------------------------------------------- You can set custom conditions for the <Motion * Condition> plugin parameter for the state motion. Enter a JS condition expression in the <Custom Condition *> plugin parameter. [About the Condition Expression Value] Like damage calculation formulas, you can use values other than fixed values by entering a formula. The following code can be used: a.param - References the user's parameter. (a.hit is the user's hit rate.) v[x] - References the value of variable ID x. s[x] - References the value of switch ID x. ----------------------------------------------------------------------------- License for this plugin ----------------------------------------------------------------------------- This plugin is released under the MIT License. Copyright (c) 2017,2018 Futokoro http://opensource.org/licenses/mit-license.php Plugin source https://github.com/futokoro/RPGMaker/blob/master/README.md ----------------------------------------------------------------------------- Change History ----------------------------------------------------------------------------- v1.4.0 - 2019/04/13: Added Traits 1. Added the ability to set the action state for the state motion priority. v1.3.2 - 2019/03/10: Added Traits 1. Added a plugin parameter, Enabled Refresh In PartyCmd, for plugins that skip party commands. v1.3.1 - 2018/05/31: Bug Fixes 1. Fixed an issue where all party members would momentarily perform a defensive motion when one party member used Guard. v1.3.0 - 2018/05/22: Traits Addition 1. Added a Traits to disable motion updates while certain states are in effect. v1.2.10 - 2018/04/29: Bug Fixes 1. Fixed an issue where an error would occur when setting a non-looping motion as a state motion. v1.2.9 - 2018/04/28: Bug Fixes 1. Fixed an issue where an error would occur when certain motions were performed with Log Display enabled in the Debug Settings. v1.2.8 - 2018/04/28: Bug Fixes 1. Fixed an issue where the state motion settings for Collapse characters were not Reflectioned when combined with YEP_BattleEngineCore.js. v1.2.7 - 2018/04/12: Bug Fixes 1. Fixed a bug where victory animations would not be executed when combined with YEP_VictoryAftermath.js. v1.2.6 - 2018/04/10: Bug Fixes and Added Traits 1. Fixed an issue where animations other than 3 frames could not be displayed when combined with YED_SideviewBattler. 2. Added a tagging Traits to trigger casting animations for skills. v1.2.5 - 2017/08/24: Bug Fixes 1. Revised the Note field reading process. v1.2.4 - 2017/07/07: Bug Fixes 1. Fixed an issue where the escape status animation was active outside of Battle. v1.2.3 - May 19, 2017: Bug Fixes 1. Fixed an issue where defensive motion priority was not being Reflectioned. v1.2.2 - May 11, 2017: Deleted unnecessary code. 1. Deleted unnecessary log output. v1.2.1 - May 10, 2017: Bug Fixes 1. Supports FTKR_FacialImageDifference.js v1.2.0 - May 9, 2017: Traits Additions 1. Added the ability to set motions using different SV images. 2. Added the ability to individually set skill and item use motions. 3. Added the ability to set HP recovery motions. 4. Added a custom condition Traits to set custom conditions for status motions. v1.1.5 - May 6, 2017: Bug Fixes 1. Fixed an issue where state motions would not be properly applied if the state motion tag was not set. v1.1.4 - April 30, 2017: Bug Fixes 1. Fixed an issue where motion data was not being passed correctly to YED_SideviewBattler. v1.1.3 - April 27, 2017: Bug Fixes and Added Traits 1. Fixed a bug related to requestMotion(). 2. Added support for YED_SideviewBattler's custom battler set. 3. Added support for YEP_X_AnimatedSVEnemies' enemy motions. v1.1.2 - April 27, 2017: Bug Fixes 1. Fixed an issue where state motions 10 and above were not being applied. v1.1.1 - April 26, 2017: Support for YEP_BattleEngineCore v1.1.0 - April 25, 2017: Specification changes and Traits additions 1. Added the ability to change action motions such as attacks. 2. Added motions for battle victory, escape, and near-death situations to state motions. 3. Revised default state motion settings. 4. Added the ability to combine multiple motions and display them consecutively. v1.0.1 - April 21, 2017: Bug fixes 1. Fixed an issue where state tag settings were not being read correctly. v1.0.0 - April 19, 2017: First version created ----------------------------------------------------------------------------- @param --行動モーションの設定-- @text --Action motion settings-- @param Wait Motion @desc Sets the waiting motion. Default: wait @default wait @param Damage Motion @desc Set the damage motion Default damage @default damage @param Evade Motion @desc Sets the evasion motion. Default: Evasion @default evade @param Thrust Motion @desc Sets thrust motion Default thrust @default thrust @param Swing Motion @desc Set the sweeping motion Default swing @default swing @param Missile Motion @desc Sets the projectile motion. Default missile @default missile @param Skill Motion @desc Sets the defensive use motion. Default skill @default skill @param Spell Motion @desc Sets the magic use motion. Default spell @default spell @param Item Motion @desc Set the item use motion Default item @default item @param Recovery Motion @desc Set the motion when recovering HP @param Undecided Motion @desc Set the motion to display when the motion image is unknown: Default is walk @default walk @param --状態モーション1 設定-- @text --State Motion 1 Settings-- @param Motion 1 name @desc Set the code for motion 1. Default is dying @default dying @param Motion 1 Condition @desc Sets the state of motion 1. Default is dying @default dying @param --状態モーション2 設定-- @text --State Motion 2 Settings-- @param Motion 2 name @desc Set the code for motion 2. Default: abnormal @default abnormal @param Motion 2 Condition @desc Sets the state of motion 2. Default: state1 @default state1 @param --状態モーション3 設定-- @text --State Motion 3 Settings-- @param Motion 3 name @desc Set the code for motion 3. Default guard @default guard @param Motion 3 Condition @desc Set the state of motion 3. Default guard @default guard @param --状態モーション4 設定-- @text --State Motion 4 Settings-- @param Motion 4 name @desc Set the chord for motion 4. Default: chant @default chant @param Motion 4 Condition @desc Sets the state of motion 4. Default: chant @default chant @param --状態モーション5 設定-- @text --State Motion 5 Settings-- @param Motion 5 name @desc Set the code for Motion 5. Default sleep @default sleep @param Motion 5 Condition @desc Sets the state of motion 5. Default is state2 @default state2 @param --状態モーション6 設定-- @text --State Motion 6 Settings-- @param Motion 6 name @desc Sets the code for motion 6. Default is dead @default dead @param Motion 6 Condition @desc Sets the state of motion 6. Default is state3 @default state3 @param --状態モーション7 設定-- @text --State Motion 7 Settings-- @param Motion 7 name @desc Set the chords for Motion 7. @param Motion 7 Condition @desc Sets the state of motion 7. @param --状態モーション8 設定-- @text --State Motion 8 Settings-- @param Motion 8 name @desc Set the chords for Motion 8. @param Motion 8 Condition @desc Sets the state of Motion 8. @param --状態モーション9 設定-- @text --State Motion 9 Settings-- @param Motion 9 name @desc Set the code for Motion 9. Default: walk @default walk @param Motion 9 Condition @desc Sets the state of motion 9. Default input @default input @param --状態モーション10 設定-- @text --State Motion 10 Settings-- @param Motion 10 name @desc Set the code for motion 10. Default: victory @default victory @param Motion 10 Condition @desc Sets the state of motion 10. Default is victory @default victory @param --状態モーション11 設定-- @text --State Motion 11 Settings-- @param Motion 11 name @desc Set the code for Motion 11. Default escape @default escape @param Motion 11 Condition @desc Sets the state of motion 11. Default escape @default escape @param --状態モーション12 設定-- @text --State Motion 12 Settings-- @param Motion 12 name @desc Set the code for motion 12. @param Motion 12 Condition @desc Sets the state of motion 12. @param --状態モーション13 設定-- @text --State Motion 13 Settings-- @param Motion 13 name @desc Set the code for motion 13. @param Motion 13 Condition @desc Set the state of motion 13. @param --状態モーション14 設定-- @text --State Motion 14 Settings-- @param Motion 14 name @desc Set the code for motion 14. @param Motion 14 Condition @desc Sets the state of motion 14. @param --状態モーション15 設定-- @text --State Motion 15 Settings-- @param Motion 15 name @desc Set the code for motion 15. @param Motion 15 Condition @desc Sets the state of motion 7. @param --状態モーション16 設定-- @text --State Motion 16 Settings-- @param Motion 16 name @desc Set the code for Motion 16. @param Motion 16 Condition @desc Sets the state of motion 7. @default action @param --カスタムモーション1 設定-- @text --Custom Motion 1 Settings-- @param Custom 1 Non Loop @desc Set the code for the non-looping motion of Custom Motion 1. @param Custom 1 Loop @desc Set the code for the looping motion of Custom Motion 1. @param --カスタムモーション2 設定-- @text --Custom Motion 2 Settings-- @param Custom 2 Non Loop @desc Set the code for the non-looping motion of Custom Motion 2. @param Custom 2 Loop @desc Set the code for the looping motion of Custom Motion 2. @param --カスタムモーション3 設定-- @text --Custom Motion 3 Settings-- @param Custom 3 Non Loop @desc Set the code for the non-looping motion of Custom Motion 3. @param Custom 3 Loop @desc Set the code for the looping motion of Custom Motion 3. @param --カスタムモーション4 設定-- @text --Custom Motion 4 Settings-- @param Custom 4 Non Loop @desc Set the code for the non-looping motion of Custom Motion 4. @param Custom 4 Loop @desc Set the code for the looping motion of Custom Motion 4. @param --カスタムモーション5 設定-- @text --Custom Motion 5 Settings-- @param Custom 5 Non Loop @desc Set the code for the non-looping motion of Custom Motion 5. @param Custom 5 Loop @desc Set the code for the looping motion of Custom Motion 5. @param --カスタムモーション6 設定-- @text --Custom Motion 6 Settings-- @param Custom 6 Non Loop @desc Set the code for the non-looping motion of Custom Motion 6. @param Custom 6 Loop @desc Set the code for the looping motion of Custom Motion 6. @param --カスタムモーション7 設定-- @text --Custom Motion 7 Settings-- @param Custom 7 Non Loop @desc Set the code for the non-looping motion of Custom Motion 7. @param Custom 7 Loop @desc Set the code for the looping motion of Custom Motion 7. @param --カスタムモーション8 設定-- @text --Custom Motion 8 Settings-- @param Custom 8 Non Loop @desc Set the code for the non-looping motion of Custom Motion 8. @param Custom 8 Loop @desc Set the code for the looping motion of Custom Motion 8. @param --カスタムコンディション 設定-- @text --Custom Condition Settings-- @param Custom Condition 1 @desc Set the conditions for Custom Condition 1. @param Custom Condition 2 @desc Set the conditions for Custom Condition 2. @param Custom Condition 3 @desc Set the conditions for Custom Condition 3. @param Custom Condition 4 @desc Set the conditions for Custom Condition 4. @param Custom Condition 5 @desc Set the conditions for Custom Condition 5. @param -- 特殊 設定-- @text -- Special Settings -- @param Enabled Refresh In PartyCmd @desc Do not refresh motion when a party command is issued. Enable this when using a plugin that skips party commands. @default false @type boolean @on valid @off invalid @param -- デバッグ 設定-- @text -- Debug Settings -- @param Output Motion Log @desc Param to output motion sprite information to the log. 1 - enable, 0 - disable @default 0 @param Output Motion Pattern Log @desc A function to output motion sprite pattern update information to the log. 1 - Enable, 0 - Disable @default 0