Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can the fonts be changed?
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#11
RE: Can the fonts be changed?

First results!

http://sdrv.ms/13L3aH4

It looks good even with the current white font on black background.

If anyone can help me with color and size selection, please take a look at this thread
http://www.frictionalgames.com/forum/thr...#pid203762

Grphc mods
[Image: moddb_88x31_v12.png]
02-25-2013, 11:00 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#12
RE: Can the fonts be changed?

The font sizes are generally defined in the menu.cfg of the game. Setting the font size in the BMF program can only really affect the resolution of the text in game.

As for color, you could probably modify the DDS files and adjust the colors like that. The menu.cfg file doesn't seem to allow for colors not related to inventory.

Tutorials: From Noob to Pro
02-25-2013, 11:18 PM
Website Find
plutomaniac Offline
Super Moderator

Posts: 6,368
Threads: 45
Joined: May 2011
Reputation: 183
#13
RE: Can the fonts be changed?

I approve! Smile
02-25-2013, 11:18 PM
Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#14
RE: Can the fonts be changed?

(02-25-2013, 11:18 PM)Your Computer Wrote: The font sizes are generally defined in the menu.cfg of the game. Setting the font size in the BMF program can only really affect the resolution of the text in game.

As for color, you could probably modify the DDS files and adjust the colors like that. The menu.cfg file doesn't seem to allow for colors not related to inventory.
Re menu.cfg. I know that font size is defined there. The problem is I keep getting size 32 even though I haven't modified any .cfg entries and the only entry related to font size is
...
<Effects

    VoiceTextFontSize = "18 18"
...

Grphc mods
[Image: moddb_88x31_v12.png]
02-25-2013, 11:28 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#15
RE: Can the fonts be changed?

Effects voice text is another form of subtitle text. Unless the font size is shared, that wouldn't change journal font sizes. Effect voice text isn't the only text that you can change font sizes for in the menu.cfg file. For my own mods i haven't taken time to adjust every aspect of the menu.cfg file, but from what i have messed around with i know that some things are indeed shared. Of course, this is not to say that you'll achieve what you want.

Tutorials: From Noob to Pro
(This post was last modified: 02-25-2013, 11:43 PM by Your Computer.)
02-25-2013, 11:41 PM
Website Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#16
RE: Can the fonts be changed?

(02-25-2013, 11:41 PM)Your Computer Wrote: Effects voice text is another form of subtitle text. Unless the font size is shared, that wouldn't change journal font sizes. Effect voice text isn't the only text that you can change font sizes for in the menu.cfg file. Although the journal element may not have an attribute that allows for changing font sizes, it is still possible that the font size is shared with other sizes. For my own mods i haven't taken time to adjust every aspect of the menu.cfg file, but from what i have messed around with i know that some things are indeed shared. Of course, this is not to say that you'll achieve what you want.
I'm sorry but this doesn't help me much. Menu.cfg seems to be the only non-menu-specific .cfg that contains "size" string and the line I posted above seems to be THE line as the default journal font indeed is 18 pixels in size in-game. I don't understand the discrepancy between the setting and at what size my custom font is being displayed.

On top of that I've tested custom font sizes from 18 to 128 and they all showed as 32-pixel fonts in-game.

I use high pixel-density display (15" at 1680x1050) so it's not a problem for me, but people with lower density displays will find the fonts huge.

Grphc mods
[Image: moddb_88x31_v12.png]
(This post was last modified: 02-25-2013, 11:52 PM by Bucic.)
02-25-2013, 11:47 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#17
RE: Can the fonts be changed?

Are you trying to make your own mod for others to play and use? If so, i will move this topic to a more suitable place. (If not, then i don't see other people's monitor specs being relevant.) The menu.cfg is the only place i know of where font sizes can be adjusted. The engine was designed to be a specific way, not to be fully customizable. HPL3 will allow for a wider range of customization, but HPL2 is designed to be limited to fit only the needs of the developers.

Tutorials: From Noob to Pro
02-25-2013, 11:52 PM
Website Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#18
RE: Can the fonts be changed?

(02-25-2013, 11:52 PM)Your Computer Wrote: Are you trying to make your own mod for others to play and use? If so, i will move this topic to a more suitable place. (If not, then i don't see other people's monitor specs being relevant.) The menu.cfg is the only place i know of where font sizes can be adjusted. The engine was designed to be a specific way, not to be fully customizable. HPL3 will allow for a wider range of customization, but HPL2 is designed to be limited to fit only the needs of the developers.
If a custom journal font qualifies as a mod, then yes, I am trying to make one.

Please take a look at my EDIT to the previous post of mine.

Another hint - the font size set for export in BMF affects only in-game font resolution i.e. anything from 32 up gives crisp fonts while e.g. gives blured fonts.

Grphc mods
[Image: moddb_88x31_v12.png]
(This post was last modified: 02-26-2013, 12:03 AM by Bucic.)
02-25-2013, 11:54 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#19
RE: Can the fonts be changed?

The font sizes are measured in points. When i adjust Journal::NoteFontSize to equal "120 120", the font size of the notes in game scales to 120pt for the font family; 120px wouldn't yield such large text and wouldn't be suitable for multiple, varying systems.

Tutorials: From Noob to Pro
02-26-2013, 12:22 AM
Website Find
Bucic Offline
Member

Posts: 145
Threads: 27
Joined: Feb 2013
Reputation: 3
#20
RE: Can the fonts be changed?

Journal::NoteFontSize ?
I haven't seen such entry anywhere! Where is this located?

Grphc mods
[Image: moddb_88x31_v12.png]
02-26-2013, 12:44 AM
Find




Users browsing this thread: 3 Guest(s)