Identix
Browse AddonsDownload RLIB
  • Introduction
  • Showcase
  • Changelog
    • 🟧2.6.0.0
    • 🟧2.5.2.0
    • 🟧2.5.1.0
    • 🟧2.5.0.0
  • FAQ
    • ◾Addon Won't Show
    • ◾Change Currencies
    • ◾Change Themes
    • ◾Disabling Names
    • ◾Incompatible Addons
    • ◾Modified Script
    • ◾Refunds
    • ◾Script Errors
    • ◾When Are Updates?
  • ❱ Setup
    • ◾Install
    • ◾Verify
    • ◾Workshop
  • ❱ Configuration
    • ◾Env
    • ◾Fonts
    • ◾Languages
    • ◾Database
    • ◾Settings
      • ◾Non-RP Gamemodes
  • ❱ First Use
    • ◾Binds
    • ◾Permissions
      • SAM
      • ServerGuard
      • ULX
      • xAdmin
  • ❱ Developers
    • ◾Hooks
      • 🔗identix_fonts_register
      • 🔗identix_pl_authenticate
      • 🔗identix_pl_name_set
      • 🔗identix_pl_name_set_post
      • 🔗identix_pl_name_rs
      • 🔗identix_pl_name_rs_post
      • 🔗identix_pl_profile_rate
      • 🔗identix_rnet_register
Powered by GitBook
On this page
  • ◾ Location
  • ◾ Parameters
  • ◾ Structure
  • ◾ Saving Changes
  • ◾ Notes
  1. ❱ Configuration

Fonts

Information related to modifying fonts.

◾ Location

lua\modules\identix\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, 'g_section_name', 'Advent Pro Light', 32, 200 )

◾ Saving Changes

After editing a font; you must execute the console command identix.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 3 years ago

◾