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).

List of Fonts

Spongebob Font

Spongebob Font

Bebas Neue

Bebas Neue Font

The Bold Font (staticHUD font)

The Bold Font

Blue Highway (boredHUD font)

Blue Highway

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:

Notepad++ Example

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.

  1. Navigate to voidHUD/_custom and open font_customization.res.
  2. With the previous file open, navigate to the voidHUD/_voidhud/resource folder.
  3. Paste your desired .ttf or .otf font into the fonts folder. Make sure there are not any spaces in the filename of your font.
  4. Open the scheme folder
  5. Copy fonts_sansation.res and paste (duplicate the file) and rename it to font_yourfontnamehere.res
  6. In font_customization.res, comment out all uncommented lines (add // to the beginning of the line).
  7. Add a new line and type this out: #base "../_voidhud/resource/scheme/fonts_yourfontnamehere.res"
  8. In your newly duplicated font_yourfontnamehere.res file, scroll to the very bottom. You will see a line that looks like this:

font-example2

  1. Change the "_voidhud/resource/fonts/sansation_bold.ttf" to "_voidhud/resource/fonts/your-font-name.ttf" or .otf depending on it's format.
  2. 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 is Sansation_Bold.ttf when opened in a font viewer. As you can see, the font name is Sansation in the font viewer (that's the name you will have to use in the find and replace.

Sansation Example

  1. 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.