Cast Animation help

Hello Everyone!

I am making a Military-Style game, I'm having a little issue with the ''Shooting Abilities'' I set up to have instead of ''magic''.
Basically every kind of weapon has different abilities such as an ''Automatic Mode'' which consumes more bullets but deals more dmg or ''Headshot'' which is a trickshot for Sniper Rifle etc..

My problem is that once they do these attacks they automatically go with the ''missile'' animation which is ok for magic, but not for shooting with a gun! When they do their ''Attack'' they do use my custom animation for weapons (I tied different weapons sprites to different weapons with yanfly's weapon animation plugin), but I cannot make them do it for these skills...so, is there a way to have them do the weapon animation on skills?
you need to set the skill to use the "normal attack animation" - just compare the settings with the attack skill (skill #1), because that is how it needs to be set (attack is a skill like any other, it just has an hardcoded shortcut in the command menu)
you need to set the skill to use the "normal attack animation" - just compare the settings with the attack skill (skill #1), because that is how it needs to be set (attack is a skill like any other, it just has an hardcoded shortcut in the command menu)

Maybe I expressed myself poorly.
I am ok with the attack showing the special animation (I have an ability called "barrage fire" and there's a default animation litteraly called "barrage Fire" which is PERFECT).
I am not ok with what my battlers do before the animation, because they do that weird arm movement (which I assume is the "missile" cast animation) and then the shoot animation starts.
I want them to extract their weapon like a normal attack instead of that
You cannot have both, there are only two settings involved.

1) you can set the skill type to magic in the system tab to switch the battler to the magic animation, or don't set it to magic to use a weapon-based sequence.
2) you can have the skill set the animation from the regular animations or you can set it to use the weapon picture with the weapon animation set for the weapon type in the system tabs (that is what the "normal attack" setting is about.

That gives you a total of four option/combinations for each skill, but details depend on skill type and weapon type and can't be mixed freely.
You cannot have both, there are only two settings involved.

1) you can set the skill type to magic in the system tab to switch the battler to the magic animation, or don't set it to magic to use a weapon-based sequence.
2) you can have the skill set the animation from the regular animations or you can set it to use the weapon picture with the weapon animation set for the weapon type in the system tabs (that is what the "normal attack" setting is about.

That gives you a total of four option/combinations for each skill, but details depend on skill type and weapon type and can't be mixed freely.

Maybe I have an idea... can I do what I ask with action sequences?
If so, I will repost this question in the plugin help section..
Yes, Action Sequences are the way to go here. This in your skill's notetag should do it (with Yanfly's Battle Engine Core and Action Sequence Packs 1 and 2):

<target action>
motion attack: user
motion wait: user
action animation
wait for animation
action effect: target
death break
</target action>
YES! it can be done with Action Sequences, I'll give the solution to help anyone who may want to do this in the future:

<setup action>

display action
if user.attackMotion() !== 'missile'

camera focus: target
zoom: 150%, 20
camera offset: right, 50

else

camera focus: user
zoom: 250%, 20
wait: 20
camera focus: target
zoom: 150%, 20
camera offset: right, 50
end

immortal: targets, true

</setup action>

<target action>
if user.attackMotion() !== 'missile'

move user: targets, front, 20
else
perform start

end

wait for movement
motion attack: user
wait: 10
action animation: target
wait for animation
action effect
wait for animation
wait for movement
wait: 5
</target action>

Basically what will happen is that your character is gonna extract the gun (motion attack: user), but then it will be the SKILL animation to be displayed (action animation: target), if you want the attack to connect multiple times you have to add more ''action effect'' at the end (before the waits)
Yes, Action Sequences are the way to go here. This in your skill's notetag should do it (with Yanfly's Battle Engine Core and Action Sequence Packs 1 and 2):

<target action>
motion attack: user
motion wait: user
action animation
wait for animation
action effect: target
death break
</target action>

Thanks, basically I came up with the solution by myself right when you were typing lol
Yes, Action Sequences are the way to go here. This in your skill's notetag should do it (with Yanfly's Battle Engine Core and Action Sequence Packs 1 and 2):

<target action>
motion attack: user
motion wait: user
action animation
wait for animation
action effect: target
death break
</target action>

Sadly our solution seems not to work...basically if you set an animation to your skill, it will play BEFORE the animation for the actor to use his weapo AND after it...basically it deals damage TWICE! but if you have no animation on your skill it works fine..but my problem is not resolved
Double-post notice: bigweight
If you have to add something and your own post is the last one, please edit it.

And don't quote posts unless you want to answer specifically to the quoted point, use the @ username convention to refer to someone in your answer, like @bigweight
basically if you set an animation to your skill, it will play BEFORE the animation for the actor to use his weapo AND after it...basically it deals damage TWICE! but if you have no animation on your skill it works fine
I have not been able to reproduce this, neither with my action sequence nor with the one you posted. (Unless you mean the casting animation that is added by Yanfly's Battle Engine - but that doesn't do damage and you don't have it included in your action sequence anyway.) Could you post a screenshot of your skill (using Alt+Print Screen, so that it captures the entire window)?
@LadyBaskerville it happens when the attack has "all enemies" as target.
I got around it with YEP-Selection controll which seems to make it work..
it happens when the attack has "all enemies" as target.
That's because the standard attack against all enemies takes place in the <whole action>, not in the <target action> phase. Because you have not overwritten it, the default <whole action> phase is executed before and in addition to the <target action> phase - hence the double animations and the double damage. (I don't quite understand why it doesn't happen when the skill has no animation.) You don't need the selection control plugin, you can just change the <target action> tags to <whole action> or add an empty
<whole action>
</whole action>
phase to overwrite the default. (Both variants look slightly different.)

Original thread: https://forums.rpgmakerweb.com/threads/cast-animation-help.77985/