AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   TF2: How to fix prop_ragdoll falling through the map after spawning too many of them? (https://forums.alliedmods.net/showthread.php?t=303862)

Chdata 12-25-2017 06:13

TF2: How to fix prop_ragdoll falling through the map after spawning too many of them?
 
I'm replacing player's tf_ragdolls with prop_ragdolls which allow me to do serverside stuff.

However, after killing lots of players, or a certain number of map changes, or something, the ragdolls start falling through the world.

The problem persists even on map change, but the problem fixes itself if I completely restart the server.

How can I fix this?

prop_ragdoll seems to remove itself during teamplay_round_win, so I don't think it's an issue of the ragdolls not being deleted eventually.

Edit: When this happens, they'll fall through the world, but they can land properly on prop_dynamics, like control points.

Edit 2: It breaks after exactly 8 prop_ragdolls have been spawned.

The default value of g_ragdoll_maxcount is 8, setting it to 90000 and restarting the server seems to be working.

Edit 3: Nope, they broke again. I guess it's not the number of ragdolls.


All times are GMT -4. The time now is 14:08.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.