

H0L-D4 offers an ample API, but I will only list the most important functions, which are those in charge of adding elements and forcing settings. Before you start writing codeĪll of the custom files are loaded sharedwise, meaning that it will work in both clientside and serverside, so I'd like to remind using if CLIENT and if SERVER respectively. Try to use unique file names in order to avoid conflicts with other addons. lua files as you wish and the HUD will load them all. It makes the game read the HUD files faster instead of having. Once you created your folder you'll be able to add as many. You might want to try converting the custom HUD files to a. To ensure that your configuration loads correctly, you'll have to make a folder inside your addons folder with a specific structure: %YOUR_CONFIG_ADDON_FOLDER%/lua/autorun/holohud/add-ons. Each elements has their own array of optionsĪdding custom content Setup your configuration folder.Customizable holographic themed heads up display (HUD) for Garry's Mod.
