Attack priorities

Started by PotS, September 22, 2007, 12:03:55 PM

Previous topic - Next topic

Bastard Mami

i am refining projectiles atm, damn ninja gaiden.... so, talk more on what you think about it. for what i remember on kof projectiles atm.

there are long and short traveling projectiles, mobo but i had to type it. there is no real difference in priority between them.

while most dm projectiles have higher priority , there are exceptions, like k9999-s dm, which can be neutered by another projectile, though in it-s case it keeps on animating, even if it will not hit anymore.

when two projectiles collide if they have the same "priority" both get cancelled and dissapear.

if a projectile of a higher "priority" hits another of smaller priority, it keeps on going and still hits you as much as it was supossed to hit you? , this has to be tested by either using a regular priority projectile against a multi hit super projectile like rugal-s, another test is using a slow projectile, like athena-s psycho ball, against another slow projectile, like ryo-s weak haohshokohken, in a way so ryo-s barely hits the first one and athena gets enough time to throw a second one.

note that there are three types of projectile reflection, 1 just eats the projectile ala yama-s weak qcf+a, 2 reflects a generic projectile, ala kula-s qcb+ punch, 3 return the same projectile ala athena-s psycho reflector.

a dm like athena-s shining crystal bit uses projectiles in a fashion similar to k9999 except that the projectiles are hgiher priority as they are still able to hit, even if they eat a projectile.

should we assume helper projectiles for higher control? i never liked mugen-s native projectiles anyway.

PotS

#41
Quoteshould we assume helper projectiles for higher control? i never liked mugen-s native projectiles anyway.
I dropped Mugen's as soon as I could, right on the first "projectiled" char I did.

Quote from: [E]arly Morning Poison on September 29, 2007, 05:32:58 PM
if a projectile of a higher "priority" hits another of smaller priority, it keeps on going and still hits you as much as it was supossed to hit you? , this has to be tested by either using a regular priority projectile against a multi hit super projectile like rugal-s, another test is using a slow projectile, like athena-s psycho ball, against another slow projectile, like ryo-s weak haohshokohken, in a way so ryo-s barely hits the first one and athena gets enough time to throw a second one.
Some tests I did just now in 98:

"High priority" versus regular:

- Ryo's DM Haou Shoukouken   VS  Rugal's Reppuken -> HS negates R and still hits
- Ryo's SDM Haou Shoukouken VS  Rugal's Reppuken -> HS negates R and still does full hits


"High priority" versus "high priority":

- Ryo's DM Haou Shoukouken   VS  Omega Rugal's Gravity Smash -> Both are negated
- Ryo's SDM Haou Shoukouken VS  Omega Rugal's Gravity Smash -> HS negates GS and still does full hits

- Yuri's DM Haou Shoukouken   VS  Omega Rugal's Gravity Smash -> Both are negated
- Yuri's SDM Haou Shoukouken VS  Omega Rugal's Gravity Smash -> HS negates GS and still does full hits

- Ryo's DM Haou Shoukouken   VS  Ryo's SDM Haou Shoukouken  -> SDM wins and does full hits
- Ryo's SDM Haou Shoukouken VS  Ryo's SDM Haou Shoukouken  -> Both are negated

- Ryo's DM Haou Shoukouken   VS Yuri's DM Haou Shoukouken   -> Both are negated
- Ryo's DM Haou Shoukouken  VS  Yuri's SDM Haou Shoukouken   -> Yuri's goes through and does full hits
- Ryo's SDM Haou Shoukouken VS  Yuri's SDM Haou Shoukouken  -> Ryo's goes through but loses one hit (hits 4 times)

- Yuri's SDM Haou Shoukouken VS  Yuri's SDM Haou Shoukouken  -> Both are negated


Take your conclusions... Yuri/Ryo examples make it look somewhat inconsistent...

Edit: Ryo's SDM do negate each other.

Edit2: After some discussion with [E] and more testing we've come to the conclusion that it's all about two attributes: what kind of projectile can it trade hits with (HitBy), and how many hits it can trade.

Rugal's Reppuken -> can trade with specials once
Omega Rugal's Gravity Smash -> can trade with DM once

Ryo's DM Haou Shoukouken -> can trade with DM/SDM once
Ryo's SDM Haou Shoukouken-> can trade with SDM five times

Yuri's DM Haou Shoukouken -> can trade with DM/SDM once
Yuri's SDM Haou Shoukouken-> can trade with SDM once
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

Bastard Mami

#42
so, how to implement that with helpers .. we are talking about at least 4 levels of priority there, whitout any priority flag in play.

what you found supports the shining crystal bit and k9999's dm just fine.

for having two helper projectiles negating. they hit each other and they just hitoverride on P, then dissapear while creating a explod that does the dissapear animation, that to avoid one projectile "grabbing" the other projectile if they must put p2 on a custom state. that could work with the lowest priority ones.

then we need a general method to have them apply priority.

[EDIT]

as a log that will support the theory we need the amount of hits a projectile can do, and the amount of hits a projectile can receive.

we could use one var in the projectile's states and it decreases as the projectile hits p2, until it should not hit anymore.

about getting hit once the projectile takes a hit, it should dissapear, to avoid getting grabbed. but instead of dissapearing to a normal state it should pass the amount of this it has taken to the new projectile as well as creating a new one. though that can interfere with the root's projectile detection.

to pass parameters, the helper id should work if only one is needed.

[EDIT]

by being grabbed, i do not mean a normal throw, as projectiles can't get throw and that should eb done via  anohitby, i am talking about another projectile that might put it in a custom state.

Chosen_01

All this information is very helpful so far. I changed my favorite CvS characters over so far, but I think I'll wait for the KOF ones. I still don't get KOF priorities sometimes. Whenever I play the CPU, it always appears to get a priority advantage (especially that jerk God Rugal) but that's not really the case. Sure feels good to use it as an excuse for losing to a AI perfect....lol

Elix

It's been said too many times... Priority = 4,Hit for all attacks. You should basically remove all priority parameters from HitDefs.

-SyLar-

sorry for reviving old topic.

the video posted had answered a few questions i had regarding what i thought was a cheat in cvs example yun hiting me out of my level 3 a few ticks after i performed it.

wat i still dont understand is how to implement the projectile priority :S

for instance with kyos orochinagi (vsing itself) if using cvs2 leveling system i am under the impression that level3 > level2 > level1  and that if the same level meets each other they negate e.g. lv3 vs lv3 so how could you set it up so that this works??

Elix

Quote from: M:ken on March 21, 2008, 03:19:27 PM
i am under the impression
But not sure? Lvl 2 Orochinagi hits 2 times, lvl3 hits 3 times, right? It's just a matter of triggering HitDef and ChangeState/HitOverride. Helpful triggers are
NumTarget
MoveHit
target,MoveType = H
target,Time
Choose for your needs among these... and others ;P

PotS

In Street Fighter (and derivative games like CvS) it's usually just a matter of how many hits each projectiles does, for instance Lv3 Shinkuu Hadouken (5 hits) can negate a Lv1 (3 hits) and still hit the opponent twice. Pretty basic when compared to KOF or Vampire.

They changed this a bit in CvS2 in some cases though, multi-hit special projectiles like Gouki's red fireball (3 hits) can only negate one hit of others. Not sure if that's a general rule in that game or just happens to that projectile, though, haven't had to check any other cases (I'm guessing charged Kaiser Wave can still negate 3). But what am I talking about, you only asked about the first paragraph. ;P
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

-SyLar-

i thought that wud be the case in cvs. i cant get the hit override to work tho helper keeps changing into a clone

Elix

Quote from: M:ken on March 22, 2008, 02:23:44 AM
i thought that wud be the case in cvs. i cant get the hit override to work tho helper keeps changing into a clone
This question is for another forum branch, but make sure the StateDef you use in HitOverride has a defined anim.

Ohsky

#50
Very interesting thread about an issue i always have noticed in mugen, many noobish questions came to mind: why some chars hit me and i couldn´t hit them at the same time when i do the attack at the opponent?. Pots put a curious example in the video when, in reality i only played mugen since a year and some months ago, and kof 2002 since five years ago (always in arcade , in saloons, recreative rooms or wathever it is called, paying 0.5€ each time), no other 2d fighitng game in a lot of years. I always noticed what he pointed, and that his idea of an standard is good, but never to be used against anyone creator who don´t fits that parameters. Don´t use that as another excuse to attack people, right?. Mugen is a vast free world and standards are only part of dogmatic communities.

haha, drama in the mugen world comes in the same way that drama in real life: imbalance between characters. That´s why i like mugen. That´s why i STILL use mugen.

He-Man

Quote from: Elix on September 22, 2007, 09:53:37 PM
SNK vs CAPCOM

(Ken's shoryuken has 9 frames of invulnerability, i.e. it has no CLSN2 box. That's why it beats other attacks)

Hmm - that's the reason why he always succeeds punching my flaming buttocks off when I try to jump at him. Do you have any more of illustrations like these from other character's anywhere? It is intressting to know about this.
The key to happiness is not to mourn on the past, or to worry about tomorrow - but to live here and now. In the present. Honestly and earnestly.

PotS

Just run the game with debug dipswitches on, any decent emulator can do it.
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

Cyanide

Amusing myself for a while. Noticed a few other things that kinda show where KoF's priority system actually takes hold (no it's no different to what's been said already 4 = correct)

But a lot of moves don't actually go by a continuous mugen convention we have of clsn1's and cls2's should overlap so hits can trade.

I set up a couple of macros for joes tiger kick, a move that has reliably pummeled me out of many a kick punch or anything else. It has a rather large black hitbox that extends well beyond the bit of him that can be hurt, as most basics and a lot of specials don't have that expanse of hitbox they get hurt. Did this with 2 joes at once, they only traded hits when the black box came into contact with the white one.

Other stuff. Autoguard isn't really set via the move's ability to hit low or high. But rather where the move is hitting from. You always think of low attacks as being crouching or special ones that hit low but looking at ryo's Joudan Uke and the other one, the box doesn't extend above/below his knee. (autoguard in 2k2 is denoted by a cream coloured hitbox)

Other attacks with it, like ralfs tackle can be beaten from above as the cream hitbox is only in front of him and to about his head. While his galactica phantom upon reaching it's lowest point all turns cream and stays that way until he's just about finished the move. I think bunker buster can be beaten if you're stupidly lucky and get behind maxima before he takes off and kick him then. The box is in front, not behind and there's lots of non invulnerable hitbox right behind him.

Most basics have a purple or purple grey box. This seems to be character independant and i'm not sure if it has any effect. Colours varied in PSP over about 6 attacks so it's possibly BG based.

Projectiles and anti air uppercuts share a black hitbox 0,0,0. I think this indicates that that part of the attack will not trade blows with anything. Invincibility just removes the hitboxes.

So although KoF doesn't use a 4/3/7/whatever priority system priority is provided by hitbox placement. Hence why some moves seem to have more priority than others.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.