So basically, I’m trying to set up my own Trouble In Terrorist Town server and I’m having some trouble with regards to Workshop addons. I’ve played a few TTT servers recently, and they all seem to force the client to download custom maps/models ect through the Workshop, saving server bandwidth. I’m attempting to host a server from a home computer and so it would take hours for addons to download straight from the server, which is why I want to use the Workshop instead.
I’ve followed the tutorial and video found here: http://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers
And I’ve created a “test” collection on the Workshop which contains the “nomad” weapon. I’ve also added the “+host_workshop_collection” and “-authkey” to the SRCDS.exe
Upon joining the server, it appears to download the custom content directly from the server as it takes a while and says nothing about the Workshop or mounting addons. Once that’s done and you’re in the server, the weapon shows up as an error.
I’ve also read about adding the “resource.AddWorkshop()” lines in lua/autorun/server but I am confused. Am I supposed to add these as well as the “+host_workshop_collection” command line? And also, the help page on this lua function says “just make them download the current map.” How would I go about doing this? Am I reading too far into this, or is getting the server to use Workshop addons downloaded from the Workshop servers a very hard task?
Thanks in advance!