Fortress Forever

Go Back   Fortress Forever > Projects > Fortress Forever > Bug

ragdoll_sleepaftertime 0 - Ragdolls get stuck in the air. Issue Tools
issueid=382 03-27-2012 07:14 PM
Gets tickled by FF
ragdoll_sleepaftertime 0 - Ragdolls get stuck in the air.
Code needs rewriting cause it really sucks.

Code:
"ragdoll_sleepaftertime" = "0" ( def. "3.5" )
 client archive
 - After this many seconds of being basically stationary, 
the ragdoll will go to sleep.
Code needs rewriting cause it really sucks. Makes ragdolls get stuck in the air.
Issue Details
Project Fortress Forever
Category Visuals
Status Confirmed
Priority 3
Affected Version 2.42
Fixed Version (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users Dexter, Elmo, squeek.
Tags (none)

03-30-2012 12:13 PM
Gets tickled by FF
 
I've got part of this sorted.

It seems that when we set the ragdoll to sleep it sleeps from gravity physics but when we apply a force such as shooting it it comes back out of said sleep until it comes to rest again.

The code which detects when the ragdoll has come to rest was horrible and that was an easy fix I need to commit. The next thing to fix is to make it truely sleep and not respond to forces. Any coder devs know how I can do this? Perhaps can we change the collision flags?
Reply
03-30-2012 12:49 PM
 
btw is there already a way to disable ragdolls completely (so player models just disappear instantly when they die)? i'd like to play like that if there is.
Reply
03-30-2012 05:14 PM
Gets tickled by FF
 
cl_ragdoll_lifetime 0? Not tried it but guess that'd be right.
Reply
04-17-2012 08:38 AM
 
thanks, you're very clever.
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT. The time now is 08:48 AM.


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