Left 4 Dead 2

Left 4 Dead 2

Survivor Ragdolls script
Shadowysn  [udvikler] 9. juli 2022 kl. 8:07
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
Sidst redigeret af Shadowysn; 21. juli 2023 kl. 23:46
< >
Viser 1-13 af 13 kommentarer
Crono 4. nov. 2022 kl. 12:30 
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
Ellis 10. feb. 2023 kl. 7:20 
hmmm says here that cl_ragdoll_maxcount_survivor 8 is a unknown
i installed l4d2 spawn and l4d1 spawn `addon:steamfacepalm:
Nobody 1. mar. 2024 kl. 17:08 
it wont let me go on to the settings
cxz 9. juli 2024 kl. 4:31 
how to do it?:steamsad:
76561199059642207 15. sep. 2024 kl. 9:18 
Oprindeligt skrevet af 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
ALIBONI 30. okt. 2024 kl. 3:50 
Does the ragdoll force control how the survivors are knocked back?
RAHHHH 5. feb. kl. 18:43 
how to make the ragdoll force to 8?
-Dragon_moji- 22. feb. kl. 10:25 
why all the text is in chinesse?

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

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

use something other than notes
shriwa 23. juli kl. 6:47 
mr santiago can you make a tutorial on how you did it i tried everything yet they disaeppear
chicken little 29. juli kl. 21:36 
Why The ragdoll disapear i only have this mod
< >
Viser 1-13 af 13 kommentarer
Per side: 1530 50