Builder-X
Browse ScriptsDownload RLIB
v2.x
v2.x
  • Introduction
  • Showcase
  • Changelog
    • ◾2.0.1.0
    • ◾2.0.0.0
  • FAQ
    • ◾Addon Won't Show
    • ◾Incompatible Addons
    • ◾Damage Issues
    • ◾Modified Script
    • ◾Refunds
    • ◾Script Errors
    • ◾When Are Updates?
  • ❱ Setup
    • ◾Install
    • ◾Verify
    • ◾Workshop
    • ◾Docs/Web
  • ❱ Configuration
    • ◾Env
    • ◾Fonts
    • ◾Languages
    • ◾Settings
      • ▸sh_cfg_bg
  • ❱ First Use
    • ◾Binds
  • ❱ Developers
    • ◾Functions
      • 🟦GetBuild
      • �� SetBuild
      • 🟦GetDmg
      • 🟦SetDmg
      • 🟦AddDmg
    • ◾Hooks
      • 🔗builderx.mode.onswitch
      • 🔗builderx.pl.ondamage
      • 🔗builderx.pl.onjoin
      • 🔗builderx.pl.onnoclip
Powered by GitBook
On this page
  • ▸ Location
  • ▸ Parameters
  • ▸ Structure
  • ▸ Saving Changes
  • ▸ Notes
  1. ❱ Configuration

Fonts

Information related to modifying fonts.

▸ Location

lua\modules\builderx\core\cl_fonts.lua

▸ Parameters

str prefix prefix added to front of id_name string

str id_name name used to call font entry

str font name of font used

int size size for font

int weight font weight ( 100, 200, 300, 400, 500, 600, 700, 800 )

bool shadow add shadow casting to the font

bool extended allow font to display glyphs outside Latin-1 range. unicode code points above 0xFFFF are not supported.

bool symbol enables the use of symbolic fonts such as Webdings

▸ Structure

Each font has the following structure:

_f( prefix, 'id_name', 'Font Name', size, weight, shadow, extended, sym )
_f( pf, 'root_exit', 'Roboto Light', 44, 800 )

▸ Saving Changes

After changing a font; you must execute the console command builderx.fonts.reload

▸ Notes

The only values you should modify are the font name, size, weight, and shadow.

If you wish to use a custom font that is not included with Garry's Mod; you must provide that font in a Steam Workshop collection for your server; or sync it to players using FastDL. This documentation does not include instructions on doing that; as it's outside the scope of what the purpose of this documentation is for.

PreviousEnvNextLanguages

Last updated 4 years ago

◾