YesNoOk
avatar

how do i edit out the "cooldowns" of a character? (Read 825 times)

Started by lookitsjoj, September 04, 2020, 04:47:52 AM
Share this topic:
how do i edit out the "cooldowns" of a character?
#1  September 04, 2020, 04:47:52 AM
    • UK
Forgive me, i have no prior knowledge of coding or Mugen's language specifically, but i want to make a simple edit which lets the character "spam" attacks in a way. cancelling anything into anything. How would i go about creating this effect with an already existing character?
Last Edit: September 04, 2020, 05:58:59 AM by lookitsjoj
Re: how do i edit out the "cooldowns" of a character?
#2  September 04, 2020, 04:55:56 AM
  • ***
  • Self-Sufficient Subhuman
  • "I hope you're ready for a beating!"
    • USA

  • Online
Well, when I code my MVC characters, this is what I use to make moves cancel into other moves:

Code:
[State -1]
type = ChangeState
value = 3000
triggerall = !var(59)
triggerall = command = "Kasumi Suzaku"
triggerall = power >= 1000
triggerall = statetype = A
trigger1 = ctrl
trigger2 = (stateno = [600,699]) && MoveContact
trigger3 = stateno = [1000,1099]
trigger4 = stateno = [1200,1299]
trigger5 = stateno = [1400,1499]

You want to look down at the triggers for the move. In this case, this is a hyper move. This line:

Code:
trigger2 = (stateno = [600,699]) && MoveContact

... means that any air attack the character uses (in this case, 600-650 to be more precise) can be cancelled into the hyper by using the command if the move makes contact.

To make a move cancel into itself, you'd want to do this, for example:

Code:
[State -1]
type = ChangeState
value = 200
trigger1 = statetype = S && ctrl
trigger2 = stateno = 200 && MoveContact

The second line there means the standing light punch can be cancelled into itself and used repeatedly without any cooldown frames or a need to be in a different state.

Sorry if this is confusing, I've gone at length on how I'm a terrible teacher haha.
Re: how do i edit out the "cooldowns" of a character?
#3  September 04, 2020, 05:20:41 AM
    • UK
I kind of assumed this was done in the CMD file, so i found the move i wanted to cancel into itself and added trigger 3 and 4, but it doesnt really seem to have changed anything about the move ingame..
Code:
[State -1, ŽŸŒ³Ža]
type = ChangeState
triggerall = !NumPartner || (NumPartner && (sysvar(4) != [8,9]) && (sysvar(4) != 12) && (StateNo != [1251109,1251114]))
value = 1000
triggerall = var(59) = 0
triggerall = roundstate = 2
triggerall = command = "QCF_x" || Command = "QCF_y"|| Command = "QCF_z"
triggerall = statetype != A
triggerall = stateno != 410
trigger1 = ctrl
trigger2 = stateno = [200,450]
trigger3 = stateno = 1000 && MoveContact
trigger4 = statetype = S && ctrl
Maybe it's the character i'm editing?
Re: how do i edit out the "cooldowns" of a character?
#4  September 04, 2020, 05:42:59 AM
  • ***
  • Self-Sufficient Subhuman
  • "I hope you're ready for a beating!"
    • USA

  • Online
Hmm...

Turn this:

Code:
trigger3 = stateno = 1000 && MoveContact

Into this:

Code:
trigger3 = stateno = 1000

Try that?
Re: how do i edit out the "cooldowns" of a character?
#5  September 04, 2020, 05:59:22 AM
    • UK
worked like a charm. thanks!