Alternative Fonts - cjrose/voidHUD GitHub Wiki
In Release 11.15.2020
, I have added the ability to change the font used throughout the HUD for better customization. Here is a list of all the available fonts you can swap between. Below, I will include a guide on how to add your own font (if you would so choose).
Spongebob Font
Bebas Neue
The Bold Font (staticHUD font)
Blue Highway (boredHUD font)
Installing an existing font
Navigate to voidHUD/_custom
and open the font_customization.res
file with a text editor of your choice (Notepad++, Vim, etc.). By default, the only line not commented (lines starting with //
) is the #base "../_voidhud/resource/scheme/fonts.res"
line. Add //
to the beginning of that line, and remove //
from the beginning of the line for the font you want to use. You will need to restart your game for these settings to take effect.
For example, if you want to enable Sansation (the voidHUD Classic font), this is what your file should look like:
Installing your own font
This section is only recommended to those who have a slight understanding of HUD editing. I will try and lay it out as simple as possible for those who may not be as versed, but make sure to follow these steps exactly.
- Navigate to
voidHUD/_custom
and openfont_customization.res
. - With the previous file open, navigate to the
voidHUD/_voidhud/resource
folder. - Paste your desired
.ttf
or.otf
font into thefonts
folder. Make sure there are not any spaces in the filename of your font. - Open the
scheme
folder - Copy
fonts_sansation.res
and paste (duplicate the file) and rename it tofont_yourfontnamehere.res
- In
font_customization.res
, comment out all uncommented lines (add//
to the beginning of the line). - Add a new line and type this out:
#base "../_voidhud/resource/scheme/fonts_yourfontnamehere.res"
- In your newly duplicated
font_yourfontnamehere.res
file, scroll to the very bottom. You will see a line that looks like this:
- Change the
"_voidhud/resource/fonts/sansation_bold.ttf"
to"_voidhud/resource/fonts/your-font-name.ttf"
or.otf
depending on it's format. - Utilizing a find and replace feature (in Notepad++, Vim, etc.), replace all instances of
Sansation
with your font's name. Note, your font's name and it's file name may not be the same. Here isSansation_Bold.ttf
when opened in a font viewer. As you can see, the font name isSansation
in the font viewer (that's the name you will have to use in the find and replace.
- Now restart your game and you should see your font. If you don't, make sure to go back through each of the steps above to double check for errors.