สู่เวอร์ชัน 1.0
From M.U.G.E.N Wiki
This page is in progress of being translated to th. You can help translating it or go to another language version that follows:
ในหน้านี้จะอธิบายเกี่ยวกับการแก้ไขเพื่อนำตัวละคร ฉาก ชุดหน้าจอ ของคุณ จาก M.U.G.E.N.เวอร์ชัน 2002.04.14 ไปใช้งานใน M.U.G.E.N. เวอร์ชัน 1.0.
Contents |
ตัวละคร
player.def
- ใน [Info] เปลี่ยนค่าในบรรทัดต่อไปนี้
mugenversion = 1.0
player CNS
- Add 1 to 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".
ฉาก
- เพิ่มพารามิเตอร์ในส่วนของ [Info] ดังนี้
displayname = "..." ;ชื่อที่แสดงในหน้าเลือกฉาก (แทนที่ ... ด้วยชื่อที่ต้องการ) versiondate = 01,30,2010 ;รุ่นของฉากกำหนดเป็นวันที่ (MM,DD,YYYY or X.XX) (แทนที่ด้วยวันที่ต้องการ) mugenversion = 1.0 ;รุ่นของ M.U.G.E.N ที่ฉากนี้ำใช้งานอยู่ (1.0) author = "..." ;ชื่อผู้ทำฉาก
- เพิ่มพารามิเตอร์ในส่วนของ [Camera] และใส่ค่าให้สอดคล้องกัน(ดูเพิ่มเติมได้ที พื้นหลัง).
overdrawhigh = 0 overdrawlow = 0 cuthigh = 35 cutlow = 25
- เพิ่มพารามิเตอร์ในส่วนของ [StageInfo] ดังนี้
localcoord = 320, 240 xscale = 1 yscale = 1
- ถ้าฉากมีพารามิเตอร์ "hires = 1" ให้เพิ่มบรรทัดบรรทัดต่อไปนี้แทนและลบ "hires = 1" ออก
xscale = .5 yscale = .5
ซึ่งอาจต้องมีพารามิเตอร์อื่นบางตัวที่ต้องทำการปรับปรุงอีก
ชุดหน้าจอ
- เพิ่มพารามิเตอร์ในส่วนของ [Info] ในไฟล์ system.def.
versiondate = 01,30,2010 ;รุ่นของชุดหน้าจอ (MM,DD,YYYY or X.XX) (แทนที่ด้วยวันที่ต้องการ) mugenversion = 1.0 ;รุ่นของ M.U.G.E.N ที่ชุดหน้าจอทำงานด้วย (1.0) localcoord = 320,240 ;ระบุขนาดจุดพิกัด ความกว้าง ความสูง
- เพิ่มพารามิเตอร์ในไฟล์ fight.def, ตัวอย่างเช่น ถัดจากส่วน [Files]
[FightFx] scale = 1
- มีชุดหน้าจอชนิด "D4" (aka hi-res) ที่สร้างสำหรับใช้กับ MUGEN เวอร์ชัน 2002 ต้องการพารามิเตอร์ "Doubleres = 4" ที่อยู่ในไฟล์ mugen.cfg เนื่องจากตั้งแต่เวอร์ขั้น 1.0 ไม่เห็นด้วยการใช้คำสั่ง Doubleres กับจุดพิกัด จึงต้องดัดแปลงชุดหน้าจอตัวนี้ให้เข้ากับรุ่นใหม่
- ในการนำชุดหน้าจอจากรุ่นเก่ามาใช้โดยมาก อาจจะสังเกตพบว่าขนาดตัวอักษรใหญ่เกินไป ซึ่งในไฟล์ fight.def และ system.def สามารถแก้ไขขนาดของส่วนประกอบที่ใหญ่เกินไ้ด้
ตัวอย่างพารามิเตอร์ขนาด
p1.name.scale = .5, .5 -> p1.name.scale = .25, .25