Site hosted by Angelfire.com: Build your free website today!

Useful reference:

 

- Required commands in MUGEN

- Recommended Action Numbers

- Required Sprites in MUGEN

- Trigger List (outdated only for 01.01)

 

 

Recommended Action Numbers

 

Use this table as a guideline when assigning state numbers to your char's moves. Most characters out there follow

this recommendation ,so yours should too. Also note that it's convenient to use the same action number in your CNS file and in your SFF sprite file. Example: a Crouching Light Punch move should use 400 as state number,as shown below, and you should use group 400 in the SFF file to put the animation frames.

 

Reserved

0-199 


Basic attacks:
200-299     Standing attacks
300-399     More standing attacks, running attacks
400-499     Crouch attacks
500-599     More crouch attacks
600-699     Air attacks
700-799     More air attacks
800-999     Unused - use if you need more states


Special attacks:
1000-2999     All special attacks


Hyper (super) attacks:
3000-4999     All hyper attacks
5000-5999     - reserved -

 

 

Required Sprites in MUGEN (by Elecbyte)

 

This image, also available in your MUGEN DOCS directory, shows all the sprites that your char must have in order to be fully compatible with MUGEN. This also shows how to position the axes in order for the animation to be correct in each frame.

 

 

 

 

Structure of the CMD file

 

The CMD file is the one that holds the commands for the attacks that your character does, and the conditions required to activate them: the triggers. This section will serve you as a guide for reading other creator´s CMD files, so you know what section means what. 

 

This organization is for the sake of  clarity mainly, the CMD file is usually divided like this:

 

- Super motions

    In this section you put all the commands that activate super moves or hyper moves, like this:

 

    ;-| Super Motions |--------------------------------------------------------
    [Command]
    name = QCF_ab
    command = ~D, DF, F, a+b

 

- Special motions

    

   You put your character´s special moves here, Fireballs, uppercuts and the like:

 

;-| Special Motions |------------------------------------------------------
    [Command]
    name = QCF_a    
    command = ~D, DF, F, a

    [Command]
    name = QCF_b
    command = ~D, DF, F, b

 

- Required commands

    Some commands are universal for all MUGEN chars, read here for more information

 

- Triggers

 

Here you include the aforementioned conditions for the commands to activate. Every command move must have 1 or more trigger. This section looks like this:

 

 ; Don't remove the following line. It's required by the CMD standard.
[Statedef -1]

;===========================================================================
;---------------------------------------------------------------------------
;Super move
[State -1]
type = ChangeState
value = 3000
triggerall = command = QCF_ab
triggerall = power >= 2000
trigger1 = statetype = S
trigger1 = ctrl = 1

 

Required commands in MUGEN

 

The code below is necessary in every MUGEN character. It just defines commands for all the basic buttons (X,Y,Z,A,B,C) and universal commands like the forward dash and back dash , that are common to all characters. 

 

Just copy and paste it to your character's CMD file and that's it, all the required commands are done : ). 

 

 

;-------------BEGINNING OF REQUIRED COMMANDS-------------------

;-| Double Tap |-----------------------------------------------------------
[Command]
name = FF ;Required (do not remove)
command = F, F
time = 15

[Command]
name = BB ;Required (do not remove)
command = B, B
time = 15

;-| 2/3 Button Combination |-----------------------------------------------
[Command]
name = recovery ;Required (do not remove)
command = a+b
time = 1

[Command]
name = ab
command = a+b
time = 1

[Command]
name = bc
command = b+c
time = 1

[Command]
name = ca
command = c+a
time = 1

[Command]
name = xy
command = x+y
time = 1

[Command]
name = zx
command = z+x
time = 1

[Command]
name = yz
command = y+z
time = 1

;-| Dir + Button |---------------------------------------------------------
[Command]
name = fwd_a
command = /F,a
time = 1

[Command]
name = fwd_b
command = /F,b
time = 1

[Command]
name = fwd_c
command = /F,c
time = 1

[Command]
name = fwd_x
command = /F,x
time = 1

[Command]
name = fwd_y
command = /F,y
time = 1

[Command]
name = fwd_z
command = /F,z
time = 1

[Command]
name = back_a
command = /B,a
time = 1

[Command]
name = back_b
command = /B,b
time = 1

[Command]
name = back_c
command = /B,c
time = 1

[Command]
name = back_y
command = /B,y
time = 1

[Command]
name = back_z
command = /B,z
time = 1

[Command]
name = down_a
command = /$D,a
time = 1

[Command]
name = down_b
command = /$D,b
time = 1

[Command]
name = down_c
command = /$D,c
time = 1

[Command]
name = fwd_ab
command = /F, a+b
time = 1

[Command]
name = back_ab
command = /B, a+b
time = 1

;-| Single Button |---------------------------------------------------------
[Command]
name = a
command = a
time = 1

[Command]
name = b
command = b
time = 1

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

[Command]
name = x
command = x
time = 1

[Command]
name = y
command = y
time = 1

[Command]
name = z
command = z
time = 1

[Command]
name = start
command = s
time = 1

;-| Hold Button |---------------------------------------------------------
[Command]
name = hold_a
command = /a
time = 1

[Command]
name = hold_b
command = /b
time = 1

[Command]
name = hold_c
command = /c
time = 1

[Command]
name = hold_x
command = /x
time = 1

[Command]
name = hold_y
command = /y
time = 1

[Command]
name = hold_z
command = /z
time = 1

;-| Hold Dir |--------------------------------------------------------------
[Command]
name = holdfwd ;Required (do not remove)
command = /$F
time = 1

[Command]
name = holdback ;Required (do not remove)
command = /$B
time = 1

[Command]
name = holdup ;Required (do not remove)
command = /$U
time = 1

[Command]
name = holddown ;Required (do not remove)
command = /$D
time = 1

[Command]
name = holddf
command = /$D, /$F
time = 1
;-------------END OF REQUIRED COMMANDS-------------------

 

 

back to Tutorial Index