Garry's Mod Leaks
[LEAK] Fangli's in-game downloads
Submitted by POP1, 13-03-2018, 08:15 PM, Thread ID: 79814
Thread Closed
Fangli's In-Game Downloads
Why do I need it?
To get more players, of course!
You probably already know that players hate waiting on the loading screen. With this addon, players will be able to join your server in literally no time, and they can spend that time on your server, enjoying playing your gamemode! I've made sure that everything works smoothly and that the downloads won't affect the gameplay.
What it does:
Eliminates the need for downloads before joining
Gives you the ability to make players download Workshop addons much more dynamically, after connecting to your server!
Without the annoying downloads before joining, your server will have a lot more new players!
How it works:
The server downloads information about the download(s) from Steam Workshop
Connected players download this information 20 seconds after joining
They download the content from Steam Workshop directly (should be very fast)
This addon writes the content on their PC, so they won't have to re-download it again
The content gets mounted, every missing models, materials, sounds, resources will reload and work!. This addon does NOT work with maps
Configuration:
Open the file addons/figd/lua/autorun/server/figd.lua
On line #9 you will need to type your own Steam API key. You can get one here: http://steamcommunity.com/dev/apikey
On line #12 you will have to change the sample workshop IDs with the one you want the clients to download.
On line #19 you will have to change the sample workshop collection ID with the one you want the clients to download or remove the line to have no collection. You can add more collections too.
Make sure that you don't have any code that uses resource.AddWorkshop for the same item or the content will be downloaded twice!
VERSION 2.3
Users browsing this thread: 2 Guest(s)