YesNoOk
avatar

Animation + Hit Box Problem (Read 1538 times)

Started by SMX, February 24, 2018, 11:55:21 pm
Share this topic:

SMX

Animation + Hit Box Problem
#1  February 24, 2018, 11:55:21 pm
  • avatar
So. If I say something that can easily be solved, sorry i'm a noob.

Part 1:

I'm using Fighter Factory 3. Palettes didn't work for classic so I decided to use this.

I'm making a character but there's a problem.

Basically, on my Animations tab, there's a animation part for standing animations. I filled it out. However, when I played it nothing happened. The animation doesn't play and the Hit Boxes aren't present. But I did place it there. That's one problem.

Part 2:

My Standing Weak Kick isn't working either. Same as my first problem but I can see the animation and the Blue Hitbox is present. But the attacking hitbox isn't present when I export to winmugen.

My Standing Weak Punch works though.

Help?
Re: Animation + Hit Box Problem
#2  February 25, 2018, 12:21:21 am
  • *****
  • Shame on you!
    • USA
So two things seem to be out of alignment reading your post.
Your palettes didn't work so youre using FF3, & you export for winmugen. It sounds like you're making a character for 1.0+ and playing it on winmugen.

In your animations tab, hit the Red notepad icon to Edit current animation as text, and copy and paste what you have. Do that for both the standing and the SLK and the SLP.
vVv Ryuko718 Updated 10/31/22 vVv

SMX

Re: Animation + Hit Box Problem
#3  February 25, 2018, 02:05:44 pm
  • avatar
Standing:
Code:
; Standing Animation
[Begin Action 1]
LoopStart
Clsn2Default: 1
  Clsn2[0] = -25, -113, 25, 0
0,0, 0,0, 10
0,1, 0,0, 10
0,3, 0,0, 10
SLP
; Stand Light Punch
[Begin Action 200]
Clsn2Default: 1
  Clsn2[0] = -21, -108, 22, -2
0,0, 0,0, 1
0,4, 0,0, 5
Clsn1: 1
  Clsn1[0] = 7, -85, 54, -67
0,5, 0,0, 5
Clsn1: 1
  Clsn1[0] = 16, -74, 48, -54
0,6, 0,0, 5
0,8, 0,0, 5
SLK
 Standing Light Kick
[Begin Action 230]
Clsn2: 1
  Clsn2[0] = -28, -110, 30, 0
0,0, 0,0, 5
Clsn2: 1
  Clsn2[0] = -27, -107, 36, 0
0,9, 0,0, 5
Clsn1: 1
  Clsn1[0] = 20, -50, 68, 0
Clsn2: 1
  Clsn2[0] = -18, -109, 51, -1
0,10, 0,0, 5
Clsn1: 1
  Clsn1[0] = 21, -47, 73, -2
Clsn2: 1
  Clsn2[0] = -6, -109, 68, -2
0,11, 0,0, 10
Clsn1: 1
  Clsn1[0] = 18, -47, 69, 0
Clsn2: 1
  Clsn2[0] = -6, -107, 63, -1
0,10, 0,0, 8
Clsn2: 1
  Clsn2[0] = -20, -106, 30, 0
0,14, 0,0, 5
Last Edit: February 25, 2018, 08:11:08 pm by Odb718
Re: Animation + Hit Box Problem
#4  February 25, 2018, 08:24:20 pm
  • *****
  • Shame on you!
    • USA
Standing animation is usually Anim 0. Make sure you have a default override if you're using 1 instead of 0.

One thing I can see is that you have 3 animations, but the group for those three are all 0. You'll want to organize the sprites by animations instead of having one massive group.

Besides
SLK
 Standing Light Kick  ;This not being commented out
[Begin Action 230]
I'm not seeing much that's wrong. I figure that's just from you copying and pasting here though.
 I personally dont use default boxes mixed with regular boxes. You may want to try that?

What you may want to try is to copy and paste an animation you know works over the one(s) that don't. If it doesn't play the animation at all, delete the animation. Then make an all new animation with a totally different number. Use that number in the statedef and see if mugen will play it.
vVv Ryuko718 Updated 10/31/22 vVv

SMX

Re: Animation + Hit Box Problem
#5  February 25, 2018, 08:50:36 pm
  • avatar
Thanks a lot! Switching from Anim 1 to 0 helped.

But my  SLK is still not working.

It plays the animation, it shows the Hitbox, (you can hit it while the animation is playing ) but you can't hit anyone with it.
Re: Animation + Hit Box Problem
#6  February 25, 2018, 09:03:27 pm
  • **
    • Brazil
it seems like the problem is in your .CNS, if you fixed the "standing light kick" not being commented on your air, the problem is probably on the HITDEF of your light kick state, most likely it's set to the wrong AnimElem trigger.

SMX

Re: Animation + Hit Box Problem
#7  February 25, 2018, 09:16:25 pm
  • avatar
How do I fix it?
Re: Animation + Hit Box Problem
#8  February 25, 2018, 10:38:17 pm
  • **
    • Brazil
on the trigger to your hitdef, have it be in the correct frame of animation (the one that has the red hit boxes).
so if you have red boxes on frame 3, than have the trigger be "animelem = 3"

SMX

Re: Animation + Hit Box Problem
#9  February 25, 2018, 10:53:31 pm
  • avatar
It works! Thanks~