The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: TrinitroRoy on February 13, 2012, 07:51:30 pm

Title: [SOLVED] How to edit commands?
Post by: TrinitroRoy on February 13, 2012, 07:51:30 pm
Could someone tell me, how I can change the button combination of attacks? I know, it has something to do with the CMD files, but how can I change the commands? Does there exist a tutorial, how to change a 4-button (or 6-button) char into a 3-button char and vice-versa?
Title: Re: How to edit commands?
Post by: Odb718 on February 13, 2012, 08:23:56 pm
Open up Kung Fu Man and read the top of his cmd. That will give you all of the stuff you need for button remapping. As for making the total amount of buttons used, that's a little tougher. I've made a couple 4 button MvC2 style characters 6 buttons. But never reversed. You can only make a 4 button character truly 6 buttons if they have enough animations to cover the extra button presses. You'd need 4 ground moves and 2 air moves. Otherwise you'd just have to duplicate the moves.

I guess you could make a 4 or 6 button character 3 buttons pretty easy. You'd have to use directional inputs for the basic attacks or just comment the move out.
So something like

[Command]
name = "c"
command = c
time = 1

Would become

[Command]
name = "forward_b"
command = /$F,b
time = 1

Then below where the move is triggered you'd need to change

;Stand fierce Kick
[State -1, Stand fierce Kick]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

Into

;Stand fierce Kick
[State -1, Stand fierce Kick]
type = ChangeState
value = 250
triggerall = command = "forward_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

The move that used to happen on just pressing "c" would only activate when you held forwards and tapped "b".
Title: Re: How to edit commands?
Post by: TrinitroRoy on February 13, 2012, 08:47:54 pm
Open up Kung Fu Man and read the top of his cmd. That will give you all of the stuff you need for button remapping. As for making the total amount of buttons used, that's a little tougher. I've made a couple 4 button MvC2 style characters 6 buttons. But never reversed. You can only make a 4 button character truly 6 buttons if they have enough animations to cover the extra button presses. You'd need 4 ground moves and 2 air moves. Otherwise you'd just have to duplicate the moves.

I guess you could make a 4 or 6 button character 3 buttons pretty easy. You'd have to use directional inputs for the basic attacks or just comment the move out.
So something like

[Command]
name = "c"
command = c
time = 1

Would become

[Command]
name = "forward_b"
command = /$F,b
time = 1

Then below where the move is triggered you'd need to change

;Stand fierce Kick
[State -1, Stand fierce Kick]
type = ChangeState
value = 250
triggerall = command = "c"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

Into

;Stand fierce Kick
[State -1, Stand fierce Kick]
type = ChangeState
value = 250
triggerall = command = "forward_b"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

The move that used to happen on just pressing "c" would only activate when you held forwards and tapped "b".
Thanks, I'll try it out!
Title: Re: How to edit commands?
Post by: TrinitroRoy on February 15, 2012, 06:34:41 pm
Sorry to double-post, but for some reasons, the char is has an even weirder button system...
Okay, I missed some stuff. Now, she's a 3-button char.
Here's what I have done:
Spoiler, click to toggle visibilty
NOTE: Yep, I'm trying to edit one of Saepon's chars...