Pivity

Add Photos to crates or keys for pointshop 2

Last read Never
#1

I dont know how to add a picture to a crate or key. I hope someone can give me the steps to add the picture or help me through steam

#2

-snip- Ignore my post. Follow Kam's instructions so you're not confused.

#3

What you want to do is create a new addon, put all your custom images into it and publish it to workshop. Afterwards you must add it as download by putting resource.AddWorkshop(workshopId) in a shared file. The workshopId is the number that you can see when you look at url of the workshop item on steam.

To create the addon:

  1. Make a new folder in garrysmod/addons (name doesn't matter but should be all lowercase, e.g. ps2custommaterials)
  2. Create a folder inside it: addons/ps2custommaterials/materials/pointshop2
  3. Put all of your custom materials in there (must be png or vmt)

To publish to workshop:

  1. Refer to wiki, i recommend using gmoshui (download at the Releases tab)

To add as downlad:

  1. Create a new file in lua/autorun (name does not matter).
  2. Go to your steam profile -> workshop items then click at the addon. Copy the page url, the numbers are your workshop id.
  3. In the fie add a line: resource.AddWorkshop(numbers here)
Winner x 3Agree x 1
#4

Thanks! I hope you can help me in the other post i published, i cant strt my server with those problems

Users viewing this thread
Nobody