YesNoOk
avatar

How to edit and change lifebars's name ? (Read 5440 times)

Started by lucaster, December 16, 2013, 07:19:49 am
Share this topic:
How to edit and change lifebars's name ?
#1  December 16, 2013, 07:19:49 am
  • *
    • akatsuki10@hotmail.fr
Hi,
How in Fight.def I can edit the name of the lifebars and add specific logo for each characters like this ?  :help:


Do i have to use Fighter factory and Fondeditor ? What value and number I have to change for ?
I don't even understand how works all the name's system in lifebars...
Last Edit: December 16, 2013, 07:28:50 am by lucaster
Re: How to edit and change lifebars's name ?
#2  December 16, 2013, 08:10:39 pm
  • ****
  • For the Murder!
they're part of the portrait... that lifebar uses custom portraits
one of the oldest mugen tricks... --;

is not a matter of changin certain value and, voila custom names.

yes you need some photoshop and fighter factory to make something like that.
no, font editor is not needed
Spoiler, click to toggle visibilty
Lord Noble Eye of Dezeroff; High Commander of the Reconnaissance Division, Airborne Corps; Fifth Seat in the Murder's Council; and Duke of Corvus
Last Edit: December 16, 2013, 08:23:34 pm by The Mike
Re: How to edit and change lifebars's name ?
#3  December 17, 2013, 03:59:55 am
  • *
    • akatsuki10@hotmail.fr
Spoiler, click to toggle visibilty
With FontEditor, I open a custom font and I have this (click on picture for zoom):


I don't understand what are all these numbers mean ?  What is the Map and the letters A,B,C...goes for ?

Spoiler, click to toggle visibilty

Where exactly the logos's code are in the character ?
Inside .def files ? How i can assign a logo for a character ?
Please can you give me an example with this custom font ? :help:
Last Edit: December 17, 2013, 04:08:02 am by lucaster
Re: How to edit and change lifebars's name ?
#4  December 17, 2013, 05:50:44 am
  • ****
  • For the Murder!
well, is one of the options I gave you, is a custom font...

rough explanation in what you'll need to do to make you lifebar look like in the gif:
-assingn that custom font to your name font in your lifebar (is usually the one called name.fnt or something alike)
-your chars names should be only one character (ie black cat shall be named "A")
-so when your lifebar will try to display "A" it'll instead display the black cat logo
Lord Noble Eye of Dezeroff; High Commander of the Reconnaissance Division, Airborne Corps; Fifth Seat in the Murder's Council; and Duke of Corvus
Re: How to edit and change lifebars's name ?
#5  December 18, 2013, 04:36:17 am
  • *
    • akatsuki10@hotmail.fr
-assingn that custom font to your name font in your lifebar (is usually the one called name.fnt or something alike)

Yes but how i can assign the custom.font to another .font ? I mean what should I do ?

-your chars names should be only one character (ie black cat shall be named "A")
-so when your lifebar will try to display "A" it'll instead display the black cat logo
I don't understand...Where and how i can change the name of the character "Black Cat" ?

I post the code of the two lifebars ( custom.font and name.font of the lifebars i used ) here, Can you show me how to proceed please ?  :help:

Custom.font that I want to assign :
Quote
; Comic Book Title Font
;DiSpLaYnAmE="
[Def]
Size = 64,46
Spacing = 1,-31
Colors = 255
Offset = 0,-22
Type = Fixed
[Map]
A 0 64;Blackcat
B 64 64;Spider-Man
C 128 64;Hulk
D 192 64;Wolverine
E 256 64;Ironman
F 320 64;Psylocke
G 384 64;Blackwidow


Name.font of the Lifebars that i want to edit:

Spoiler, click to toggle visibilty
Quote
; Lifebar Name font
; by Krizalid99v2

[Def]
Size = 8,12
Spacing = 0,0
Colors = 1
Offset = 0,0
Type = Variable

[Map]
A 0 8
B 10 8
C 20 8
D 30 8
E 40 8
F 50 8
G 60 8
Re: How to edit and change lifebars's name ?
#6  December 19, 2013, 06:18:19 am
  • ****
  • For the Murder!
OK this will take a while to explain
and aparently your mugen knowledge is less than basic, so I'll try to explain from the begining

the definition and core of your lifebar is called "Fight.def" located in your data folder
an example of the files fight.def uses is:

Code:
[Files]
sff = fight.sff
snd = fight.snd
font1 = jg.fnt
font2 = num1.fnt
font3 = name1.fnt
fightfx.sff = fightfx.sff
fightfx.air = fightfx.air
common.snd = common.snd

note the font number 3. That "name1.fnt" is the font used by the lifebar to display names

if you want for example to change that font for a custom one called "customname.fnt"
change
font3 = name1.fnt
to
font3 = customname.fnt
granted that "custom.fnt" file is located in the font folder

so, what you need to do is open your fight.def and locate the font used for names (the "lifebar name font" by krizalid99v2) and change it for the custom one with the logos in it(comic book font).

if you did all correctly now when you open mugen and you try to engage in combat right now you'll see a bunch of hero logos instead of the proper name of your character.
to fix this open your chars folder and locate the folder of Black Cat and open her definition file (the one that end in .def)
you'll see something like this (this is kung fu man, black cat shouldn't look different)
Code:
[Info]
name = "Kung Fu Man"        ;Name of character
displayname = "Kung Fu Man" ;Name of character to display
versiondate = 09,30,2009    ;Version date of character (MM-DD-YYYY or X.XX)
mugenversion = 1.0          ;Version of M.U.G.E.N character works on (X.XX)
author = "Elecbyte"         ;Character author name
.
.
.
.
etc.

note "name" and "displayname"
name is what mugen uses to identify the character mostly used to perform special intros against other characters
displayname is only used to display its name in the lifebars

you'll want to change "displayname" to make you're char compatible with the custom comic book font (yes I said you're)
to make black cat compatible change:
displayname = "Black Cat"
to
displayname = "A"

black cat can only be called "A" (note capitals) to display her logo properly
spiderman can only be called "B"
hulk as well can only be called "C"

the same for the other heroes....

hope you at least got the idea of what I was trying to explain.
Lord Noble Eye of Dezeroff; High Commander of the Reconnaissance Division, Airborne Corps; Fifth Seat in the Murder's Council; and Duke of Corvus
Last Edit: December 19, 2013, 06:24:17 am by The Mike
Re: How to edit and change lifebars's name ?
#7  December 21, 2013, 01:58:07 pm
  • *
    • akatsuki10@hotmail.fr
hope you at least got the idea of what I was trying to explain.
Thanks I finally made it :


black cat can only be called "A" (note capitals) to display her logo properly
spiderman can only be called "B"
hulk as well can only be called "C"
I want to ask you one thing to be sure...the name.font cannot recognize a complete "word" but only "A,B,C or 1,2,3..." is that right ?


Re: How to edit and change lifebars's name ?
#8  December 23, 2013, 09:15:31 pm
  • ****
  • For the Murder!
normaly it can with standard fonts
mugen "reads" the words in the displayname line and uses the default font to "write" it

but in this particular case with the custom fonts mugen can also read it but can't write the name because cimic book font has logos instead of characters

for example if your character has "abc" as displayname mugen will display their name as "theamazingspidermanblackcatincrediblehulk"

Lord Noble Eye of Dezeroff; High Commander of the Reconnaissance Division, Airborne Corps; Fifth Seat in the Murder's Council; and Duke of Corvus
Re: How to edit and change lifebars's name ?
#9  December 26, 2013, 02:43:29 am
  • *
    • akatsuki10@hotmail.fr
for example if your character has "abc" as displayname mugen will display their name as "theamazingspidermanblackcatincrediblehulk"

Because of this, the number of the logo, for characters,  are very limited... --;

But it's possible to create some good combinaison like this  :)
Spoiler, click to toggle visibilty

Well this thread is solve.
Thanks,