Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: SL1 on May 14, 2023, 05:56:07 am

Title: How do I change the font for the mainhall, techroom, etc but not the HUD?
Post by: SL1 on May 14, 2023, 05:56:07 am
The default font for the non-HUD stuff is too small for me to read comfortably. I've noticed that Sol: A History uses a larger, much more readable font for its menus. I tried copying its fonts folder and fonts.tbl over to my mediavps folder, but that also changed the HUD font, which I don't want to do. Is there a way to set it up so that the menus use the bigger font but the HUD keeps the default font?
Title: Re: How do I change the font for the mainhall, techroom, etc but not the HUD?
Post by: 0rph3u5 on May 15, 2023, 01:30:35 pm
Hi,
not familiar with the file you are using and I don't have a version of them on this device for reference, but it sounds like that in addition to copying fonts.tbl you need to make a change to hud-gauges.tbl (or mv_root-hdg.tbm) as well.

See this:
https://wiki.hard-light.net/index.php/Hud_gauges.tbl#.24Font:

tl;dr: Unless hud_gauges.tbl uses a string for the value of $Font it uses an index number generated by reading fonts.tbl's contents. Which will be different between two versions of fonts.tbl.
Title: Re: How do I change the font for the mainhall, techroom, etc but not the HUD?
Post by: SL1 on May 18, 2023, 08:13:59 am
Does the default font have a name I can type in so that the HUD switches to it?
Title: Re: How do I change the font for the mainhall, techroom, etc but not the HUD?
Post by: 0rph3u5 on May 18, 2023, 05:21:07 pm
Without having all the relevant files for reference, I cannot give you an actionable answer.