Raised This Month: $32 Target: $400
 8% 

[CSGO] Ragdolls - stop removal


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joshtrav
Senior Member
Join Date: Sep 2009
Old 09-13-2017 , 16:50   [CSGO] Ragdolls - stop removal
Reply With Quote #1

I am trying to figure out how to stop ragdolls from disappearing after respawning players. I haven't found any specific cvars that disable this currently. To be clear I want ragdolls to persist until the round restarts.

My current thought is to create a ragdoll and try to have it match up perfectly to the existing one. I doubt this is feasible due to the client side placement versus server side.

Any thoughts?
__________________

joshtrav is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 09-13-2017 , 17:26   Re: [CSGO] Ragdolls - stop removal
Reply With Quote #2

Players only get 1 ragdolls, that's why it removes when the player spawns.
It's possible to spawn server-side ragdolls, however they can affect cpu load when moving.
There really isn't a way to do this without cause some kind of lag on the server or clients..
Mitchell is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 09-13-2017 , 17:54   Re: [CSGO] Ragdolls - stop removal
Reply With Quote #3

I've never experimented with Ragdolls for the sheer fact that they are cancer for servers, but perhaps you could spawn a ragdoll that doesn't move. It could be less CPU intensive. I might be interested enough to open CSJoe SDK and try myself.

Last edited by Halt; 09-13-2017 at 17:55.
Halt is offline
Michalplyoutube
Veteran Member
Join Date: Jan 2013
Location: Tank Carrier in Mannhatt
Old 09-13-2017 , 17:58   Re: [CSGO] Ragdolls - stop removal
Reply With Quote #4

You can try spawning Prop_dynamic and fire become ragdoll which would create client side ragdoll instead
__________________
The plugin developer of TF2BWR Reborn
And a TF2 Player
Michalplyoutube is offline
joshtrav
Senior Member
Join Date: Sep 2009
Old 09-14-2017 , 13:33   Re: [CSGO] Ragdolls - stop removal
Reply With Quote #5

Quote:
Originally Posted by Halt View Post
I've never experimented with Ragdolls for the sheer fact that they are cancer for servers, but perhaps you could spawn a ragdoll that doesn't move. It could be less CPU intensive. I might be interested enough to open CSJoe SDK and try myself.
My thought was to spawn one that has already fallen (on the ground) and overlay it to be identical, then remove the original. This way I can link to the player in some way and have it persist. The trouble I have is making it so the client doesn't see a ragdoll teleporting around since they may view it one location while the server places it somewhere different.
__________________

joshtrav is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:33.


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