YesNoOk
avatar

failed attack (Read 650 times)

Started by bonizuka, December 25, 2007, 12:15:47 pm
Share this topic:
failed attack
#1  December 25, 2007, 12:15:47 pm
  • avatar
  • **
how to stop a failed combo attack so that the p2 character dont have a chance to hit me?
what is the code?


in this image im using goku and i was used the combo kick and punches and his not stopping that special move and you can also see the p2 cell.
Last Edit: December 25, 2007, 12:25:21 pm by bonizuka
Re: failed attack
#2  December 25, 2007, 01:03:47 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
End of each changestate you'll need to add one that sends him to state 0 if

trigger1 = animtime = 0 && !movecontact

Or you could use the moves in such a way that you stop missing. You shouldn't really have to code a workaround for that. Missing is meant to include a punishment.


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.
Re: failed attack
#3  December 25, 2007, 01:45:43 pm
  • avatar
  • **
End of each changestate you'll need to add one that sends him to state 0 if

trigger1 = animtime = 0 && !movecontact

Or you could use the moves in such a way that you stop missing. You shouldn't really have to code a workaround for that. Missing is meant to include a punishment.
actually,my first move is to dash and punch and after i hit the p2  but sometimes the p2 jumped to escape that
so this is my problem  and he still used combos.
my first changestate is value = 1234 and  jump to statedef 1234 to continue the moves and i put the end value = 12345
so the last is statedef 12345
 [State 12345, 3]
type = ChangeState
trigger1 = AnimTime = 0
value = 950 ==== this 950 is an air falling to 0 move
ctrl = 1
Re: failed attack
#4  December 25, 2007, 09:51:56 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Set up another changestate in 1234 with the trigger i gave you. You'll need to modify your changestate to 12345 as well to require movecontact.


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.
Re: failed attack
#5  December 26, 2007, 05:25:13 am
  • avatar
  • **
Set up another changestate in 1234 with the trigger i gave you. You'll need to modify your changestate to 12345 as well to require movecontact.
if i do that the special move coudn't execute.
this move is like ryo's kof2002 moves  and goku chojins,this 2 characters can attack like this but if they failed because the p2 tried to dodge or jump the move stops automatically because ryo or goku chojin
did not hit.
Spoiler, click to toggle visibilty
Spoiler, click to toggle visibilty
Spoiler, click to toggle visibilty
Re: failed attack
#6  December 26, 2007, 06:51:39 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Lets just use the first one as an example. What i said still stands

Here's what you have

[mcode][State 501, 3]          ;JUMP TO 15560
type = ChangeState
trigger1 = AnimTime = 0
value = 15560  ;0
ctrl = 1;this is pointless btw[/mcode]
Here's what will allow you to miss p2 and cancel out of the attack if you do but continue if you don't.

[mcode][State 501, 3]          ;JUMP TO 15560
type = ChangeState
trigger1 = AnimTime = 0 && movehit
value = 15560  ;0
ctrl = 0

[State 501, 3]
type = ChangeState
trigger1 = AnimTime = 0 && !movehit
value = 0  ;0
ctrl = 1[/mcode]


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.
Re: failed attack
#7  December 26, 2007, 08:28:28 am
  • avatar
  • **
Lets just use the first one as an example. What i said still stands

Here's what you have

[mcode][State 501, 3]          ;JUMP TO 15560
type = ChangeState
trigger1 = AnimTime = 0
value = 15560  ;0
ctrl = 1;this is pointless btw[/mcode]
Here's what will allow you to miss p2 and cancel out of the attack if you do but continue if you don't.

[mcode][State 501, 3]          ;JUMP TO 15560
type = ChangeState
trigger1 = AnimTime = 0 && movehit
value = 15560  ;0
ctrl = 0

[State 501, 3]
type = ChangeState
trigger1 = AnimTime = 0 && !movehit
value = 0  ;0
ctrl = 1[/mcode]
WOW!! ITS WORKING!!
Cyanide,THANK YOU AGAIN!!