Updating to 1.0
From M.U.G.E.N Wiki
This page explains how to update your characters, stages and motifs ("screenpacks") from M.U.G.E.N 2002.04.14 to M.U.G.E.N 1.0.
Contents |
Characters
player.def
- Set mugenversion = 1.0 in [Info].
player CNS
- Subtract 1 from the value of the P1 parameter of all HitDef pausetimes.
- Find all instances of "gethitvar(zoff)" and replace with "0", or otherwise change the logic to omit the check.
- Search for all AssertSpecial controllers and add a line "ignorehitpause=1" if the flag is one of: nostandguard, nocrouchguard, noairguard, noautoturn, noshadow, nojugglecheck, nowalk, unguardable, invisible
- Search and add a line "ignorehitpause=1" to all controllers in this list: AngleDraw, PlayerPush, Offset, ScreenBound, Trans, Width.
- Search for "snap", "mindist" and "maxdist" in all HitDefs and remove the third (z) parameter if it exists, e.g. "snap = 40, -10, 0, -1" -> "snap = 40, -10, -1".
- Search for all "vel z" and "pos z" triggers and replace with "0", or otherwise change the logic to omit the check.
- Search for all velset instances in the [Statedef ...] sections and remove the third (z) parameter if it exists, e.g. "velset = 0, 0, 0" -> "velset = 0, 0".
- Fix any HitDefAttr triggers that are malformed. The correct syntax is "HitDefAttr <oper> <value1>, <value2>" where <oper> is "=" or "!=", <value1> has at least one letter of "SCA", and <value2> is a set of 2-character strings. e.g. "HitDefAttr = SC" -> "HitDefAttr = SC, NA, SA, HA".
Stages
- Add the following parameters to the [Info] section:
displayname = "..." ;Name to display in select screen (replace ... with actual name) versiondate = 01,30,2010 ;Version date of stage (MM,DD,YYYY or X.XX) (replace with actual date) mugenversion = 1.0 ;Version of M.U.G.E.N this stage works on (1.0) author = "..." ;Stage author name
- Add the following parameters to the [Camera] section and tune values accordingly (see Backgrounds).
overdrawhigh = 0 overdrawlow = 0 cuthigh = 35 cutlow = 25
- Add the following to the [StageInfo] section.
localcoord = 320, 240 xscale = 1 yscale = 1
- If the stage contains a "hires = 1" parameter, use xscale = .5 and yscale = .5 and remove the "hires = 1" line. Some other parameters may need to be tweaked.
Motifs
- Add the following lines to the [Info] section of system.def.
versiondate = 01,30,2010 ;Version date of motif (MM,DD,YYYY or X.XX) (replace with actual date) mugenversion = 1.0 ;Version of M.U.G.E.N this motif works on (1.0) localcoord = 320,240 ;Local coordinate space width and height
- Add the following section to fight.def, e.g. after the [Files] section.
[FightFx] scale = 1
- There are some "D4" (aka hi-res) motifs made for the 2002 version of MUGEN that require the "Doubleres = 4" parameter in mugen.cfg. Since 1.0 deprecated the Doubleres functionality in favor of coordinate spaces, you will need to update these motifs. Mostly, you may notice that the fonts are drawn too large. In fight.def and system.def, edit or add a scale parameter to all elements that are drawn too large. e.g. nothing -> "p1.name.scale = .5, .5" or "p1.name.scale = .5, .5" -> "p1.name.scale = .25, .25"