News:

MFG's Character of the Month: September 2026 Voting

Main Menu

Add004 on ikemen

Started by 2Dee4ever, May 31, 2015, 04:59:56 AM

Previous topic - Next topic

2Dee4ever

So I've "FINALLY" made some progress getting this to work. So far I've gotten the alignment close to the original but I'm having a few issues as seen in the video.


Basically, randomly things will be aligned then misaligned. @47secs in the video you can see it works perfectly. Showing all modes single, tag, and turns. Also forgot to mention that things like power change affect the lifebar. As seen as akuma does his power charge the bar itself lights up.

Here is the edited fight def(I feel as though I am missing something minor, or making a basic mistake) This isn't final as I've really just been experimenting with values. If anyone is down to help me I'd appreciate it!
Spoiler (click to show)

; Motif: MM2 (add004 basic)

; 240p(320x180)
; 480p(640x360)
; 720p(1280x720)

;------------------
[files]
   sff=fight.sff
   snd=fight.snd

;@@@   font1= enter48.def   ;; * system font
   font2=  font.fnt   ;; * system font
;op;   font3= combo.fnt   ;; combo
   font4= timer.fnt   ;; timer
   font5=  wins.fnt   ;; win icon
   font6=  name.fnt   ;; name font

   fightfx.sff=fightfx.sff
   fightfx.air=fight_air.txt
   common.snd=common.snd

;------------------
[fightFx]
;   scale=1 ;;(240p)
;   scale=2 ;;(480p)
   scale=4 ;;(720p)

;------------------
[lifebar]
   p1.pos=0,0
   p2.pos=0,0

[simul lifebar]
   p1.pos=0,0
   p3.pos=0,0
   p2.pos=0,0
   p4.pos=0,0

[turns lifebar]
   p1.pos=0,0
   p2.pos=0,0

;------------------
[powerbar]
   p1.pos=0,0
   p2.pos=0,0
   level1.snd=-1
   level2.snd=-1
   level3.snd=-1

;------------------
[face]
   p1.pos=0,0
   p2.pos=0,0
   p1.face.spr=-1
   p2.face.spr=-1
[simul face]
   p1.pos=0,0
   p3.pos=0,0
   p2.pos=0,0
   p4.pos=0,0
   p1.face.spr=-1
   p2.face.spr=-1
   p3.face.spr=-1
   p4.face.spr=-1

[turns face]
   p1.pos=0,0
   p2.pos=0,0
   p1.face.spr=-1
   p2.face.spr=-1

   p1.teammate.bg.anim=400
   p2.teammate.bg.anim=400
   p1.teammate.ko.anim=410
   p2.teammate.ko.anim=410
   p1.teammate.bg.facing= 1
   p2.teammate.bg.facing=-1
   p1.teammate.ko.facing= 1
   p2.teammate.ko.facing=-1
   p1.teammate.face.facing= 1
   p2.teammate.face.facing=-1
   p1.teammate.face.spr= 9000,0
   p2.teammate.face.spr= 9000,0
   p1.teammate.bg.offset=0,0
   p2.teammate.bg.offset=0,0
   p1.teammate.ko.offset=0,0
   p2.teammate.ko.offset=0,0
   p1.teammate.face.offset=0,0
   p2.teammate.face.offset=0,0
   p1.teammate.face.scale=0.5,0.5
   p2.teammate.face.scale=0.5,0.5

   ;---(240p)
   p1.teammate.pos=          0, 40
   p2.teammate.pos=        320, 40
   p1.teammate.spacing=     12, 0
   p2.teammate.spacing=    -12, 0
   p1.teammate.bg.scale=   0.5, 0.25
   p2.teammate.bg.scale=   0.5, 0.25
   p1.teammate.ko.scale=   0.5, 0.25
   p2.teammate.ko.scale=   0.5, 0.25
   ;---(480p)
;   p1.teammate.pos=          0, 80
;   p2.teammate.pos=        640, 80
;   p1.teammate.spacing=     24, 0
;   p2.teammate.spacing=    -24, 0
;   p1.teammate.bg.scale=     1, 0.5
;   p2.teammate.bg.scale=     1, 0.5
;   p1.teammate.ko.scale=     1, 0.5
;   p2.teammate.ko.scale=     1, 0.5
   ;---(720p)
;   p1.teammate.pos=          0, 160
;   p2.teammate.pos=       1280, 160
;   p1.teammate.spacing=     48, 0
;   p2.teammate.spacing=    -48, 0
;   p1.teammate.bg.scale=     2, 1
;   p2.teammate.bg.scale=     2, 1
;   p1.teammate.ko.scale=     2, 1
;   p2.teammate.ko.scale=     2, 1


;------------------
[name]
   p1.name.font=6,0, 1
   p2.name.font=6,0,-1

   ;---(240p)
   p1.pos=          35, 40
   p2.pos=         285, 40
   p1.name.scale=    2, 1
   p2.name.scale=    2, 1
   ;---(480p)
;   p1.pos=          70, 56
;   p2.pos=         570, 56
;   p1.name.scale=    2, 1
;   p2.name.scale=    2, 1
   ;---(720p)
;   p1.pos=         140, 112
;   p2.pos=        1140, 112
;   p1.name.scale=    4, 2
;   p2.name.scale=    4, 2

[simul Name]
   p1.name.font=6,0, 1
   p3.name.font=6,0, 1
   p2.name.font=6,0,-1
   p4.name.font=6,0,-1

   ;---(240p)
   p1.pos=          45, 40
   p3.pos=          50, 34
   p2.pos=         275, 40
   p4.pos=         270, 34
   p1.name.scale=    2, 1
   p2.name.scale=    2, 1
   p3.name.scale=    2, 1
   p4.name.scale=    2, 1
   ;---(480p)
;   p1.pos=          90, 56
;   p3.pos=         100, 68
;   p2.pos=         550, 56
;   p4.pos=         540, 68
;   p1.name.scale=    2, 1
;   p2.name.scale=    2, 1
;   p3.name.scale=    2, 1
;   p4.name.scale=    2, 1
   ;---(720p)
;   p1.pos=         180, 112
;   p3.pos=         200, 136
;   p2.pos=        1100, 112
;   p4.pos=        1080, 136
;   p1.name.scale=    4, 2
;   p2.name.scale=    4, 2
;   p3.name.scale=    4, 2
;   p4.name.scale=    4, 2

[turns name]
   p1.name.font=6,0, 1
   p2.name.font=6,0,-1

   ;---(240p)
   p1.pos=          35, 40
   p2.pos=         285, 40
   p1.name.scale=    2, 1
   p2.name.scale=    2, 1
   ;---(480p)
;   p1.pos=          70, 56
;   p2.pos=         570, 56
;   p1.name.scale=    2, 1
;   p2.name.scale=    2, 1
   ;---(720p)
;   p1.pos=         140, 112
;   p2.pos=        1140, 112
;   p1.name.scale=    4, 2
;   p2.name.scale=    4, 2

;------------------
[time]
   bg.anim=
   framespercount=150
   counter.font=4,0,0
   counter.offset=0,0

   ;---(240p)
   pos=            161, 25
   counter.scale=  1, 1
   ;---(480p)
;   pos=            321, 50
;   counter.scale=    1, 1
   ;---(720p)
;   pos=            641, 100
;   counter.scale=    2, 2

;------------------
[combo]
   text.fnt=-1
   text=
   displaytime=0

;------------------
[round]
   match.wins=2
   match.maxdrawgames=1
   start.waittime= 30 ;; << can be canceled
   round.time=0
   round.default.anim=-1
   round.default.displaytime=70

   fight.time=0
   fight.anim=-1
   fight.snd=-1
   fight.sndtime=0
   ctrl.time=32

   KO.time=0
   KO.offset=0,0
   KO.anim=-1
   KO.snd=-1
   KO.sndtime=0

   DKO.offset=0
   DKO.anim=-1
   DKO.snd=-1

   ;//time over//
   TO.anim=11100
   TO.displaytime=60
   TO.snd=3,0

   ;---(240p)
   TO.offset=    80, 60
   TO.scale=      2, 2
   ;---(480p)
;   TO.offset=   160, 120
;   TO.scale=      2, 2
   ;---(720p)
;   TO.offset=   320, 240
;   TO.scale=      4, 4

   slow.time=60

   over.waittime=45 ;; KOŒãs"®‰Â"\ŽžŠÔ'·
   over.hittime=10
   over.wintime=45
   over.time=210

   win.time=60

   draw.anim=11200
   draw.displaytime=540
   draw.snd=3,1

   ;---(240p)
   draw.offset=   80, 60
   draw.scale=     2, 2
   ;---(480p)
;   draw.offset=  160, 120
;   draw.scale=     2, 2
   ;---(720p)
;   draw.offset=  320, 240
;   draw.scale=     4, 4

;------------------
[winicon]
   p1.counter.font=5,0,0
   p2.counter.font=5,0,0
   useiconupto=0

   ;---(240p)
   p1.pos=           60, 16
   p2.pos=          260, 16
   p1.counter.scale=  2, 1
   p2.counter.scale=  2, 1
   ;---(480p)
;   p1.pos=          120, 16
;   p2.pos=          520, 16
;   p1.counter.scale=  2, 1
;   p2.counter.scale=  2, 1
   ;---(720p)
;   p1.pos=          240, 32
;   p2.pos=         1040, 32
;   p1.counter.scale=  4, 2
;   p2.counter.scale=  4, 2

;------------------
;------------------
;---time over
[begin action 11100]
210,0,0,0,1,,as020d236
210,0,0,0,1,,as040d216
210,0,0,0,1,,as060d196
210,0,0,0,1,,as080d176
210,0,0,0,1,,as100d156
210,0,0,0,1,,as120d136
210,0,0,0,1,,as140d116
210,0,0,0,1,,as160d096
210,0,0,0,1,,as180d076
210,0,0,0,1,,as200d056
210,0,0,0,1,,as220d036
210,0,0,0,1,,as240d016
210,0,0,0,58
210,0,0,0,1,,as240d016
210,0,0,0,1,,as220d036
210,0,0,0,1,,as200d056
210,0,0,0,1,,as180d076
210,0,0,0,1,,as160d096
210,0,0,0,1,,as140d116
210,0,0,0,1,,as120d136
210,0,0,0,1,,as100d156
210,0,0,0,1,,as080d176
210,0,0,0,1,,as060d196
210,0,0,0,1,,as040d216
210,0,0,0,1,,as020d236
0,-1,0,0,-1

;--draw game
[begin action 11200]
0,-1,0,0,28
220,0,0,0,1,,as020d236
220,0,0,0,1,,as040d216
220,0,0,0,1,,as060d196
220,0,0,0,1,,as080d176
220,0,0,0,1,,as100d156
220,0,0,0,1,,as120d136
220,0,0,0,1,,as140d116
220,0,0,0,1,,as160d096
220,0,0,0,1,,as180d076
220,0,0,0,1,,as200d056
220,0,0,0,1,,as220d036
220,0,0,0,1,,as240d016
220,0,0,0,-1;50

;---face bg
[begin action 400]
400,1,0,0,1,,a
[begin action 410]
400,2,0,0,1,,a

;------------------
;[EOF]

hatter

That was awesome, will use if I ever decide to play an IKEMEN match with one of you guys.
This is a generic forum signature.

Flowrellik

holy crap! You're telling me you actually got this to work somewhat? Can the tag codes work properly too? PLEASE SAY SO!! I've been itching to have a damn good ikement roster. Now, I wonder...Can u change the ikemen menu fonts to say....add004...

2Dee4ever

Quote from: Flowrellik on June 04, 2015, 09:17:08 PM
holy crap! You're telling me you actually got this to work somewhat? Can the tag codes work properly too? PLEASE SAY SO!! I've been itching to have a damn good ikement roster. Now, I wonder...Can u change the ikemen menu fonts to say....add004...

I've gotten both this & UnoShe's tag system to work which seems to be 100%. All of the features work as they do in normal mugen which is good. The only issue is as seen in the video in the first post. Originally nothing was working or aligned, but what you see so far is the point I've gotten to. Haven't really been messing around with it. I'll try & see if I can change the fonts though.

     Posted: June 04, 2015, 11:04:03 PM
Just a quick video showing you that, it is in fact possible.


Now I just need custom sprites for the player icons and an actual background.

Flowrellik

oxo.
at this rate, if you can add the extras (Dizzy state, guard crush, scoring system) along with this, we got ourselves a perfect ikemen with add004 + minor editting.
Tatsu be proud of you bud. Tatsu be proud.

2Dee4ever

Funny you should say that. One step at a time...

Now I just need to fix the alignment issue.