Garry's Mod

Garry's Mod

Ultimate Workshop Downloader
Rancid Randy 2020 年 10 月 9 日 下午 10:42
What happens to mods that don't include model/texture/sound/etc. files?
This is a very stupid question and I apologize in advance but what would happen if (for example) I, the p2p host for my friends, had a mod that didn't add these types of files, like a fall damage tweak? Would my friends need to download that individually for it to take effect?
< >
正在显示第 1 - 8 条,共 8 条留言
Nifae 2020 年 10 月 11 日 上午 3:36 
that will be changing server-side things that will apply to them when they join, no download needed, at least in the case of fall damage
madkirk74 2020 年 10 月 17 日 下午 8:17 
you see, if it has none of those, it simply doesn't exist, thus it doesn't need to download.
Xalalau  [开发者] 2020 年 10 月 18 日 下午 10:44 
As long as the programmer has done his job correctly, GMod handles the .lua files by itself (they are automatically downloaded by clients if necessary).

So in this case, a simple fall damage script, our addon isn't needed and can be disabled without any problems. :missing:
Rancid Randy 2020 年 10 月 19 日 上午 8:19 
That makes sense, thank you!
ItsKondz 2020 年 11 月 26 日 下午 6:26 
probably will be updated soon with that because i told the update ideas and not gonna lie my update ideas i told will be better read my comment in the addon
ItsKondz 2020 年 11 月 26 日 下午 6:27 
so the Missing textures will be downloaded on the next update
最后由 ItsKondz 编辑于; 2020 年 11 月 26 日 下午 6:38
Gordon Freeman 2021 年 7 月 10 日 上午 4:35 
as long as it's only a line of code and nothing else, then i will not download, but it will work
Xalalau  [开发者] 2021 年 7 月 15 日 下午 1:01 
引用自 ItsKondz
probably will be updated soon with that because i told the update ideas and not gonna lie my update ideas i told will be better read my comment in the addon

引用自 ItsKondz
so the Missing textures will be downloaded on the next update

?


引用自 wojtazet
as long as it's only a line of code and nothing else, then i will not download, but it will work

If it's a server script, it's only needed on the server side, but if it's client or shared, we need to send it to the client side. That's it, and the programmer has to define this behaviour by using AddCSLuaFile https://wiki.facepunch.com/gmod/Global.AddCSLuaFile

UWD isn't about code, it's about resources.
最后由 Xalalau 编辑于; 2021 年 7 月 15 日 下午 1:09
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50