Ragdoll ragdoll DEAD ragdoll ragdoll ragdoll... ??


Star_Dancer

 

Posted

I know that nothing is documented about the ragdoll commands, but I'm seeing a ton of EntRagdoll commands well after a critter is down for the count. I tried deleting some of them but I somehow end up with critter pretzels on the floor.

Does anyone have any theories/experience with this command? Why are there ragdoll commands after the thing stops moving? Which ones are the important - Ones closer to the MOV POSTDEATH, or the last ones?

LOL - I just want my critters to die a meaningful and natural death. Zombie pretzels look decidedly... non-tasty...


 

Posted

Let's see here... entRagdoll.... A small number, two big numbers, then a huge number.

The small number seems to be 11 almost all the time. Every once in awhile it comes up 0 and the huge number is missing. Maybe that means cancel ragdoll effect because something else started to happen? The 0 I just found happened when an NPC was ragdolling then decided to do the Get_up animation.

The two numbers after that seem to start in the 700,000's and move up. The second number is smaller than the first. EntRagdoll commands that happen at the same time have the same two numbers. Seems like a timing thing but I can't match them up with any of the normal timing numbers.

The big number is actually 33 hex numbers by the look of it. 2 lower legs, 2 upper legs, lower torso, upper torso, head, 2 lower arms, 2 upper arms = 11 parts. I guess that's what the 11 is in the first number. So 3 per part. Pitch, yaw, and roll relative to the joint I assume. Interesting, they don't seem to change at all for a given knockback. Maybe they change when the body runs into something?

But anyway....

Yeah, I've seen the ragdolls twitch at times, too. I wonder if I could detect them by going backwards from the delete and erasing all the EntRagdoll commands until the last MOV the NPC did? Do enemies ever do their final death move while still in knockback?