Possible to adjust ragdoll decay timer?
aeroripper
Join Date: 2005-02-25 Member: 42471NS1 Playtester, Forum Moderators, Constellation
in Modding
Comments
Not sure why it isn't working.
Keep at it! I want this sooo badly. It'll go great with hour-long decals.
DissolveMixin.lua
local kDissolveSpeed = 500
local kDissolveDelay = 500
Ragdoll.lua
local kRagdollDuration = 500
RagdollMixin.lua
local kRagdollTime = 500
@Mendasp These are the changes I've tried in each file. The only thing I can get to affect the ragdolls at all is the Dissolve speed, which makes them disappear instead of dissolve. This is the contents of the code you cited in DissolveMixin:
According to that, the dissolve effect should be getting delayed.
Be warned though that you would want to have a way to make sure the ents get Destroyed.
@XDragon I've tried commenting out that info (among other parts of RagdollMixin and Ragdoll (the fake ragdoll after the physically simulated one). No results
https://github.com/xToken/Ragdoll
Even without physics at all, how does this impact performance having this many skulk bodies rendering?
The prefered method would be to change a ragdoll's collision/physics group after X time. Eliminating the need to perform any kind of update on them. Now, technically, they'll still be updated. However, since we know they couldn't change after X time, then it would be a faster process.