YesNoOk
avatar

Need help with Follow-Up moves (Read 477 times)

Started by QuickFist, August 30, 2013, 03:46:46 am
Share this topic:
Need help with Follow-Up moves
#1  August 30, 2013, 03:46:46 am
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
Hey I'm coding Iori's Aoi Hana, the thing is I don't really know how to control the ChangeState and the StrengthDetectionVar at the same time.
Please help
Thanks Watta for the sig and avi.
Re: Need help with Follow-Up moves
#2  August 30, 2013, 04:03:25 am
  • ******
  • Q.E.D.
    • USA
    • network.mugenguild.com/jmorphman
What do you mean?

You only need to check which specific button is depressed at Time = 0; when you're figuring out if to proceed with the next move in the rekka, the code should only check if a command like "QCB+P" has been pressed.
Re: Need help with Follow-Up moves
#3  August 30, 2013, 04:17:45 am
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
This is what I got in the ChangeState:
[State 0, ChangeState]
type = ChangeState
trigger1 = Command = "AoiHana1" || Command = "AoiHana2" || Command = "AoiHana3"
value = 1210
ctrl = 0

And the strenght detection var(infinite's):

[State 1200, VarSet]
type=VarSet
trigger1 =!AILevel&& !time
var(10)=ifelse(command="AoiHana1",0,ifelse(command="AoiHana2",1,2))
ignorehitpause=1

[State 1200, Anim]
type = ChangeAnim
trigger1 = !time
value = 1200+var(10)
ignorehitpause=1
Thanks Watta for the sig and avi.
Re: Need help with Follow-Up moves
#4  August 30, 2013, 04:34:14 am
  • ******
  • Q.E.D.
    • USA
    • network.mugenguild.com/jmorphman
The next part of Aoi Hana should only be able to be performed some time after the current part of it has started (after the actual hit, I'm not sure of the actual frame). Just add a trigger like animelemtime(whatever) >= 0 to the changestate. There's probably a cutoff point as well, a time where even if one entered the command the next part would not proceed; so you should add animelem(idk) < 0 as well.
Re: Need help with Follow-Up moves
#5  August 30, 2013, 04:37:25 am
  • ******
  • [E]
    • Mexico
premature optimizing is the devil.
Re: Need help with Follow-Up moves
#6  August 30, 2013, 04:53:25 am
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
Ok I got weak and medium working perfectly, but the strong version goes from the first hit to the 3rd hit landing state
Thanks Watta for the sig and avi.
Re: Need help with Follow-Up moves
#7  August 30, 2013, 06:16:04 am
  • ******
  • Q.E.D.
    • USA
    • network.mugenguild.com/jmorphman
Post the code.
Re: Need help with Follow-Up moves
#8  August 30, 2013, 06:20:01 am
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
Spoiler, click to toggle visibilty
Spoiler, click to toggle visibilty
Spoiler, click to toggle visibilty
Spoiler, click to toggle visibilty
Thanks Watta for the sig and avi.
Re: Need help with Follow-Up moves
#9  August 30, 2013, 06:27:54 am
  • ******
  • Q.E.D.
    • USA
    • network.mugenguild.com/jmorphman
It goes from 1200 to 1290?
Re: Need help with Follow-Up moves
#10  August 30, 2013, 06:31:35 am
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
1290 is the landing state from the 3rd hit, should I change it to like 1230?
Thanks Watta for the sig and avi.
Re: Need help with Follow-Up moves
#11  August 30, 2013, 06:34:05 am
  • ******
  • Q.E.D.
    • USA
    • network.mugenguild.com/jmorphman
I just want to double check that it jumps from the first hit (1200) to the landing (1290). Because I don't see how that could be from the code.
Re: Need help with Follow-Up moves
#12  August 30, 2013, 06:37:13 am
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
it's only on the strong version
Thanks Watta for the sig and avi.
Re: Need help with Follow-Up moves
#13  August 30, 2013, 06:44:01 am
  • ******
  • Q.E.D.
    • USA
    • network.mugenguild.com/jmorphman
I... know.

Actually, why try and detect what button the player hits for the other two hits of Aoi Hana? The first button is the one that determines what strength the two follow-ups are.
Re: Need help with Follow-Up moves
#14  August 30, 2013, 06:53:31 am
  • *****
    • Venezuela
    • Blacksight22@Yahoo.Com.Ve
    • Skype - sebastian.osio
I changed the ChangeState to this:
[State 0, ChangeState]
type = ChangeState
trigger1 = AnimElemTime(5)>=1
trigger2 = Command = "AoiHana1" || Command = "AoiHana2" || Command = "AoiHana3"
value = 1210
ctrl = 0

Now it goes straight to 3rd hit
Thanks Watta for the sig and avi.
Re: Need help with Follow-Up moves
#15  August 30, 2013, 07:08:21 am
  • ******
  • Q.E.D.
    • USA
    • network.mugenguild.com/jmorphman
Try the same with the second hit.

However, you should probably keep the variable detection, but just have it on/off, instead of 1=lp 2=mp etc.