Raised This Month: $359 Target: $400
 89%   Almost there!

[CS:S] Dead body player does have an entity index ?

Post New Thread Reply   
Thread Tools Display Modes
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 06-18-2014 , 00:47   Re: [CS:S] Dead body player does have an entity index ?
Reply With Quote #11

Originally Posted by Powerlord View Post
It's possible to force ragdolls to be done on the server side... I think. At least there's a DataMap for it: m_bForceServerRagdoll.

Edit: This datamap may only exist on things decended from CAI_BaseNPC, though.

Edit2: Nope, it's on the CTFPlayer class in TF2 as well, so it's likely part of CBaseCombatCharacter.
There is way too much physics data in a ragdoll for it to persist serverside. As it is, just 10 or so dynamic props bumping into eachother can spike the server. Ragdolls often have 12 pieces or more, which have more complicated relationships (hinge/constraints). Probably they are disabled in mp, because the server can't proccess that much data. Player ragdolls (tf_ragdoll for example) are simulated clientside.

You could try https://developer.valvesoftware.com/wiki/Prop_ragdoll
But again, its a very bad idea.
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 06-18-2014 at 00:47.
friagram is offline
Senior Member
Join Date: Apr 2012
Old 06-18-2014 , 05:33   Re: [CS:S] Dead body player does have an entity index ?
Reply With Quote #12

Yeah, the Bot idea seems to be better. Thanks a lot for help
"Embrace your dreams, and whatever happend protect your honor"
Zack Fair
Zack771 is offline

Thread Tools
Display Modes

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 01:29.

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