An open library of RPG Maker MV plugins, powered by the community.

PGMV - The Community-Driven Plugin Library for RPG Maker MV

MV plugins

Motion Setting - MotionSetting.js

Plugin desc : ver1.021/Reconfigure skill action motions.

License : MIT License

Author : Yana

Website : https://w.atwiki.jp/pokotan/pages/3.html

Desc page : https://github.com/munokura/Yana-MV-plugins

Download Page : https://raw.githubusercontent.com/munokura/Yana-MV-plugins/refs/heads/master/Battle/MotionSetting.js

File name : MotionSetting.js

Help of plugin :

@plugindesc ver1.021/Reconfigure skill action motions.
@author Yana
@url https://github.com/munokura/Yana-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/Yana-MV-plugins ).
Original plugin by Yana.
-----
How to Use
------------------------------------------------------
Note: In version 1.01, the ability to display weapon graphics with various motions was added, making it necessary to set skill types that do not display weapon graphics set for weapons and shields.
If you do not specify this, the weapon will be swung even for skills that do not require it.
(If specifying the skill type is difficult, please specify the motion individually or disable weapon graphics.)
As a result, the following two specifications apply:
- When using defense, weapon graphics set for weapons are ignored.
- When using items, weapon graphics set for weapons and shields are ignored.

Weapon image indexes are set to 12. This also applies to Weapon 3 and later.
By default, Weapon 3 images are only half the size, so if you want to use images 31-36,
resize Weapon 3 and position them the same as Weapon 1 and 2.

Basic motion settings can be configured using the plugin parameters.
You can also change the motion of a skill or other item you've set to xxx by entering
<MotionChange: xxx>
in the Note field for an actor, skill, weapon, or shield.
The priority order is skill > shield > weapon > actor.
The available options for xxx are:
attack → Normal attack motion
swing → Swing motion (If the weapon is not a swing motion, the weapon will not be displayed)
thrust → Thrust motion (If the weapon is not a thrust motion, the weapon will not be displayed)
missile → Shooting motion (If the weapon is not a shooting motion, the weapon will not be displayed)
skill → Skill motion
spell → Magic motion
item → Item motion
escape → Escape motion
victory → Victory motion
dying → Dying motion
abnormal → Abnormal status motion
sleep → Sleeping motion
dead → Collapse motion
walk → Walking motion
wait → Waiting motion
chant → Chanting motion
guard → Defensive motion
damage → Damage motion
Evasion → Evasion motion
In addition, by adding 2 to the end of any motion name other than attack, you can set a motion that switches between loop states.

Additionally, you can change the weapon image displayed during the skill's animation by entering
<ChangeWeaponGraphics:x>
in the Note field for an actor, skill, weapon, or shield.
In this case, x is calculated using eval.
Available variables are:
a → User
w → Topmost equipped weapon
wtypeId → Weapon type of the weapon in question
mid → Weapon image ID of the weapon in question
s → Topmost equipped shield
atypeId → Armor type of the shield in question
sid → Weapon image ID of the shield in question (0 if the shield does not have a direct setting).
If the result of this calculation is less than 0, the weapon graphic will not be displayed.
To hide the weapon graphic, set it to <ChangeWeaponGraphics:-1>.

Example: Set the weapon image ID to a value 12 spaces off the weapon image ID.
<ChangeWeaponGraphics: mid+12>

Also,
<ChangeDamageMotion:xxx>
<ChangeEvasionMotion:xxx>
<ChangeMagicEvasionMotion:xxx>
<ChangeVictoryMotion:xxx>
<ChangeEscapeMotion:xxx>

You can use the following to display weapon images during each action:

<ShowDamageWeaponGraphic:x>
<ShowEvasionWeaponGraphic:x>
<ShowMagicEvasionWeaponGraphic:x>
<ShowVictoryWeaponGraphic:x>
<ShowEscapeWeaponGraphic:x>

You can also use the following to display weapon images during each action.

In addition, you can specify 2 at the end of the weapon image display.
The image specified in weapon image display 2 will be displayed in front of the player and can coexist with the image displayed by the regular weapon image display.

Example: Display the dodge motion and shield in the shield Note field.
<ChangeEvasionMotion:guard> ← Changes the dodge motion to guard.
<ShowEvasionWeaponGraphic2:26> ← Displays weapon image number 26 (the second weapon in Weapon 3) in front of the character during dodge.

------------------------------------------------------
Terms of Use
------------------------------------------------------
This plugin is released under the MIT License.
http://opensource.org/licenses/mit-license.php
------------------------------------------------------
Update History:
ver1.021:180917
Updated plugin parameter specifications to 1.5.0.
ver1.02:
Added the ability to change the color tone of weapon images.
ver1.01:
Added the ability to change weapon images and expand their display.
ver1.00:
Released

@param PhysicalSkillMotion
@desc The motion to use for physical skills. If blank, it will be the default.
@default attack
@type select
@option Normal attack motion
@value attack
@option Swing motion (if the weapon is not in swing motion, the weapon will not be displayed)
@value swing
@option Thrust motion (if the weapon is not in thrust motion, the weapon will not be displayed)
@value thrust
@option Shooting animation (if the weapon is not in shooting animation, the weapon will not be displayed)
@value missile
@option Skill activation motion
@value skill
@option Magic activation motion
@value spell
@option Item activation motion
@value item
@option Escape motion
@value escape
@option Victory motion
@value victory
@option Dying Motion
@value dying
@option Abnormal status motion
@value abnormal
@option Sleep motion
@value sleep
@option Collapse motion
@value dead
@option Walking motion
@value walk
@option Waiting motion
@value wait
@option Chanting motion
@value chant
@option Defensive Motion
@value guard
@option Damage Motion
@value damage
@option Evasion Motion
@value evade
@option none

@param MagicalSkillMotion
@desc This is the motion used for magic skills. If left blank, it will be the default.
@type select
@option Normal attack motion
@value attack
@option Swing motion (if the weapon is not in swing motion, the weapon will not be displayed)
@value swing
@option Thrust motion (if the weapon is not in thrust motion, the weapon will not be displayed)
@value thrust
@option Shooting animation (if the weapon is not in shooting animation, the weapon will not be displayed)
@value missile
@option Skill activation motion
@value skill
@option Magic activation motion
@value spell
@option Item activation motion
@value item
@option Escape motion
@value escape
@option Victory motion
@value victory
@option Dying Motion
@value dying
@option Abnormal status motion
@value abnormal
@option Sleep motion
@value sleep
@option Collapse motion
@value dead
@option Walking motion
@value walk
@option Waiting motion
@value wait
@option Chanting motion
@value chant
@option Defensive Motion
@value guard
@option Damage Motion
@value damage
@option Evasion Motion
@value evade
@option none

@param CertainSkillMotion
@desc This is the motion used for guaranteed hit skills. If left blank, it will be the default.
@type select
@option Normal attack motion
@value attack
@option Swing motion (if the weapon is not in swing motion, the weapon will not be displayed)
@value swing
@option Thrust motion (if the weapon is not in thrust motion, the weapon will not be displayed)
@value thrust
@option Shooting animation (if the weapon is not in shooting animation, the weapon will not be displayed)
@value missile
@option Skill activation motion
@value skill
@option Magic activation motion
@value spell
@option Item activation motion
@value item
@option Escape motion
@value escape
@option Victory motion
@value victory
@option Dying Motion
@value dying
@option Abnormal status motion
@value abnormal
@option Sleep motion
@value sleep
@option Collapse motion
@value dead
@option Walking motion
@value walk
@option Waiting motion
@value wait
@option Chanting motion
@value chant
@option Defensive Motion
@value guard
@option Damage Motion
@value damage
@option Evasion Motion
@value evade
@option none

@param HideWeaponSkillTypes
@desc This is a skill type whose motion and image are not affected by weapons or shields.
@default 1
@type number

スポンサードリンク

-MV plugins

Copyright© PGMV - The Community-Driven Plugin Library for RPG Maker MV , 2026 All Rights Reserved.