Left 4 Dead 2

Left 4 Dead 2

Survivor Ragdolls script
Shadowysn  [developer] 9 Jul, 2022 @ 8:07am
Technical Stuff (settings.cfg, etc)
Moved from the description page.

A settings.cfg file will be generated into Left 4 Dead 2/left4dead2/ems/survivor_ragdolls
Settings available are:
Setting
Default
Description
transparentOnlyOnRealism
true
Whether to allow transparent defib bodies only for Realism. true to enable, false to disable
timeUntilTransparent
5.00
Time until transparency is applied to defib body. Use -1.0 to disable completely
noDefib
false
Remove the defib body completely
allowBurningCorpse
false
Allow fire damage like Molotovs or Incendiary Ammo to set the body on fire
ragdollForce
0.3
Set to -1 to ignore. The multiplier for force applied to ragdolls. Valve weakened this effect on SI and commons sadly, but survivor ragdolls are fully affected
The hidden console variable that ragdollForce controls is phys_ragdoll_force_magnitude

The addon has functionality on all gamemodes and maps, but for PvP gamemodes like Versus it is automatically disabled by Valve.
To make it work in Versus on your local server, right-click on Left 4 Dead 2 in your steam library, select Properties, click on the Installed Files tab, then click on the Browse... button.
Go to left4dead2/cfg/ and open addonconfig.cfg with a text editor or Notepad.
Finally, edit this line:
"versus" "1"
to
"versus" "0"

How to increase the survivor ragdoll limit (by MR. Santiago):
well you need to create a script/gamemodes addon and add these commands in gamemodes.txt file cvars in coop realism etc.:
cl_ragdoll_limit -1
cl_ragdoll_maxcount 110
cl_ragdoll_maxcount_survivor 4
sv_ragdoll_maxcount 110
sv_ragdoll_maxcount_survivor 4

With these, you can ensure that none of the survivor ragdolls will disappear even if you dont see them killed or after killing so many infected. The ragdoll will stay for the entire chapter
Last edited by Shadowysn; 21 Jul, 2023 @ 11:46pm
< >
Showing 1-11 of 11 comments
Crono 4 Nov, 2022 @ 12:30pm 
Can someone explain how to make the ragdolls not disappear like santiago did, but more detailed? I have no idea how to create addons or if I even can.
anyone know how to make the zombie corpses ragdoll disappear how they were at a normal rate, they keep piling up creating outrageous FPS drops because they dont disappear... everrr
hmmm says here that cl_ragdoll_maxcount_survivor 8 is a unknown
i installed l4d2 spawn and l4d1 spawn `addon:steamfacepalm:
Nobody #SaveTF2 1 Mar, 2024 @ 5:08pm 
it wont let me go on to the settings
cxz 9 Jul, 2024 @ 4:31am 
how to do it?:steamsad:
76561199059642207 15 Sep, 2024 @ 9:18am 
Originally posted by Shadowysn:
Moved from the description page.

A settings.cfg file will be generated into Left 4 Dead 2/left4dead2/ems/survivor_ragdolls
Settings available are:
Setting
Default
Description
transparentOnlyOnRealism
true
Whether to allow transparent defib bodies only for Realism. true to enable, false to disable
timeUntilTransparent
5.00
Time until transparency is applied to defib body. Use -1.0 to disable completely
noDefib
false
Remove the defib body completely
allowBurningCorpse
false
Allow fire damage like Molotovs or Incendiary Ammo to set the body on fire
ragdollForce
0.3
Set to -1 to ignore. The multiplier for force applied to ragdolls. Valve weakened this effect on SI and commons sadly, but survivor ragdolls are fully affected
The hidden console variable that ragdollForce controls is phys_ragdoll_force_magnitude

The addon has functionality on all gamemodes and maps, but for PvP gamemodes like Versus it is automatically disabled by Valve.
To make it work in Versus on your local server, right-click on Left 4 Dead 2 in your steam library, select Properties, click on the Installed Files tab, then click on the Browse... button.
Go to left4dead2/cfg/ and open addonconfig.cfg with a text editor or Notepad.
Finally, edit this line:
"versus" "1"
to
"versus" "0"

How to increase the survivor ragdoll limit (by MR. Santiago):
well you need to create a script/gamemodes addon and add these commands in gamemodes.txt file cvars in coop realism etc.:
cl_ragdoll_limit -1
cl_ragdoll_maxcount 110
cl_ragdoll_maxcount_survivor 4
sv_ragdoll_maxcount 110
sv_ragdoll_maxcount_survivor 4

With these, you can ensure that none of the survivor ragdolls will disappear even if you dont see them killed or after killing so many infected. The ragdoll will stay for the entire chapter
Does the ragdoll force control how the survivors are knocked back?
RAHHHH 5 Feb @ 6:43pm 
how to make the ragdoll force to 8?
why all the text is in chinesse?

ൻऊ潮敄楦⁢‽慦獬൥ऊ慲摧汯䙬牯散㴠ⴠറऊ牴湡灳牡湥佴汮佹剮慥楬浳㴠琠畲൥ऊ污潬䉷牵楮杮潃灲敳㴠映污敳਍琉浩啥瑮汩牔湡灳牡湥⁴‽⸵〰਍}
I don't see the survivor_ragdolls carpet in ems. What should I do?
Originally posted by -Dragon_moji-:
why all the text is in chinesse?

ൻऊ潮敄楦⁢‽慦獬൥ऊ慲摧汯䙬牯散㴠ⴠറऊ牴湡灳牡湥佴汮佹剮慥楬浳㴠琠畲൥ऊ污潬䉷牵楮杮潃灲敳㴠映污敳਍琉浩啥瑮汩牔湡灳牡湥⁴‽⸵〰਍}

use something other than notes
< >
Showing 1-11 of 11 comments
Per page: 1530 50