mugen交流


Join the forum, it's quick and easy

mugen交流
mugen交流
Would you like to react to this message? Create an account in a few clicks or log in to continue.

mugen血条制作教程

向下

mugen血条制作教程 Empty mugen血条制作教程

帖子  Admin 周日 五月 22, 2011 8:21 pm

0.pcx:3-0 11,0 血条的外眶

1.pcx:3-1 13,0 血条

2.pcx:3-2 12,0 损血的血条

3.pcx:3-3 17,0 win的标志

4.pcx:3-4 14,0 放人物小头照的框框

5.pcx:3-5 15,0 两人的血条外框

6.pcx:3-6 16,0 两人的血条

p1.pcx:3-p1 30,0 能源框

p2.pcx:3-p2 30,1 能源

r.pcx:3-r 800,0 开始的标志

k.pcx:3-k 200,0 结束的标志

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

然後制作一个def为副档名的档案,不过名子一定要取fight的档名

其内容如下(介绍过的我不会再介绍了)

-----------------------------------

[Files]
sff = fight.sff        你的sff档的名子
snd = fight.snd       你的snd档的名子
font1 = font/jg.fnt      字型1的名子
font2 = font/num1.fnt     字型2的名子
font3 = font/name1.fnt    字型3的名子
font4 = font/time.fnt     字型4的名子
font5 = font/hit.fnt      字型5的名子
font6 = font/kof99.fnt     字型6的名子
font7 = font/sfa3.fnt     字型7的名子
fightfx.sff = fightfx.sff     这个跟这边没关西,下个单元会介绍
fightfx.air = fightfx.air     这个跟这边没关西,下个单元会介绍

common.snd = common.snd   这个跟这边没关西,下个单元会介绍

;-----------------------------------------------------------
[Lifebar]
;Player 1       
p1.pos = 150,12       ;p1血条的位子
p1.bg0.spr = 14,0      ;放小头照的图片bg*(*=1、2…)为一般图               片其功用看血条而定
p1.bg0.scale = 0.8,0.8     ;bg0的x大小和y大小
p1.mid.spr = 12,0       ;损血的血条的号码
p1.front.spr = 13,0       ;血条的号码
p1.range.x = -5,-112      ;血条的宽度,要设定的刚好
;Player 2          
p2.pos = 168,12
p2.bg0.spr = 14,0
p2.bg0.scale = 0.8,0.8
p2.bg0.facing = -1      ;让图片左右相反
p2.mid.spr = 12,0
p2.mid.facing = -1
p2.front.spr = 13,0
p2.front.facing = -1
p2.range.x = 7,112


[Team Lifebar]  ???????team的血条,其设定跟一人的一样
;Player 1
p1.pos = 150,12
p1.bg0.anim = 10
p1.bg1.spr = 15,0
p1.bg2.offset = -39,-5
;p1.mid.spr = 12,0
p1.front.spr = 13,0
p1.range.x = 7,-120
;Player 2
p2.pos = 168,12
p2.bg0.anim = 10
p2.bg0.facing = -1
p2.bg1.spr = 15,0
p2.bg1.facing = -1
;p2.mid.spr = 12,0
;p2.mid.facing = -1
p2.front.spr = 16,0
p2.front.facing = -1
p2.range.x = 7,112



--------------------------------------------------------------------------------

2 03_能源血条教学
;Player 3
p3.pos = 150,15
p3.bg0.anim = 10
;p3.bg1.spr = 15,0
;p3.mid.spr = 12,0
p3.front.spr = 16,0
p3.range.x = 7,-112
;Player 4
p4.pos = 168,15
;p4.mid.spr = 12,0
p4.mid.facing = -1
p4.front.spr = 16,0
p4.front.facing = -1
p4.range.x = 7,112

[Begin Action 20] ;Darkened lifebar background (team)
20,0, 0,0, 1, , S


;-----------------------------------------------------------
[Powerbar] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;能源条设定
;Player 1
p1.pos = 47,20 ;;;;能源条的位置
p1.bg0.anim = 30 ;;;;能源条的图片
p1.front.spr = 30,1 ;;;;能源的图片
p1.range.x = 3,82 :::::能源的宽度,必须调的刚刚好
p1.counter.offset = 0,60 ;;;;;;字型的位置
p1.counter.font = 1,0, 0 :::::能源的字型(可显示power值)

;Player 2
p2.pos = 271,20
p2.bg0.anim = 30
p2.bg0.facing = -1
p2.front.spr = 30,1
p2.front.facing = -1
p2.range.x = 0,-82
p2.counter.offset = 109,6 ;287,28
p2.counter.font = 1,0, 0
; --level sounds---
level1.snd = 21,0
level2.snd = 21,0
level3.snd = 21,0

[Begin Action 30] ;Darkened powerbar background
30,0, 0,0, 1, , S


;-----------------------------------------------------------
[Face]
;Player 1
p1.pos = 2,12       ;p1的小头照位罝
p1.bg.spr = 50,0 :放小头照的图片
p1.face.spr = 9000,0 :玩者小头照的图片
p1.face.facing = 1
p1.face.offset = 10,-6;2,22 :小头照的位置
;Player 2
p2.pos = 316,12
p2.bg.spr = 50,0
p2.bg.facing = -1
p2.face.spr = 9000,0
p2.face.facing = -1
p2.face.offset = -10,-6

[Team Face]
;Player 1
p1.pos = 1,12
p1.bg.spr = 60,0
p1.face.spr = 9000,0
p1.face.scale = 0.6,0.6
p1.face.facing = 1
p1.face.offset = 0,10
;Player 2
p2.pos = 317,12
p2.bg.spr = 60,0
p2.bg.facing = -1
p2.face.spr = 9000,0
p2.face.scale = 0.6,0.6
p2.face.facing = -1
p2.face.offset = 0,10
;Player 3
p3.pos = 2,12
p3.face.spr = 9000,0
p3.face.scale = 0.6,0.6
p3.face.facing = 1
p3.face.offset = 11,10
;Player 4
p4.pos = 316,12
p4.bg.facing = -1
p4.face.spr = 9000,0
p4.face.scale = 0.6,0.6
p4.face.facing = -1
p4.face.offset = -11,10

;-----------------------------------------------------------
[Name] :显示小头照的名字
p1.pos = 44,10 :P1名字的位置
;p1.bg. =
p1.name.font = 7,0, 1 :p1名字的字型
;p2.bg. =
p2.pos = 275,10
p2.name.font = 7,0, -1

[Team Name]
p1.pos = 14,10
p1.name.font = 3,0, 1
p2.pos = 305,10
p2.name.font = 3,0, -1
p3.pos = 138,10
p3.name.font = 3,0, -1
p4.pos = 181,10
p4.name.font = 3,0, 1

;-----------------------------------------------------------
[Time]
pos = 159, 23 :时间显示的位置
;bg.spr =
counter.offset = 0,0
counter.font = 4,0, 0 :时间显示的字型
framespercount = 60 :1秒的时间

;-----------------------------------------------------------
[Combo]
pos = 10,80 ;断式显示的位置
start.x = -40 ;断式起始的位字
counter.font = 5,0
text.text = # ;断式的显式字,如%就显式1、2、3…等,%hit就显式1hit、2hit…等


--------------------------------------------------------------------------------

3 03_能源血条教学
text.font = 5,0
displaytime = 90 ;断式显示的时间

;-----------------------------------------------------------
[Round]
match.wins = 2
start.waittime = 30 :round开始等待的间时


round.time = 0 :round的时间
round.default.offset = 78, 58 :round的位置
round.default.anim = 800 :round的动画
;round.default.font = 1,0, 0 :round的字型
;round.default.text = Round %i:round的显示方式
round.default.displaytime = 46
round1.snd = 0,1 :round1的生音
round2.snd = 0,2
round3.snd = 0,3
round.sndtime = 0


::::::::::fight的设定(说明和round的大致相同)::::::::::::::


fight.time = 20
fight.offset = 75, 48
fight.anim = 400
;fight.text = FIGHT! ;
;fight.font = 1,1, 0 ;
fight.displaytime = 27 ;
fight.snd = 1,0
fight.sndtime = 0

ctrl.time = 30


::::::::::ko的设定(说明和round的大致相同)::::::::::::::


KO.time = 0
KO.offset = 85, 35
KO.anim = 200
;KO.font = 1,5
;KO.text = K.O.
;KO.displaytime = 60
KO.snd = 2,0
DKO.offset = 160, 70
DKO.font = 6,0
DKO.text = Double K.O.
DKO.start.x = 100
DKO.displaytime = 60
DKO.snd = 2,1
TO.offset = 160, 70
TO.font = 6,1
TO.text = Time Over
TO.displaytime = 60
TO.start.x = -100
TO.snd = 2,2
KO.sndtime = 0 ;(Applies to DKO and TO as well)
slow.time = 60

::::::::::time的设定(说明和round的大致相同)::::::::::::::


over.waittime = 45
over.hittime = 10
over.wintime = 45
over.time = 210
; Time to wait before showing win/draw message

::::::::::win的设定(说明和round的大致相同)::::::::::::::
; Win text
win.offset = 160, 70
win.font = 6,0
win.text = %s Wins
win.start.y = -70
win.displaytime = 540
; 2-player win text
win2.offset = 160, 70
win2.font = 6,1
win2.text = %s and %s Win
win2.start.y = -70
win2.displaytime = 540

::::::::::draw game的设定(说明和round的大致相同)::::::::::::::
; Draw text
draw.offset = 160, 70
draw.font = 6,0
draw.text = Draw Game
draw.displaytime = 540

[Begin Action 200]
200,0, 0,0, 10
200,1, 0,0, 10
200,2, 0,0, 4
200,3, 0,0, 4
200,4, 0,0, 10
200,4, 10,0, 1,,a
200,4, -10,0, 1,,a
200,4, 20,0, 1,,a
200,4, -20,0, 1,,a
200,4, 30,0, 1,,a
200,4, -30,0, 1,,a
200,4, 40,0, 1,,a
200,4, -40,0, 1,,a


[Begin Action 800]
800,0, 0,0, 6
800,1, 0,0, 6
800,2, 0,0, 6
800,3, 0,0, 6
800,4, 0,0, 6
800,5, 30,0, 1,,a
800,5, -30,0, 1,,a
800,5, 20,0, 1,,a
800,5, -20,0, 1,,a
800,5, 10,0, 1,,a
800,5, -10,0, 1,,a
800,5, 0,0, 10

[Begin Action 400]
400,0, 0,0, 10
400,0, 10,0, 1,,a
400,0, -10,0, 1,,a
400,0, 20,0, 1,,a
400,0, -20,0, 1,,a
400,0, 30,0, 1,,a
400,0, -30,0, 1,,a
400,0, 40,0, 1,,a
400,0, -40,0, 1,,a
400,0, 50,0, 1,,a
400,0, -50,0, 1,,a
400,0, 60,0, 1,,a
400,0, -60,0, 1,,a
400,0, 70,0, 1,,a
400,0, -70,0, 1,,a
400,0, 80,0, 1,,a
400,0, -80,0, 1,,a
400,0, 90,0, 1,,a
400,0, -90,0, 1,,a
400,0, 100,0, 1,,a
400,0, -100,0, 1,,a
400,0, 110,0, 1,,a
400,0, -110,0, 1,,a

;-----------------------------------------------------------
[WinIcon] :胜利的标志
p1.pos = 23,12 ;P1胜利的标志
p2.pos = 284,12 ;P2胜利的标志
; Offset for next icon (x,y)
p1.iconoffset = 9,0 :p1下次胜利标志位置
p2.iconoffset = -9,0 :p2下次胜利的标志位置
p1.counter.offset = 0,0
p1.counter.font = 2,1
p2.counter.offset = 0,0
p2.counter.font = 2,1
p1.n.spr = 17,0 :以一般招式胜利的标志的图片
p2.n.spr = 17,0
p1.s.spr = 17,0 :以招式胜利的标志的图片
p2.s.spr = 17,0
p1.h.spr = 17,0 ;以重招胜利的标志的图片
p2.h.spr = 17,0
p1.throw.spr = 17,0 :以捉技招式胜利的标志的图片
p2.throw.spr = 17,0
p1.c.spr = 17,0 :以重招招式胜利的标志的图片
p2.c.spr = 17,0
p1.t.spr = 17,0 :以时间到招式胜利的标志的图片
p2.t.spr = 17,0
p1.suicide.spr = 17,0
p2.suicide.spr = 17,0
p1.teammate.spr = 17,0 :"以team胜利的标志的图片
p2.teammate.spr = 17,0
p1.perfect.spr = 17,0 :以perfect胜利的标志的图片
p2.perfect.spr = 17,0
useiconupto = 2 :以胜利的图片显示的?次
Admin
Admin
Admin

帖子数 : 124
注册日期 : 11-03-26
年龄 : 34

http://mugen.rnbboards.com

返回页首 向下

返回页首


 
您在这个论坛的权限:
不能在这个论坛回复主题