PivityGmodStore

Create workshop contents

If you don't want to use the FastDL feature of the script, and want to create your own content for your HUD, here is a quick tutorial.

First, type in game the following command :

!getresources type hudname

Example :

!getresources 1 seth hud

The types are the following :

  1. 1 = HUD
  2. 2 = Death notice
  3. 3 = Vehicle HUD


Then, check your console, you'll have something like this :

It's all the contents used by the HUD.

Into the addons folder of your game ( not of your server ) :

  1. Create a folder called my-hud-contents
  2. Add all the contents used by your HUD
  3. If it's a material, it should look like my-hud-contents/path in the console

( in the example : my-hud-contents/materials/ui_maker/hudmaker.png )

  1. If it's a font, create folders to have something like this : my-hud-contents/resource/fonts/ and add all your fonts in (.tff files).
  2. In the my-hud-contents folder, add an image called my-hud-contents.jpg in the jpeg format, of 512x512px (it'll be the thumbnail of the contents )
  3. Download the Upload.cmd file here : https://github.com/EstevanTH/GMod-Easy-Addon-Uploader and drop it into my-hud-contents
  4. At this step, you should have something like this :
  5. Open the Upload.cmd file and follow the instructions (clic on enter when a step is done to move to the next one ). /!\ You can't upload files with capital letters, if the font has capital letters, just rename it. If your material has capital letters, rename it and in-game, with the tool, modify the HUD to not use capital letters.
  6. Note : if something is wrong (like, capital letters), just close the Upload.cmd, rename what you have to rename, and open again the upload.cmd
  7. Once it's done, you should have uploaded on Steam your workshop contents !