Arivia
Browse ScriptsDownload RLIB
v3.x
v3.x
  • Introduction
  • Select Version
  • Showcase
  • Changelog
    • ◾3.0.0.6-beta
    • ◾3.0.0.5-beta
    • ◾3.0.0.4-beta
    • ◾3.0.0.3-beta
    • ◾3.0.0.2-beta
    • ◾3.0.0.1-alpha
  • FAQ
    • ◾Add Food Categories
    • ◾Addon Won't Show
    • ◾Incompatible Addons
    • ◾Custom Category Colors
    • ◾Hide Unavailable Jobs
    • ◾Modified Script
    • ◾Refunds
    • ◾Script Errors
    • ◾When Are Updates?
  • ❱ Setup
    • ◾Install
    • ◾Verify
    • ◾Workshop
    • ◾Docs/Web
  • ❱ Configuration
    • ◾Env
    • ◾Fonts
    • ◾Languages
    • ◾Settings
      • sh_4_tabs.lua
        • bUseModelImage
        • styleB
    • ◾Visual Blueprints
  • ❱ First Use
    • ◾Binds
    • ◾Console Commands
      • ▸arivia.listjobs
      • ▸arivia.getjob
      • ▸arivia.setjob
  • ❱ Developers
    • ◾Jobs
      • ▸Parameters
        • tip
        • NeedJob
        • NeedGroup
      • ▸Sorting
    • ◾Entities
      • ▸accent
      • ▸allowed
      • ▸customHideUnavail
      • ▸level
      • ▸prestige
      • ▸price
      • ▸tip
    • ◾Food
      • ▸category
    • ◾Categories
      • ▸tip
  • ❱ Internal
    • ◾Rules
    • ◾Web Demo
  • ❱ DOC REFERENCES
    • ◾Status
Powered by GitBook
On this page
  • ▸ Location
  • ▸ Parameters
  • ▸ Structure
  • ▸ Saving Changes
  • ▸ Notes
  1. ❱ Configuration

Fonts

Information related to modifying fonts.

▸ Location

lua\modules\arivia\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 changing a font; you must execute the console command arivia.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

◾