fodev.net

Other => FOnline:2238 Forum => Archives => Tools and Modifications => Topic started by: Doctor Eex on February 18, 2011, 06:00:18 am

Title: Few questions about fonts.
Post by: Doctor Eex on February 18, 2011, 06:00:18 am
I got few questions regarding fonts:

1)Is there's any way to assign different fonts to: health, AC indicator, time and date in pipboy, time and date in worldamap.
Now it's one font - Numbers.bmp + Numbers.fnt0

2) How to edit Numbers.bmp + Numbers.fnt0 ? I can change bmp (colors, transparency and so on), but how to change digit size?

3)How to change font used for ammo and deterioration counters?

Appreciate your answers!
Title: Re: Few questions about fonts.
Post by: skejwen on February 18, 2011, 07:06:20 am
1. Yes

2. For example using paint, since bmp files doesnt have alpha channel (transparency) you dont need to care about it. Oh, forget about *.fnt? files - they arent used by FOnline engine.

3. Like in point 2.
Title: Re: Few questions about fonts.
Post by: Doctor Eex on February 18, 2011, 07:20:20 am
1. Yes

2. For example using paint, since bmp files doesnt have alpha channel (transparency) you dont need to care about it. Oh, forget about *.fnt? files - they arent used by FOnline engine.

3. Like in point 2.


1. If yes, how to do that?

2. As I said, no problems with editing bmp. But .fnt0 IS USED by the engine, as seems it is description file with digits and letter size and position inside .bmp and I wonder how to modify it.
As result, I want to have BIG health indicator for example.

3. I don't even know what font file is responsible for that.
Title: Re: Few questions about fonts.
Post by: skejwen on February 18, 2011, 07:24:38 am

1. If yes, how to do that?

2. As I said, no problems with editing bmp. But .fnt0 IS USED by the engine, as seems it is description file with digits and letter size and position inside .bmp and I wonder how to modify it.
As result, I want to have BIG health indicator for example.

3. I don't even know what font file is responsible for that.

ad2. It seems that you possess better knowledge about this case than me, so I conclude that my help isnt needed ^^
Title: Re: Few questions about fonts.
Post by: jan0s1k on February 18, 2011, 07:50:57 am

As result, I want to have BIG health indicator for example.


It's impossible as I remember, because when you change size of file Numbers.bmp months and other "things" inside just breaking...

Tried many times, by many people, if you find way for it tell us :) But for now, it's impossible...
Title: Re: Few questions about fonts.
Post by: Doctor Eex on February 18, 2011, 08:58:26 am
It's impossible as I remember, because when you change size of file Numbers.bmp months and other "things" inside just breaking...

Tried many times, by many people, if you find way for it tell us :) But for now, it's impossible...

If i cannot make different fonts for  health, AC indicator, time and date in pipboy, time and date in worldamap - no problem.
I just remove dates. Because I can press ? to know.
But I don't know how to edit Numbers.fnt0 to make digits bigger. That is the problem

add - O'k seems I've found the way to make HUGE health digits.
Title: Re: Few questions about fonts.
Post by: jan0s1k on February 18, 2011, 10:25:16 am
If i cannot make different fonts for  health, AC indicator, time and date in pipboy, time and date in worldamap - no problem.
I just remove dates. Because I can press ? to know.
But I don't know how to edit Numbers.fnt0 to make digits bigger. That is the problem
I mean, that you can change colours, etc, but no size, because of this, that there is other "things" like this months, etc...
Title: Re: Few questions about fonts.
Post by: Doctor Eex on February 18, 2011, 10:33:09 am
O'k what am I going to do for my interface mod:

1) world map and pipboy will not longer indicate date/time - sorry, but we got "?" button for it.
2) Health will be transparent and HUGE, I think it could be useful during hot firefights.

(http://dl.dropbox.com/u/18265894/example%20123%20health.jpg)
Title: Re: Few questions about fonts.
Post by: Warger on February 18, 2011, 03:39:23 pm
http://www.fonline.ru/forum/showthread.php?t=18948&highlight=%D8%F0%E8%F4%F2%FB
Title: Re: Few questions about fonts.
Post by: jan0s1k on February 18, 2011, 03:47:58 pm
O'k what am I going to do for my interface mod:

1) world map and pipboy will not longer indicate date/time - sorry, but we got "?" button for it.
2) Health will be transparent and HUGE, I think it could be useful during hot firefights.

(http://dl.dropbox.com/u/18265894/example%20123%20health.jpg)

That was, what I mean... You can change almost everything, but it affect on other "things".
Title: Re: Few questions about fonts.
Post by: Doctor Eex on February 18, 2011, 06:27:51 pm
I've found the way to edit default Numbers font.
You can try it here http://fodev.net/forum/index.php?topic=13003.msg115276#msg115276

http://www.fonline.ru/forum/showthread.php?t=18948&highlight=%D8%F0%E8%F4%F2%FB

Thanks, I need to study this...
Title: Re: Few questions about fonts.
Post by: Doctor Eex on February 18, 2011, 08:18:03 pm
If anyone interested - the way to edit Numbers.fnt0
First, download winhex. Then open file. File has such structure

(http://dl.dropbox.com/u/18265894/fnt0%20stucture.jpg)

Hope it will help. First goes white digits block, then yellow,red, and month.