[solved] Change Weapon Animation

Hello!
I'm using RMMV.
My characters in my game have guns.
But I want them to use a knife when they use a skill called Stab.
The problem is the weapon animation.
Which plugin do I need to do this?
How do I do it with the plugin?

I searched my best, but haven't find an answer.

These are the plugins i have right now.
0hVahOP.png


Thanks in advance
Olivia has a paid plugin if you're interested to switch weapons during skills and to equip multiple weapons n stuff. But I'm sure there's another way to do it that doesn't interest you. Is this weapon something you have equipped as like a secondary weapon or just only use it for stab?

If it's not an equitable weapon that you can switch to on the fly, and only used during the skill.. you could use YEP Weapon Animations and create a State with the notetags

<Weapon Image: x>
<Weapon Motion: thrust/swing/missile>

Then at the start of the skill, apply this state, it will change your weapon + animation, then at the end of the skill, remove the state. You'll need a bit of action sequencing knowledge for this though.
Olivia has a paid plugin if you're interested to switch weapons during skills and to equip multiple weapons n stuff. But I'm sure there's another way to do it that doesn't interest you. Is this weapon something you have equipped as like a secondary weapon or just only use it for stab?

If it's not an equitable weapon that you can switch to on the fly, and only used during the skill.. you could use YEP Weapon Animations and create a State with the notetags

<Weapon Image: x>
<Weapon Motion: thrust/swing/missile>

Then at the start of the skill, apply this state, it will change your weapon + animation, then at the end of the skill, remove the state. You'll need a bit of action sequencing knowledge for this though.

Thank you for your answer!
The weapon(dagger) should only be used when using the skill Stab.

How do I do it with state? I tried before posting this thread. How do I apply the state before the skill?

Where do I purchase the plugin from Olivia?
a.addState(x); a.atk * x - b.def * x

just add the a.addState(x) to your attack formula where x = the State you want to add. If you make the state last 1 action it should disappear immediately after you finish the attack. Apparently no action sequence needed 😛

edit: nvm set it to turn end. you can probably remove it with a custom action sequence though.. i'll play around a bit more
a.addState(x); a.atk * x - b.def * x

just add the a.addState(x) to your attack formula where x = the State you want to add. If you make the state last 1 action it should disappear immediately after you finish the attack. Apparently no action sequence needed 😛

edit: nvm set it to turn end. you can probably remove it with a custom action sequence though.. i'll play around a bit more.
Thank you very much! I'll test soon!
Code:
<whole action>
add state 67: user, show
perform start
motion standby: user
wait for movement
face user: targets
wait: 10
</whole action>

<target action>
motion attack: user
wait: 10
animation 136: target
wait: 10
action effect
Immortal: targets, false
wait: 10
</target action>

<follow action>
wait for animation
<follow action>

remove state 67: user

Play with that as you will. Paste that into the Skill Note. Remove any of the waiting and change animations and state names as necessary. You'll need to install Yanfly's Action Sequencing. Maybe Buff and States Core? not sure.

For the state:
Spoiler: State
state.png
Importantly set the Priority to 0, and the Icon to 0/Blank. This will make it appear last on your buffs list so people don't notice a blank box moving their buffs around. You need to include an Image titled "Dagger" or whatever you want to call it, in your Project>IMG>Weapons folder as specified by the YEP Weapon Animations plugin.
Code:
<whole action>
add state 67: user, show
perform start
motion standby: user
wait for movement
face user: targets
wait: 10
</whole action>

<target action>
motion attack: user
wait: 10
animation 136: target
wait: 10
action effect
Immortal: targets, false
wait: 10
</target action>

<follow action>
wait for animation
<follow action>

remove state 67: user

Play with that as you will. Paste that into the Skill Note. Remove any of the waiting and change animations and state names as necessary. You'll need to install Yanfly's Action Sequencing. Maybe Buff and States Core? not sure.

For the state:
Spoiler: State
Importantly set the Priority to 0, and the Icon to 0/Blank. This will make it appear last on your buffs list so people don't notice a blank box moving their buffs around. You need to include an Image titled "Dagger" or whatever you want to call it, in your Project>IMG>Weapons folder as specified by the YEP Weapon Animations plugin.
Thank you!
No problem! It actually taught me a few things as well. I never knew what State Priority was before this, so now I can finally hide my invisible enemy buffs properly 😛 Enjoy!
No problem! It actually taught me a few things as well. I never knew what State Priority was before this, so now I can finally hide my invisible enemy buffs properly 😛 Enjoy!
There is no animations!:rsad: They are staying idle. Do I need all Action Sequencing plugins? I have installed Action Sequencing Pack 1 and Buff and States Core.
I changed "state 67" to "state 11"
Spoiler
Hcit44x.png
It's best to just download all 3. The Action Sequencing is pretty useful for Skill and Battle development. It makes your battles a little more engaging in my opinion.
It's best to just download all 3. The Action Sequencing is pretty useful for Skill and Battle development. It makes your battles a little more engaging in my opinion.
Thank you!
@Accatosh Wait, i think you can just set Skill Animation directly for that Stab skill
Unless you set it to Normal Attack, it won't affect by your weapon animation
upload_2019-1-7_1-14-2.png
It's best to just download all 3. The Action Sequencing is pretty useful for Skill and Battle development. It makes your battles a little more engaging in my opinion.
It worked! Thank you very much! I needed the two other Action Sequencing packs.
@Accatosh Wait, i think you can just set Skill Animation directly for that Stab skill
Unless you set it to Normal Attack, it won't affect by your weapon animation
View attachment 106462
Thank you, but I wanted to have the weapon animation.
Thread closed IgnoreMe

Original thread: https://forums.rpgmakerweb.com/threads/solved-change-weapon-animation.104116/