Page 1 of 9

[Code] Improved Ragdoll Physics

Posted: 2012-04-21 18:49
by Furrealz_22
What's up devs/community,


Real quick, I just wanna share with you guys a nice little file I've been working on for quite some time now. One thing I've always hated about PR is that it creates this super-realistic atmosphere, everything is extremely immersive but the ragdolls are the default vBF2 config and behave like they are on fire still. But i've spent alot of time on re-working the physics, gravity, and constraints of the ragdolls and i think i've suceeded in making deaths a bit more realistic. Here's what I fixed:


-Ragdolls are much smoother now, and a bit less jerky
-No more "popping up" from prone position
-No more jumping like 5 feet in the air when killed from crouch/standing position.
-Deaths feel more natural; bodies pretty much just slump over when killed
-Ragdolls no longer rocket 100 feet into the air when killed by arty or any heavy ordnance.
-Arm and leg constraints re-worked so that they are less restricted, and ROM has been increased.
-Ragdolls overall are much less stiff and restricted.


Sorry but I haven't had the time to get in the game and take pictures or a video of them in action. But if you are further interested in this project, feel free to let me know and I'll send you the files (there are only 2- RagdollConstraints.inc and RagdollInit.con, they're eacl like 1 Kb so they aren't a problem to DL) so you can try them out. I'd really like feedback on this, I hope you guys like it. Thanks!

Re: Improved Ragdoll Physics

Posted: 2012-04-21 18:59
by WeeD-KilleR
sounds awesome. provide us a video as soon as possible plz. Will PB kick me if i am using them on a server?

Re: Improved Ragdoll Physics

Posted: 2012-04-21 19:03
by Rhino
WeeD-KilleR wrote:sounds awesome.
The exact words I was going to pick too.... :p
Furrealz_22 wrote:-Ragdolls no longer rocket 100 feet into the air when killed by arty or any heavy
awww it was always very amusing when that happened hehe. But ye not very realistic :p

Would be really awesome if you could get a video of this but ye, files would be very much appreciated too! :D

Cheers!
WeeD-KilleR wrote:Will PB kick me if i am using them on a server?
I believe this is designed to be integrated into the mod, rather than a addon. I don't think it would work as an addon.

Re: Improved Ragdoll Physics

Posted: 2012-04-21 19:13
by Navo
Very interested in this. I could record a video for you.

Re: Improved Ragdoll Physics

Posted: 2012-04-21 19:34
by lucky.BOY
Wow, that would be great to have this in mod!

Re: Improved Ragdoll Physics

Posted: 2012-04-21 19:53
by Furrealz_22
Sweet! I'm really glad you guys are showing interest in this. But yeah, you guys gotta keep in mind that alot of stuff concerning ragdolls is hardcoded into the engine, you're pretty much only allowed to change the physics and the constraints and a couple other things as I found out, so they won't be HL2 or Rainbow Six quality. But what I've done is miles better than the vanilla ones, in my opinion.

@Navo and Rhino, if you guys wanna PM me your emails I would be more than happy to send you the files so you can try it out!

Re: Improved Ragdoll Physics

Posted: 2012-04-21 20:22
by Adriaan
Nice! I'd like to see what it looks like in motion.

Re: Improved Ragdoll Physics

Posted: 2012-04-21 21:30
by fillsson
Will this interfere with reviving? I mean, reviving can be a pain in some cases where you have to make the guy slide and then quickly stab him with epipen. So my question: will this make it easier to revive or harder? Or does it just not affect it in anyway? :-P

Also, I'd really like to see a video or something :-)

Re: Improved Ragdoll Physics

Posted: 2012-04-21 21:58
by Furrealz_22
@ fillsson No problems at all there, I was testing that earlier today and I had no problems reviving guys, so I'm pretty sure there's no effect. :mrgreen:


Update: Here are some screens I took while doing some more testing... not as good as a vid but they show the new, less restricted constraints:


Image
Image
Image
Image
Image

Re: Improved Ragdoll Physics

Posted: 2012-04-21 22:01
by Pvt.LHeureux
Wow this looks pretty good and me might see less people getting stuck in statics, so more reviving :D

Re: Improved Ragdoll Physics

Posted: 2012-04-21 22:02
by Rhino
looking good there :)

Easier if you upload to dropbox or 4shared or another free upload size than email :)

Re: Improved Ragdoll Physics

Posted: 2012-04-21 22:05
by karambaitos
why couldnt DICE have just done this is beyond me

but shweet

Re: Improved Ragdoll Physics

Posted: 2012-04-21 22:06
by Pvt.LHeureux
Cause they thought it would be cool to fire the guys from D:C

Re: Improved Ragdoll Physics

Posted: 2012-04-21 22:13
by Psyko
Want....................test...................now!!!!!!

also those death positions looks very realistic. (dont ask me how i know that)

Re: Improved Ragdoll Physics

Posted: 2012-04-21 22:15
by Spush
Yeah they look much moAr better.

Re: Improved Ragdoll Physics

Posted: 2012-04-21 22:17
by Arc_Shielder
Indeed, very impressive. Please upload a vid.

Re: Improved Ragdoll Physics

Posted: 2012-04-21 23:50
by Murphy
But I like watching bodies fly when they get hit with explosive :(

Naaah, this looks like a much needed tweak that was probably overlooked by everyone including the original dev team. Nice to see people are finally paying attention to the finer details (anders sound mod is another example of players seeking perfection).

Re: Improved Ragdoll Physics

Posted: 2012-04-22 09:56
by -=anders=-
Fantastic!!!

Re: Improved Ragdoll Physics

Posted: 2012-04-22 11:16
by Wakain
the screens already are stunning, it seems like those bodies have much more random positions, especially those legs and arms curled and outstretched looks dramatic and realistic.

very interested in this, would like to see this with other mods and, heck, even vbf2 too

Re: Improved Ragdoll Physics

Posted: 2012-04-22 11:17
by Navo
Sorry for the delay, but I can't edit the video atm because some family members thought it would be a good time to have a baby.
Screenies:
https://imgur.com/a/3TKba