Hi, Defib Ragdolls is an alternative from the valve static survivor death models this plugin tries it's best to mimic functions and damage forces of clientsided ragdolls and will copy over any LMC overlay models on death.
Git Commits
Early version of just me smacking bodies around
Cvars:
PHP Code:
// 2 = [User common infected as vphysics for consistency] 1 = [Only use common infected vphysics for bugged models and survivor model(they heavy)] 0 = [Use model vphysics when available except for bugged models]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
dr_survivor_ragdoll_mode "1"
Bugs:
1:
Survivor Models sometimes don't render(no idea). Made workaround with adding overlay model.
2: VPhysics seems to have issues at high forces and pushes at lower tickrates, in short higher tickrates have better vphysics with less issues
Important Notes:
Spoiler
1: Yea the ragdolls are server sided.
2: These are very expensive on the NET.
We can bypass the upper limit of the maxroutable using packet splitting(1200 per update to 2400) before we drop updates(A tick) and bypass rates.
Below is optional and ignores client rate settings.
Add these to "server.cfg"
Cvars:
Code:
sm_cvar net_maxcleartime "0.0001"
sm_cvar net_splitrate "2"
sm_cvar net_splitpacket_maxrate 30000
Ignore this below if you don't run tickrate enabler.
This is important if you run tickrate enabler, you have to besure you don't put the net_splitpacket_maxrate above the tickrate or will get huge loss for connected clients!
(tickrate * 1000) an example is for 67 tickrate is (67 * 1000) = 67000
sm_cvar net_splitpacket_maxrate "67000"
For self compile Includes are located on this thread.
Lux's Model Changer
Don't use Defib Fix
Extension remove it and use this defibfix or you will crash with this plugin.
Use this Defib Fix ->
https://forums.alliedmods.net/showthread.php?t=315483
Thanks
NgBUCKWANGS for testing on your servers.
To compile your self here are extra includes
Requirement:Lux's Model ChangerModules required from Lux's Model Changer:
LMCCore
LMCL4D2CDeathHandler
Installation: 1.Download the .zip file.
2.Merge with \addons\ folder.
3.Restart the server.