I want to Create a Projectile Deflection System.

I'm implementing a projectile system using VE_Throwable Objects, YEP Action Sequence. The idea is that enemies will throw an object (In this case an assigned image as the projectile, then shoot it to the player.).

The player will have a window of opportunity, this is showed by either an '!' mark above their head, or something else if it's not possible. Pressing a button at that moment plays an attack animation that deflects the projectile and damages the enemy instead, the damage is of course from the enemy stats.

Now, how do I do this exactly? What Action Sequence do I use?
You need to use a Timed Hits/Quick Time Events plugin

In the comments section there's an explanation on how to use it for enemies

Nevermind. To anyone trying to figure it out, I got it. It’s a bit complex, but you have to make a common event when an enemy strikes. The common event will then make YOU do the damage to yourself, with the enemies stats.

You will have to:

-Temporarily make your stats the enemy stats for the event
-Use action sequences to change the animation to the enemy animation and not yours.
-Make the formula (Enemy attack)/($gameTemp.tas_power)
You need to use a Timed Hits/Quick Time Events plugin
Already added in and used for basic attacks in my game, what is next?
Already added in and used for basic attacks in my game, what is next?
I edited my post above but there's a guy in the comment section there that explained how to use it for enemy attacks.
I edited my post above but there's a guy in the comment section there that explained how to use it for enemy attacks.
Also done as well, I've made a skill use for enemies only, apply the timed attacks and use a sound to indicate when to hit.
Also done as well, I've made a skill use for enemies only, apply the timed attacks and use a sound to indicate when to hit.
So then...what is the issue? You need to be more specific on what is currently happening and what you want to fix.
So then...what is the issue? You need to be more specific on what is currently happening and what you want to fix.
I haven't added a way that makes the projectiles able to be deflected. I know very little about action sequence so I don't now how to type something like that
I haven't added a way that makes the projectiles able to be deflected. I know very little about action sequence so I don't now how to type something like that
You still need to break down what exactly you want to happen step by step. Otherwise I have to use my imagination to guess what you want to happen. I assume you want, on the QTE success, for the player to take 0 damage, and the enemy to take x damage instead. And that's just covering the damage part, you probably want some animation sequence on QTE success too.
Okay so the way it works is like this,

The enemy attacks the player with a projectile attack, they'll have a window of opportunity to do a QTE, if successful the attack is deflected and instead the projectile launched back and hit the enemy using its attack stats

Basically deflecting the attack on to the enemy.
You still need to break down what exactly you want to happen step by step. Otherwise I have to use my imagination to guess what you want to happen. I assume you want, on the QTE success, for the player to take 0 damage, and the enemy to take x damage instead. And that's just covering the damage part, you probably want some animation sequence on QTE success too.
Sounds like the enemy is struggling with Projectile Dysfunction...ha...okay, I'm sorry, back on topic...I don't actually know the answer, and I do know this isn't it, but I might have a couple resources to help you think about the right answer:

RM VXAce guide to creating a quick time event - I know that's not your preferred flavor of RM, but the concepts would work the same.
MV QTE plugin - I actually don't know anything about this, but maybe it's a starting point?

Anyway, good luck with your project and with the Projectile Dysfunction (I hear they make pills for that).
Sounds like the enemy is struggling with Projectile Dysfunction...ha...okay, I'm sorry, back on topic...I don't actually know the answer, and I do know this isn't it, but I might have a couple resources to help you think about the right answer:

RM VXAce guide to creating a quick time event - I know that's not your preferred flavor of RM, but the concepts would work the same.
MV QTE plugin - I actually don't know anything about this, but maybe it's a starting point?

Anyway, good luck with your project and with the Projectile Dysfunction (I hear they make pills for that).
Thank You 🙂
I've already implemented the QTE system though, as well as the projectile system. But I haven't combined them yet. As in the enemy will throw the projectiles but you can't deflect it back to the enemy and damaged them

(Just to be specific)
if you have a time attack, there should be something when enemy attacks,
you could do a QTE before hand if it's succeeded or failed, if succeeded,
enemy attack, and deflect it to the enemy, otherwise, the player get dmged
with the attack.

midway might be harder to do though.
if you have a time attack, there should be something when enemy attacks,
you could do a QTE before hand if it's succeeded or failed, if succeeded,
enemy attack, and deflect it to the enemy, otherwise, the player get dmged
with the attack.

midway might be harder to do though.
That sounds workable, problem is the picture isn't clear in my head. Do I need to write a script in the note of a skill or?
if you have an actionSeq by YEP, I think you can use lunatic code in the notebox.
but I dont know how to approach it as I dont know how to approach that.

I dont deal with dmg formula on my end yet.
if you have an actionSeq by YEP, I think you can use lunatic code in the notebox.
but I dont know how to approach it as I dont know how to approach that.

I dont deal with dmg formula on my end yet.
Shame, but oh well.

Is there anyone I can talk to about Lunatic Code?
there are some, but I dont know if they know the other 2 plugins,
but there are some that knows how to use it.

there is also YEP tip and tricks site with lunatic code.
you can pick one that is the closest to what you want and alter
the code from that part.

when things are to specific, people that know lunatic code can
help you out 🙂

I wish you good luck, because this seems interesting mechanic though.
Can't you use basic action sequences to create the projectile, launch it at player, show an exclamation mark animation and use if button is pressed in 30 frames -> path 1 (new projectile going towards enemy) / else -> path 2 (damage player)?

Ok, noticed that for MV action sequence projectiles you seem to need Action Sequence Impact, which is a paid plugin. Don't know if/how you use other plugins in action sequences.
Can't you use basic action sequences to create the projectile, launch it at player, show an exclamation mark animation and use if button is pressed in 30 frames -> path 1 (new projectile going towards enemy) / else -> path 2 (damage player)?

Ok, noticed that for MV action sequence projectiles you seem to need Action Sequence Impact, which is a paid plugin. Don't know if/how you use other plugins in action sequences.
Maybe? I could probably look it up see if I can use a different way to create the projectile system.
Still need to know if it's possible with VE's Throwable Plugin though...
On the animation side, this plugin has a bunch of projectile animation patterns. Plugin file has English instructions and there's an English guide here

Original thread: https://forums.rpgmakerweb.com/threads/i-want-to-create-a-projectile-deflection-system.159480/