YesNoOk
avatar

[?] Ignore opponent's 'NotHitBy' (Read 443 times)

Started by ZzEzZ, November 07, 2014, 05:18:24 pm
Share this topic:
[?] Ignore opponent's 'NotHitBy'
#1  November 07, 2014, 05:18:24 pm
  • avatar
  • ***
Is there any way to ignore a NotHitBy (SCA) that an opponent has currently activated?

I ask because in the common1.cns NotHitBys are put in place to let a character successfully recover from a fall, etc, however, this fall recovery invincibility stops my character from continuing a combo. I want to allow my character to sometimes combo through their fall recovery. I don't want the opponent to not recover from a fall, I just want to combo through their invincibility.

What I was thinking of doing was having an invisible helper that would send the opponent into a custom state and add a "NotHitBy" (no param) to cancel out their NotHitBy every time they enter a recovery state, but I want to avoid custom states for this. Therefore, this solution I can't use.
 
 
 
Any ideas?
Re: [?] Ignore opponent's 'NotHitBy'
#2  November 07, 2014, 05:50:43 pm
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
Nope, you have to put them in a custom state.
Re: [?] Ignore opponent's 'NotHitBy'
#3  November 08, 2014, 03:20:23 am
  • avatar
  • ***
That's unfortunate.
I'll code my AI to account for the recovery invincibility then. *shrug*
Re: [?] Ignore opponent's 'NotHitBy'
#4  November 08, 2014, 05:13:06 am
  • avatar
  • *
    • Andorra
    • GemmaTan@mail.com
What? I would love to know what code makes that possible. That could benefit many coders immensely.
Last Edit: November 08, 2014, 05:13:37 am by Curious1
Re: [?] Ignore opponent's 'NotHitBy'
#5  November 08, 2014, 11:15:01 pm
  • avatar
  • ***
Re: [?] Ignore opponent's 'NotHitBy'
#6  November 09, 2014, 02:08:08 am
  • avatar
  • *
    • Andorra
    • GemmaTan@mail.com
Coding an AI to account for another character's recovery invincibility.

As far as i know, that's just as impossible as coding an AI to recognize an opponent's attack invulnerability.
Re: [?] Ignore opponent's 'NotHitBy'
#7  November 09, 2014, 06:30:52 am
  • ***
    • USA
Probably just look for the P2's stateno.
           
Re: [?] Ignore opponent's 'NotHitBy'
#8  November 09, 2014, 06:47:59 am
  • avatar
  • *
    • Andorra
    • GemmaTan@mail.com
That comes down to guess work. It's not foolproof, not even at State 0.
Re: [?] Ignore opponent's 'NotHitBy'
#9  November 09, 2014, 08:50:06 am
  • ***
    • USA
The recover state with the nothitby wouldnt be state 0. You could have P1 look to see if P2 has entered that specific state and activate a timer of sorts. Say 10 tics?
           
Re: [?] Ignore opponent's 'NotHitBy'
#10  November 09, 2014, 08:51:19 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
What he's saying is that a NHB can be activated anywhere. State detection is not foolproof.
Re: [?] Ignore opponent's 'NotHitBy'
#11  November 09, 2014, 10:41:04 am
  • ***
    • USA
What he's saying is that a NHB can be activated anywhere. State detection is not foolproof.
  I thought it was about the recovery and not actually looking for the NHB. You answered the NHB question. I thought we were talking about the work-around.
My statement wasn't saying how to detect the NHB, I was meaning that he'll end up supposing P2 is NHB = SCA and that monitoring just that state would work just as well. I could have explained my reasoning better.

If the character doesnt activate the NHB in the recovery, P1 would be "scared" of him for no reason. I dont see that as a major flaw of AI.