EVE Lifebar WIP

Started by Mugen_Overlord, July 11, 2011, 06:14:55 PM

Previous topic - Next topic

Mugen_Overlord

Hello all, first endeavor into a MUGEN forum.  Thought I'd share a small project with you all.

I've been working towards building a MUGEN arcade cabinet for some time now.  I decided to go with MUGEN 1.0, along with the EVE Screenpack for it.  Unfortunately, as you may know, the screenpack is not finished, and has not seen any progress in a while.

So, having way too much time on my hands over the summer, I drew up this concept:



I am currently in the process of creating a .sff, but I've noticed that I can't test it ingame.  I've created a copy of the fight.def file, along with creating a new .sff.  These are both named evefight.def/sff, and inside a folder named EVEFIGHT inside of the data folder.  I have the path in the system.def routed correctly to it.  evefight.def also correctly paths to evefight.sff.

However, the game loads the default bar, rather than mine.  I'm wondering, is it possible that the sff is required to be V2 when creating lifebars for MUGEN 1.0?  I am currently trying to do this in Fighter Factory, as I am a visual person and cannot work with command prompts or other such programs.

They are in 1280x720 resolution, so that they fit the EVE screenpack.

Thoughts, comments, and suggestions are all welcome.

GOH

The game loads the default lifebar because Mugen 1.0 uses the 'mugen1' folder inside the 'data' folder for motifs. You can change it in the mugen.cfg or you can just put the lifebar files inside the 'mugen1' folder.

Mugen_Overlord

Quote from: G.O.H. on July 11, 2011, 06:17:05 PM
The game loads the default lifebar because Mugen 1.0 uses the 'mugen1' folder inside the 'data' folder for motifs. You can change it in the mugen.cfg or you can just put the lifebar files inside the 'mugen1' folder.

I tried just renaming them "fight.def/sff" and dropping them in the mugen1 folder (and changing the paths back), and still it loads the default.

Here's my mugen1/system.def file paths and stuff:

Files
spr = system.sff          ;Filename of sprite data
snd = system.snd          ;Filename of sound data
logo.storyboard =         ;Logo storyboard definition (optional)
intro.storyboard =        ;Intro storyboard definition (optional)
select = select.def       ;Character and stage selection list
fight = fight.def         ;Fight definition filename
;System fonts
font1 = f-4x6.def
font2 = name14.def
font3 = enter48.def
font4 = arcade.def
font5 = mssansserif-tt36.def
;font5.height = 36         ;Uncomment to override the size of the font (Truetype fonts only)
font6 = infofont.def

; Load alternative victory quote font (font5) if language is "ja".
ja.Files
spr = system.sff          ;Filename of sprite data
snd = system.snd          ;Filename of sound data
logo.storyboard =         ;Logo storyboard definition (optional)
intro.storyboard =        ;Intro storyboard definition (optional)
select = select.def       ;Character and stage selection list
fight = fight.def         ;Fight definition filename
;System fonts
font1 = f-4x6.def
font2 = name14.def
font3 = enter48.def
font4 = arcade.def
font5 = msgothic-tt36.def
;font5.height = 36         ;Uncomment to override the size of the font (Truetype fonts only)
font6 = msgothic-tt36.def
font6.height = 13


Default, as far as I know.  And yet it still loads default.

GOH

Wait. Shouldn't it be sff/fight.def? Also you have to edit the system.def that is inside the 'mugen1' folder, which is the one it is using.

Mugen_Overlord

Quote from: G.O.H. on July 11, 2011, 06:35:59 PM
Wait. Shouldn't it be sff/fight.def? Also you have to edit the system.def that is inside the 'mugen1' folder, which is the one it is using.

By fight.def/sff, I mean fight.def / fight.sff.  Just saving space.

And yeah, I've edited the system.def in the mugen1 folder, trying to have it point to another file, but it won't read it.  It just loads the default.

GOH

Can you post your edited system.def? The one that is using your EVE fight.def line.

Mugen_Overlord

Quote from: G.O.H. on July 11, 2011, 06:45:36 PM
Can you post your edited system.def? The one that is using your EVE fight.def line.

[Files]
spr = system.sff          ;Filename of sprite data
snd = system.snd          ;Filename of sound data
logo.storyboard =         ;Logo storyboard definition (optional)
intro.storyboard =        ;Intro storyboard definition (optional)
select = select.def       ;Character and stage selection list
fight = mugen1/evefight.def         ;Fight definition filename
;System fonts
font1 = f-4x6.def
font2 = name14.def
font3 = enter48.def
font4 = arcade.def
font5 = mssansserif-tt36.def
;font5.height = 36         ;Uncomment to override the size of the font (Truetype fonts only)
font6 = infofont.def


Should it have the "mugen1/" before it?  It doesn't work with or without it, but...

GOH

If that system.def is in the same folder, then it should have worked. Make sure in the mugen.cfg, that it's using that system.def from the mugen1 folder. But yeah, if the paths are correct, it should have worked.

Also the path to the .sff inside the fight.def, is it correct?

Mugen_Overlord

Quote from: G.O.H. on July 11, 2011, 06:56:14 PM
If that system.def is in the same folder, then it should have worked. Make sure in the mugen.cfg, that it's using that system.def from the mugen1 folder. But yeah, if the paths are correct, it should have worked.

it is indeed...  Very odd.

I will attempt to continue progress on it anyway, and hopefully it will either fix itself or I will be able to pass it on to someone with more knowledge of creating things for MUGEN (this will most likely be my first public release, besides a few edits I made for friends way back 2 years ago).

Thank you for your assistance.

Mugen_Overlord

#9
Ohh man, I feel like such an idiot.  I figured out what I did wrong.

I didn't save the fight.sff to the right location.  I've been copying the default .sff everywhere.

>kill self

-scratch all of that.

So apparently I must have had a MAJOR stroke of stupidity.

Not only did I NOT put the right sff in the data folder, but I ALSO put the .def in THE WRONG MUGEN FOLDER.

God I'm stupid.

The good news is progress can continue!

GOH

Lol. Good to know. No harm done. :P

Mugen_Overlord

#11


Left to do:

-Get fonts
-Names
-Timer
-Between rounds stuff
-KO

Berry

Since you're doing this I have to ask will you be releasing these to the public? I'm not sure if you are, because if so it might be nice to make a normal portrait version since EVE does hold a lot of characters and the ones the people that use EVE don't really have the patience or time to make portraits for everyone.

Mugen_Overlord

Quote from: -Oxe- on July 11, 2011, 11:14:05 PM
Since you're doing this I have to ask will you be releasing these to the public? I'm not sure if you are, because if so it might be nice to make a normal portrait version since EVE does hold a lot of characters and the ones the people that use EVE don't really have the patience or time to make portraits for everyone.

Yes, when I do eventually release these, they will have a normal portrait version.  The custom ones will be an extra.

Speaking of portraits;



Got the simultaneous portraits working!

This is actually far easier to do than I thought it would be.

Berry

For now it's easy >:)

Anyway the lifebar looks pretty good, who knows you could maybe become a bar creator if you want :)

Mugen_Overlord

Quote from: -Oxe- on July 12, 2011, 12:02:30 AM
For now it's easy >:)

Anyway the lifebar looks pretty good, who knows you could maybe become a bar creator if you want :)

Thanks!  :P

The only thing I'm worried about is that when you have no life or power, the bar looks pretty plain, just a black box.  I'll probably end up giving it some small detail to help break it up.

Seph

I like the idea, even if I'm not a big fan of the EVE screen packs. Good luck.  :)

Mugen_Overlord

Quote from: Seph on July 12, 2011, 01:22:14 AM
I like the idea, even if I'm not a big fan of the EVE screen packs. Good luck.  :)

Heh, thanks  :)

I'm currently working on the fonts.  These things take forever if they're variable sizes.  After that, I just have to figure out how to do animation for the Round 1/Fight/KO stuff, and I should be good.

Anybody know how to do animations with lifebars?

Mugen_Overlord

#18
After making my own fonts, they don't seem to appear properly ingame.  In fact, they don't show up at all.  The fact that the game doesn't spit out an error when I move them to another folder (purposely trying to produce an error to make sure the game is actually reading them) also worries me.  I'm also having trouble understanding fontbanks, and how they work.

Any help?


Seph

#19
Well animations uses the [Begin action xxx], to use it the round or any other stuff you use must be this:

These animations are for the rounds only. (of course)
round1.anim = 210
round2.anim = 220
round3.anim = 230
round4.anim = 240
round5.anim = 250
round6.anim = 260
round7.anim = 270


For other stuff like the life and the lifebars itself it should be:

p1.bg1.anim = 11; lifebar background animation
p1.mid.anim = 12; damage animation
p1.front.anim = 40 ; life animation


Also:

[Begin Action 40]
43,0, 0,0, 3
43,1, 0,0, 3
43,2, 0,0, 3
43,1, 0,0, 3


Under the [Begin action xxx] should be the sprites you're gonna use for the animation, and the last number is the speed of each sprite. The higher it is, the slower it will get.

You can also chose an option of adding transparency to your lifebar or not.

You can add Additve transparency:

[Begin Action 0]
60,1, 0,0, 0,, A


Partially Additve

[Begin Action 0]
60,1, 0,0, 0,, A1


Subtractive

[Begin Action 0]
60,1, 0,0, 0,, S


And customize the Additve

[Begin Action 0]
60,1, 0,0, 0,, AS0D0


Also the problem with your fonts might be this

p1.counter.font = 4,0, 0
p1.name.font = 3,0,1
p1.counter.font = 3,0


The first number is the font your gonna use, check the start of the lifebar to check whitch font you want to use.

Another thing ya might want to know is how .layerno works.

Basicly .layerno desides you to chose if you want the lifebars and/or fonts above or under the character. If you have no .layerno, then your character and stage will be above the lifebars. You can chose layerno = 1, 2 or have no layerno. Using layerno = 2 will make the lifebars and fonts
above the character and some elements of the stage, using layerno = 1 will just make the lifebars above the characters.

Err... hope that helps.  :S