Garry's Mod

Garry's Mod

Ultimate Workshop Downloader
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 van 8 reacties weergegeven
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
you see, if it has none of those, it simply doesn't exist, thus it doesn't need to download.
Xalalau  [ontwikkelaar] 18 okt 2020 om 22: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:
That makes sense, thank you!
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
so the Missing textures will be downloaded on the next update
Laatst bewerkt door ItsKondz; 26 nov 2020 om 18:38
as long as it's only a line of code and nothing else, then i will not download, but it will work
Xalalau  [ontwikkelaar] 15 jul 2021 om 13:01 
Origineel geplaatst door 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

Origineel geplaatst door ItsKondz:
so the Missing textures will be downloaded on the next update

?


Origineel geplaatst door 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.
Laatst bewerkt door Xalalau; 15 jul 2021 om 13:09
< >
1-8 van 8 reacties weergegeven
Per pagina: 1530 50