PivityGmodStore

Adding custom medal icons (Workshop)

The optimal size of your medals should be a power of 2. So 64x64 or 128x128 is the most optimal.


In order to add your own medals, you will simply configure a new medal with your custom PNG path inside lua/ch_medals/shared/ch_medals_config_medals.lua - See examples on how to add new medals here https://www.gmodstore.com/help/addon/medals-reward-medals-3d2d-show-hide-medals-authorize-staff/configuration-17

You then need to put your materials on the workshop. You can use https://github.com/WilliamVenner/gmpublisher to publish the materials to the workshop. I believe there are various guides on how to use gmpublisher on YouTube as well.

Now add your newly created workshop addon to your servers workshop collection and then make a .lua file in lua/autorun/ on your server and resource.AddWorkshop the URL. Some server hosts offer to automatically generate the lua file for you, so check with your host first :)

Can't find what you're looking for?

Contact support