[solved] Change Weapon Animation

Status
Not open for further replies.

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
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.


Thanks in advance
 
Last edited:

Levolpehh

Veteran
Veteran
Joined
Nov 17, 2018
Messages
87
Reaction score
79
First Language
English
Primarily Uses
RMMV
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.
 

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
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?
 

Levolpehh

Veteran
Veteran
Joined
Nov 17, 2018
Messages
87
Reaction score
79
First Language
English
Primarily Uses
RMMV
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 :p

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
 
Last edited:

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
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 :p

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!
 

Levolpehh

Veteran
Veteran
Joined
Nov 17, 2018
Messages
87
Reaction score
79
First Language
English
Primarily Uses
RMMV
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:
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.
 
Last edited:

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
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:
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!
 

Levolpehh

Veteran
Veteran
Joined
Nov 17, 2018
Messages
87
Reaction score
79
First Language
English
Primarily Uses
RMMV
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 :p Enjoy!
 

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
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 :p 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"
 

Levolpehh

Veteran
Veteran
Joined
Nov 17, 2018
Messages
87
Reaction score
79
First Language
English
Primarily Uses
RMMV
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.
 

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
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!
 

Bella_Ghost

Warper
Member
Joined
Jan 7, 2019
Messages
4
Reaction score
3
First Language
English
Primarily Uses
Other
@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
 

Accatosh

Veteran
Veteran
Joined
Dec 16, 2018
Messages
85
Reaction score
14
First Language
Swedish
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

"You can thank my later", "But you haven't done anything", "Well, that's why ..."
Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

Forum statistics

Threads
105,884
Messages
1,017,238
Members
137,608
Latest member
Arm9
Top