Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
john shield's return with deley
#1
How can I make an attack that when it hit by another attack it will do someting and after that it will return the attack
Reply
Thanks given by:
#2
Unfortunately, I don't think you can really create a shield that reacts to a projectile and then reflects it back, because the enemy attack will either hit the shield and be destroyed, or it will rebound. You can't do both due to the nature of how type 3 balls work (hitting an enemy, hit by another ball, rebounded by enemy's punch/john energy shield).
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by:
#3
You could hold off projectiles with an itr kind 14 for some time, but I wouldn't know how to detect and react to that with a delayed reflect.
Reply
Thanks given by:
#4
you could do that in a mod.
each ball except for the reflecting one has a special bdy at a high y value in the rebounding frames.
in the first frame the reflecting ball creates an invisible ball that moves along with it (ik8?).
that invisible ball has a (second?) ik8 at the y level of the other balls.
the reflecting ball has a regular john shield effect and a body at a special y value (yes, another).
when the invisible balls ik8 interacts with a ball bdy, it catches the reflecting ball and brings it to a ball_hit frame sequence.

this may be a little ugly code wise, but its the first thing that came to my mind
Reply
Thanks given by:
#5
(03-24-2015, 03:01 PM)Bamboori Wrote:  you could do that in a mod.
each ball except for the reflecting one has a special bdy at a high y value in the rebounding frames.
in the first frame the reflecting ball creates an invisible ball that moves along with it (ik8?).
that invisible ball has a (second?) ik8 at the y level of the other balls.
the reflecting ball has a regular john shield effect and a body at a special y value (yes, another).
when the invisible balls ik8 interacts with a ball bdy, it catches the reflecting ball and brings it to a ball_hit frame sequence.
Itr Kind 8 only works with a type 0 object - aka only characters.

The closest I can think of to salvage your solution (note the italics in 2nd point):
* Need a full mod.
* The shield shouldn't be a type 3 ball, but a type 0 character, but somehow injured to 0 HP to minimize AI reaction.
* All projectiles have IK8 that reacts to shield's bdy - going to a frame where it pauses and opoints a 2nd ball that can hurt the shield.
* Shield is hurt, going to new frame to be destroyed. 1st ball no longer affected by ik8, goes to negative next: flying frames; effectively reflecting the ball.

Problem is I don't know if ik8 will cause the ball to change owners on colliding a char. If it does, then what I suggested won't work.
[Image: uMSShyX.png]
~Spy_The_Man1993~
Steiner v3.00 (outdated), Challenge Stage v1.51
Luigi's Easier Data-Editor, A-Man's Sprite Mirrorer
Working on the LF2 Rebalance mod.
Avatar styled by: prince_freeza
Reply
Thanks given by: Bamboori




Users browsing this thread: 3 Guest(s)