YesNoOk
avatar

NotHitBy Problems (Read 444 times)

Started by Azquirath, October 30, 2014, 11:35:04 am
Share this topic:
NotHitBy Problems
#1  October 30, 2014, 11:35:04 am
    • USA
    • alonperez@gmail.com
So I'm coding my first character and I'm having problems with NotHitBy
I'm entering this:

[State -3, NotHitBy]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1

It works fine with normal throws, special throws, and hyper throws but it doesn't work with air throws or throws executed when my character is lying on the ground
How can I fix that?
Last Edit: October 30, 2014, 11:59:05 am by Azquirath
Re: NotHitBy Problems
#2  October 30, 2014, 12:08:35 pm
  • ****
  • Hey.
    • Ukraine
    • mugencoder.com

  • Online
It depends really on the attributes of the attack. Assuming that the attributes of the air and lying throws have "T" in them, that code should work fine. Sometimes, it helps to explicitly list all the attributes in the value like:

Code:
SCA,NT,ST,HT

Basically, the "SCA" tells it to work with "Standing, Crouching, and Aerial" moves. It's possible that without it, it defaults to just S.

-[Все слова это только слова.]-
Re: NotHitBy Problems
#3  October 30, 2014, 12:11:37 pm
    • USA
    • alonperez@gmail.com
Interesting, trying right now ^^
Thanks

I just tested it and is making my character immune to ANY SCA attack not only throws
Last Edit: October 30, 2014, 12:15:30 pm by Azquirath
Re: NotHitBy Problems
#4  October 30, 2014, 02:06:05 pm
  • ****
  • Hey.
    • Ukraine
    • mugencoder.com

  • Online
It's picky at times. I've had similar issues. Usually trial and error gets you where you need to go. My next step after seeing that would be to try using a HitBy with all the other attributes: SCA, AA, AP or SCA,NA,SA,HA,NP,SP,HP.

-[Все слова это только слова.]-
Re: NotHitBy Problems
#5  October 30, 2014, 08:02:54 pm
  • ***
    • USA
[State -3, NotHitBy]
type = NotHitBy
trigger1 = 1
value = ,AT
time = 1
This code blocks normal, special, and hyper throws? Or do you have a second NotHitBy?

Quote
This is the attribute of the attack. It is used to determine if the attack can hit P2. In this case, it is a Standing Normal Attack.

attr has the format attr = arg1, arg2, where:

    arg1 is either S, C or A. Similar to statetype for the StateDef, this says whether the attack is a standing, crouching, or aerial attack.
    arg2 is a 2-character string. The first character is either N for "normal", S for "special", or H for "hyper" (or "super", as it is commonly known). The second character must be either A for "attack" (a normal hit attack), T for "throw", or P for projectile.

value = ,AT <<this isnt real according to that ^^
You can only have NT,ST,HT.
So you probably want

value = ,NT,ST,HT

The air part will take care of itself.. or it should..
           
Re: NotHitBy Problems
#6  October 30, 2014, 08:09:27 pm
  • ****
  • Hey.
    • Ukraine
    • mugencoder.com

  • Online
"AT" means "All Throws" and while undocumented, it's used everywhere. It's "supposed to" encompass NT, ST, and HT. Apparently, you can leave off the first attribute too "S, C, and/or A."

-[Все слова это только слова.]-
Re: NotHitBy Problems
#7  October 31, 2014, 04:33:24 am
    • USA
    • alonperez@gmail.com
I was testing my character with Goro Daimon and his anti-air throw and the throw that picks his enemy from the ground are not consider throws for what I can tell -.-

Those moves are consider to be attacks, their attributes are not the same as throws -.-
(kicking Goro Daimon out of my game)
Re: NotHitBy Problems
#8  October 31, 2014, 11:29:50 am
  • ****
  • Hey.
    • Ukraine
    • mugencoder.com

  • Online
I was testing my character with Goro Daimon and his anti-air throw and the throw that picks his enemy from the ground are not consider throws for what I can tell -.-

Those moves are consider to be attacks, their attributes are not the same as throws -.-
(kicking Goro Daimon out of my game)

Lol, well there you have it. Looks like it was just some poor coding on the other's end.

-[Все слова это только слова.]-