Help modding the font and UI for PS:T EE
walter10h
Member Posts: 4
in PST:EE Mods
Hello. I've been trying to use another font for PS:T EE, however I can't seem to make it work at all. I tried using a BAM, a TTF, put it in override, put it in lang, but it always default to the default font and font size. I have low vision and the text is awfully small for me, even with the zoom. Also, even if I configure the lua file, some text is still too tiny. Same deal with the UI, the icons are small and hard to see, same thing with the tablet UI. So here's my question. How can I mod the font on the Enhanced Edition of PS:T? And what about the UI itself to make it bigger?
Also is the 2.5 update coming to this game?
Also is the 2.5 update coming to this game?
0
Comments
1. Globally override the font style.
Create a file with a name starting with M and a lua extension (for example M_STYLES.lua). Copy/paste this content into it and put the file in the override folder.2. Manually patch the UI.menu
Extract the UI.menu file (with NearInfinity or by pressing F11 in game if you have enabled 'UI Edit Mode') into the override folder and replace all occurences of 'useFontZoom 0' with 'useFontZoom 1'.At max zoom level, default:
With these two changes:
3. Changing the font.
The game use a TTF file for the font called BOOKMANI.TTF. If you put a file with that name in the override folder it should be used instead of the default one. See for example the attached font (or use your own if you already have one).Here is what it looks like with it:
Warning: this font does not have all special characters so it should work if you play in English but in other languages you may have some characters that will not be rendered correctly.
All that aside, I had no idea that styles could be overwritten like that. I figured I had to screw around with BGEE.lua directly no matter what. I went ahead and changed the point size too so I could have a bigger default size.
What about the floating text? Is there anything I can do about that? The rest of the text looks great but the floating text is still for ants.