collapse

Author Topic: How do you make an Explod follow an opponent's striker/helper?  (Read 576 times)

0 Members and 1 Guest are viewing this topic.

Offline rkmugen

  • MUGEN Content Architect
  • *****
  • Posts: 22
  • Last Login:January 01, 2011, 06:04:56 PM
  • "...because my floor is your ceiling."
    • rkMugen's YouTube Channel
How do you make an Explod follow an opponent's striker/helper?
« on: September 18, 2008, 12:00:59 AM »
If you download my Chun Li (available at www.geocities.com/rkmugen), please perform the following steps to visually see what I am talking about...

1)  Select my Chun Li as P1 (you) and as P2 (you) in Training Mode or Versus Mode
2)  Place P1 at the far left edge of the screen and P2 at the far right edge of the screen.
3)  As P2, call out Psylocke to perform her Psi-Thrust (medium punch+medium kick).
4)  Quickly, before Psylocke hits P1, make P1 perform her Level 3 Super Fireball (the LARGEST one)


Now, if you performed it correctly, you'll notice that the hitsparks (the bright blue clouds) appear on P2 and not on Psylocke.

What I need:
I would like for those blue clouds to follow Psylocke (or ANY OTHER striker) as she begins her "gethit" state and will continue to follow her until she disappears past the screen's edge, completely out of the players's views.

Or, if that's not possible:
...would there be any way to stop the blue clouds from appearing ONLY if they hit P2's striker?

Essentially, here's the layout of what its supposed to be like:

If LvL3 Kikkosho...

...Hits Striker Only:  Blue clouds appear on helper and follows helper only until helper is destroyed or goes off the screen

...Hits P2 Only:  Blue clouds appear on P2 ONLY and follows P2 until the end of P2's get-hit state

...Hits Striker and P2:  Blue clouds will appear as a hit-spark ONLY ONCE which follows the striker, but at the same time, a new spawning of those clouds will appear and follow P2 as P2 gets hit by the Kikkousho.



Please... any ideas?



Offline Alexziq

  • Infinite Loyalist
  • *****
  • Posts: 2624
  • Last Login:November 10, 2017, 01:10:16 PM
    • Email
Re: How do you make an Explod follow an opponent's striker/helper?
« Reply #1 on: September 18, 2008, 01:17:03 AM »
If you download my Chun Li (available at www.geocities.com/rkmugen), please perform the following steps to visually see what I am talking about...

1) Select my Chun Li as P1 (you) and as P2 (you) in Training Mode or Versus Mode
2) Place P1 at the far left edge of the screen and P2 at the far right edge of the screen.
3) As P2, call out Psylocke to perform her Psi-Thrust (medium punch+medium kick).
4) Quickly, before Psylocke hits P1, make P1 perform her Level 3 Super Fireball (the LARGEST one)


Now, if you performed it correctly, you'll notice that the hitsparks (the bright blue clouds) appear on P2 and not on Psylocke.

What I need:
I would like for those blue clouds to follow Psylocke (or ANY OTHER striker) as she begins her "gethit" state and will continue to follow her until she disappears past the screen's edge, completely out of the players's views.

Or, if that's not possible:
...would there be any way to stop the blue clouds from appearing ONLY if they hit P2's striker?

Essentially, here's the layout of what its supposed to be like:

If LvL3 Kikkosho...

...Hits Striker Only: Blue clouds appear on helper and follows helper only until helper is destroyed or goes off the screen

...Hits P2 Only: Blue clouds appear on P2 ONLY and follows P2 until the end of P2's get-hit state

...Hits Striker and P2: Blue clouds will appear as a hit-spark ONLY ONCE which follows the striker, but at the same time, a new spawning of those clouds will appear and follow P2 as P2 gets hit by the Kikkousho.



Please... any ideas?

Hmmmn, what postype does the code have in it now?

Offline Kong

  • IMT Content Architect
  • *
  • Posts: 453
  • Last Login:July 01, 2016, 03:41:01 AM
    • Mugen
    • Email
Re: How do you make an Explod follow an opponent's striker/helper?
« Reply #2 on: September 18, 2008, 08:26:59 AM »
i usually use a helper to follow another helper and its easier to remove.

call this helper in the striker, or fireball

a dust follow a fireball, and remove itself when a fireball hit or removed.

;------------------------------------------------------------------------------------------------------------
;
[Statedef 6000]
type = S
movetype = I
physics = N
anim = 6000
ctrl = 0
sprpriority = 2
velset = 0,0


[State 6003]
type = Varset
trigger1 = Time = 0
var(3) = parent,id

[State 6000]
type = Turn
trigger1 = parent,facing != facing

[State 6000]
type = DestroySelf
trigger1 = !PlayerIDExist(var(3))


[State 6000]
type = BindToParent
trigger1 = PlayerIDExist(var(3))




Offline rkmugen

  • MUGEN Content Architect
  • *****
  • Posts: 22
  • Last Login:January 01, 2011, 06:04:56 PM
  • "...because my floor is your ceiling."
    • rkMugen's YouTube Channel
Re: How do you make an Explod follow an opponent's striker/helper?
« Reply #3 on: September 18, 2008, 11:26:04 PM »
Not quite what I was looking for..... Perhaps I'll post a video in the next few days to show you what I mean.....

Offline Fallen_Angel

  • Global Moderator (out of the office)
  • *****
  • Posts: 1358
  • Last Login:July 04, 2012, 03:11:05 PM
    • Email
Re: How do you make an Explod follow an opponent's striker/helper?
« Reply #4 on: September 19, 2008, 01:36:53 PM »
I think I understand a little bit of what you want.......you could use helpers that activates if you hit the enemy, or if the striker appears.......for following the enemy, you could use a posset, and in the x & y values use something like p2bodydist, so it will always compare the pos with the enemy pos


sig made by shullbocka

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]


D2TD VS Showcase Thread by D2TD
[May 31, 2024, 11:44:23 AM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[May 26, 2024, 07:39:11 PM]


TMNT Hong Kong Stage for 1.0 & 1.1 Re-Release by LightFlare
[May 24, 2024, 01:44:07 PM]


Captain Commando Stage Pack by Vegaz by LightFlare
[May 24, 2024, 09:20:05 AM]


Street Fighter 1 Ultimate Ryu by ELECTRO
[May 22, 2024, 03:58:25 PM]


China Town (Revenge of Shinobi) by Lord_Enemil
[May 22, 2024, 03:02:10 PM]


Neon Light Force Demo by Uche_of_IMT
[May 22, 2024, 10:21:37 AM]

* IMT Calendar

June 2024
Sun Mon Tue Wed Thu Fri Sat
1
2 3 [4] 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30

SimplePortal 2.3.5 © 2008-2012, SimplePortal