YesNoOk
avatar

unhittable (Read 309 times)

Started by sgn15, May 31, 2013, 07:24:44 am
Share this topic:
unhittable
#1  May 31, 2013, 07:24:44 am
  • ***
so I have this weird problem. my char is not hittable during certain situations (not yet really found out which situation exactly, but it involves basic movements and also attacks) but i tried it in watch mode, my char sometimes cannot be hit by normal attacks (normal meaning guardable, even if in guard, the char should be "pushed" by the attack but it is not pushed) and even if the attack has assertspecial unguardable, it still ain't hitting

I have checked:
-all anims have blue clsn
-i used ctrl+f on all codes to find nothitby, it only exists in state 170 and 180 (lose and win states)

so what other sources of this problem (unhittable) are possible?
Re: unhittable
#2  May 31, 2013, 07:41:56 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
Did you press ctrl+C during the fight to see if the collision boxes aren't turning light blue or disappearing altogether? Checking in Fighter Factory is one thing, but checking during game play will reveal collision box errors that are often made by beginners.

The error involves using default collision boxes and then trying to supplement those very same default collision boxes with non-default collision boxes.
Re: unhittable
#3  May 31, 2013, 07:48:20 am
  • ***
ah. by default clsn, did you mean clsn standard ? if yes, then yes (I did used some) but I checked and it is not disappearing

this is an example of an animation that is not hittable (among many other situations). I checked and tried this animation. I am sure the char is unhittable during this animation
Quote
;--------------------------------------------------
; Taunt
[Begin Action 195]
Clsn2Default: 1
  Clsn2[0] = -7, -68, 11, -39
30,0, 0,0, 10
30,1, 0,0, 10
30,2, 0,0, 10
30,3, 0,0, 10
30,4, 0,0, 10
30,5, 0,0, 10
30,6, 0,0, 10
Re: unhittable
#4  May 31, 2013, 07:53:14 am
  • ******
  • I hang out tough. I'm a real boss.
    • USA
    • litotichues.com/
Is every character unable to hit your character during that animation?

Does the clsn turn sky blue? You searched for nothitbys, but did you also search for hitbys?
Re: unhittable
#5  May 31, 2013, 08:16:44 am
  • ***
I tried the char vs itself and the char vs other chars in watch mode. After more than 20 watch mode matches, I can say every opponent (including himself) cannot hit the char

not sure which is the exact color you are calling sky blue, so here it is (left char is using anim 195)
http://neuropod.net/imagehost/uploads/10c3c2628649d9ba1d1f5e70e39db92b.png

I also searched for hitby codes. there are none in my cns.

just to give more information about the char:
- since it is a little cat, I intentionally aligned him higher instead of ground level (because I don't plan on coding a new mode for flying since he is intended to be always flying)
- the height I aligned him with is the height of 2nd player in the pic above
- for movements/attacks needing to go to ground level, I used posset and velset (like the anim 195 or P1 in the same pic)
- for damage states, I added this to state 5050

Code:
;===================
[State 0, ChangeState]
type = ChangeState
trigger1 = life > 0
trigger2 = !lose
trigger3 = roundstate = 2
value = 4100
ctrl = 1

which goes to these states


Spoiler, click to toggle visibilty

note: all anims (including damage anims) have blue clsn. no issues with default clsn
no nothitby, no hitby, no hitoverride