Arivia
Browse ScriptsDownload RLIB
v2.x
v2.x
  • Introduction
  • Select Version
  • Changelog
    • 2.2.1.0
    • 2.2.0.0
  • FAQ
    • ◾Add Custom Descriptions
    • ◾Addon Won't Show
    • ◾Incompatible Addons
    • ◾Opening Delay
    • ◾Material Wallpapers
    • ◾Modified Script
    • ◾Refunds
    • ◾Script Errors
    • ◾When Are Updates?
    • ◾v2 VS v3
  • ❱ Setup
    • ◾Install
    • ◾Verify
    • ◾Workshop
    • ◾Docs/Web
  • ❱ Configuration
    • ◾Settings
      • ◾sh_config
  • ❱ Internal
    • ◾Web Demo
Powered by GitBook
On this page
  • ▸Enable Custom Descriptions
  • ▸Create Custom Descriptions
  • ▸Important Notes
  1. FAQ

Add Custom Descriptions

How to apply custom descriptions to entities.

PreviousFAQNextAddon Won't Show

Last updated 4 years ago

▸Enable Custom Descriptions

  • Open lua\arivia\sh\cfg\sh_cfg_entities.lua

  • Change cfg.ent.bAllowCustomDesc to true

▸Create Custom Descriptions

  • Open lua\arivia\sh\cfg\sh_cfg_entities.lua

  • Connect to your gmod server

  • Open the Q menu (spawn menu / gmod menu)

  • Locate the entity you wish to add a custom description to

  • Right click on the entity / weapon and select "Copy to Clipboard".

  • Create a new line within the file lua\arivia\sh\cfg\sh_cfg_entities.lua

cfg.ent.desc[ 'entity_name' ] = 'Your description'
  • Save the file and go back to gmod.

  • If the edited item is selected already; select something else and then re-select your edited item so that the data refreshes.

▸Important Notes

[1] Ensure that any entity / weapon you add to the descriptions config file is inserted with the following structure:

  • Remove any S P A C E S and replace them with underscores ( _ )

  • No capital letters

By default; garry's mod should do this automatically when you select "Copy to Clipboard", but there have been rare cases where certain custom entities include spaces.

[2] If for some reason your custom descriptions do not take effect; try reconnecting to the server OR enable regeneration mode by opening lua\arivia\sh\cfg\sh_cfg_dev.lua and setting:

cfg.dev.regeneration        = true

Turn this OFF once you are done editing your descriptions.

◾