Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
You can make all clients set their model decal to zero on "PlayerInitialSpawn" event. This should include map changes.
simply create a new lua file inside the garrysmod/lua/autorun/server directory with following content:
found this code line at github:
https://github.com/C0nw0nk/Garrys-Mod-Zombie-Survival/blob/master/garrysmod/lua/autorun/server/crash.lua
this also sets r_maxmodeldecal to its default value 50
Best Regards o/
Instead of just having people type in r_drawmodeldecals 0 for fixing crash issues, just put this in your materials' VMTs:
$nodecal 1
It basically does "r_drawmodeldecals 0" automatically for the model only, so no indices error pops up. It should completely eliminate the need to make a separate model.
Check recent addons you have added to your server. If the issue is still there, tell me what part of the body is crashing the game when you shoot at it. Addons that create blood effects are proven to be incompatible.
hook.Add("PlayerInitialSpawn", "anti-crash", function(ply)
ply:SendLua("RunConsoleCommand('r_drawmodeldecals', 0)")
ply:SendLua("RunConsoleCommand('r_maxmodeldecal', 50)")
end)
May work, I haven't tried it. But along the lines of $nodecal 1 fixing the issue without it; I don't think it does. I am not doing this in single player. I am doing this on a dedicated NFO game server.
This was supposed to be solved long time ago.
[EDIT] The update done 2 days ago only fixed fingers and arms issues, and should have done nothing else.