YesNoOk
avatar

coding (Read 2719 times)

Started by javonlouis, February 18, 2018, 03:55:33 am
Share this topic:
coding
#1  February 18, 2018, 03:55:33 am
  • avatar
  • *
    • USA
i'm very sorry for making a topic called sprites few times,odb718 is right i can import a sprite or make it from scratch,can someone help me i don't know what's missing i'm trying to get iori to hit the opponent while he's on the ground,i don't what's wrong or what's missing from my coding,the hitflag has mafd on it but something else is still missing,it's like ex iori's ex shiki kototsuki in kof 13,i have nothing else to do but to make this move?

Spoiler: The Statedefs (click to see content)
Last Edit: February 18, 2018, 05:52:13 pm by Odb718
Re: coding
#2  February 18, 2018, 03:59:53 am
  • ****
  • Niigasan
whats the problem, u cant just post a code and not tell us what happened
Re: coding
#3  February 18, 2018, 01:56:08 pm
  • avatar
  • *
    • USA
Re: coding
#4  February 18, 2018, 02:10:56 pm
  • ****
  • Niigasan
Add a d to the hitflag so it looks like hitflag = MAFD
Re: coding
#5  February 18, 2018, 02:50:17 pm
  • avatar
  • *
    • USA
Re: coding
#6  February 18, 2018, 03:15:48 pm
  • ****
  • Niigasan
hmm it looks like for the targetstate 2212 , you make the opponent change to your p1state. so try removing the targetstate
Re: coding
#7  February 18, 2018, 03:22:29 pm
  • avatar
  • *
    • USA
it didn't work
Re: coding
#8  February 18, 2018, 03:24:03 pm
  • avatar
  • ***
    • https://sites.google.com/site/mgmurrow/
As prime said, you have p2stateno=2213 and targetstate=2212. Make sure you have the red clns boxes over the right frames for p1 to hit. Then make sure p2 has blue clns on the frames they are going to be getting hit on.

Hope this helps

MGMURROW
Re: coding
#9  February 18, 2018, 03:36:31 pm
  • avatar
  • *
    • USA
it works
----
how do i do it after a move?
Last Edit: February 18, 2018, 05:53:16 pm by Odb718
Re: coding
#10  February 18, 2018, 06:04:06 pm
  • *****
  • Shame on you!
    • USA
Welcome back javonlouis.
This move seems like a throw. But I'm unfamiliar with Iori so I'm not positive.

To do a move after another move you usually just make a changestate in the cmd that would let it switch.
If you mean how do you switch P2's state after he's hit into a custom state, you use changestate. You can also use TargetState inside of P1's active state to switch P2, but only if the target hasn't dropped.

Can you explain what you mean by "it"?
vVv Ryuko718 Updated 10/31/22 vVv
Re: coding
#11  February 18, 2018, 06:19:06 pm
  • avatar
  • *
    • USA
i use changestate but during that move he does it,he's suppose to do it after it
Re: coding
#12  February 18, 2018, 06:39:09 pm
  • *****
  • Shame on you!
    • USA
You said it works as if that's the way you wanted it. Do you want to do it a second time? You have the hitdef in the first state and it switches P1 and P2. If there is no hit, P2 and P1 wont change. So there wouldn't be a second move.

If you want Iori to hit P2 a second time, copy and paste the hitdef and targetstate into a second state. Then change the numbers to bring you to a third state. You have to decide and make the 3rd state if that's how you want it.
vVv Ryuko718 Updated 10/31/22 vVv
Re: coding
#13  February 18, 2018, 07:07:52 pm
  • avatar
  • *
    • USA
do you mean copy the hitdef and targetstate in the second state number?
Re: coding
#14  February 18, 2018, 09:47:01 pm
  • *****
  • Shame on you!
    • USA
If you are trying to make the second state be an attack and control P2, you can copy and paste the stuff. Or you can use Fighter Factory 3 and double click targetstate and hitdef to post new ones in the second state.
I'm still not sure exactly what you're needing to do.
vVv Ryuko718 Updated 10/31/22 vVv
Re: coding
#15  February 18, 2018, 10:40:00 pm
  • avatar
  • *
    • USA
i have two hitdefs in the second state,is that right?
Re: coding
#16  February 20, 2018, 11:49:02 pm
  • avatar
  • *
    • USA
i got it to work