Useful reference:
- 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------------------- |