PivityGmodStore

๐ŸŽจ Custom color schemes

In this topic I'll explain how to create custom color schemes.

Note: all console commands used in this topic are available only if debug mode is enabled.

  1. Enable debug mode. To do this, open glorioushud/lua/autorun/gh_init.lua. On line 20 change false on true like this GH.Debug = true.
  2. Restart server and connect
  3. Go to folder serverlocation/garrysmod/data/glorioushud and clone dark.json or light.json and rename it to some ID like blue.json (don't use spaces)
  4. Open your file using any code editor and format JSON to pretty view using tool you prefer (e.g. https://jsoneditoronline.org/)
  5. Now let's change few fields before you start change colors
  6. id - same as file name
  7. pretty_name - name which displayed in client settings
  8. icon - leave it blank or you can select icon you want from lucide sprite sheet. Go to the game, open console and type gh_spritedebug. On right panel using left and right arrow change sprite sheet to lucide, now select icon you want and press Copy name on right panel.
  9. For update color schemes without restarting server use console command in server console gh_reloadschemes
  10. Select your scheme in client settings
  11. Change colors, they presented in r g b a format
  12. After you've finished don't forget disable debug mode and restart server (set false like in first step)

If a GloriousHUD update comes out that contains new colors and you don't have them, don't worry, it's all thought out. The HUD will add the missing colors to your scheme from the standard dark scheme.

Can't find what you're looking for?

Contact support