[Code] Improved Ragdoll Physics

Making or wanting help making your own asset? Check in here
Post Reply
Furrealz_22
Posts: 15
Joined: 2012-04-21 18:06

[Code] Improved Ragdoll Physics

Post 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!
Last edited by Furrealz_22 on 2012-04-21 22:08, edited 1 time in total.
WeeD-KilleR
Posts: 792
Joined: 2009-11-01 13:32

Re: Improved Ragdoll Physics

Post 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?
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Improved Ragdoll Physics

Post 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.
Image
Navo
Posts: 1389
Joined: 2011-05-22 14:34

Re: Improved Ragdoll Physics

Post by Navo »

Very interested in this. I could record a video for you.
lucky.BOY
Posts: 1438
Joined: 2010-03-03 13:25

Re: Improved Ragdoll Physics

Post by lucky.BOY »

Wow, that would be great to have this in mod!
Furrealz_22
Posts: 15
Joined: 2012-04-21 18:06

Re: Improved Ragdoll Physics

Post 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!
Adriaan
Retired PR Developer
Posts: 5150
Joined: 2008-10-22 21:47

Re: Improved Ragdoll Physics

Post by Adriaan »

Nice! I'd like to see what it looks like in motion.
Image
fillsson
Posts: 70
Joined: 2011-06-21 22:33

Re: Improved Ragdoll Physics

Post 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 :-)
Furrealz_22
Posts: 15
Joined: 2012-04-21 18:06

Re: Improved Ragdoll Physics

Post 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
Pvt.LHeureux
Posts: 4796
Joined: 2009-04-03 15:45

Re: Improved Ragdoll Physics

Post by Pvt.LHeureux »

Wow this looks pretty good and me might see less people getting stuck in statics, so more reviving :D
Image

Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: Improved Ragdoll Physics

Post by Rhino »

looking good there :)

Easier if you upload to dropbox or 4shared or another free upload size than email :)
Image
karambaitos
Posts: 3788
Joined: 2008-08-02 14:14

Re: Improved Ragdoll Physics

Post by karambaitos »

why couldnt DICE have just done this is beyond me

but shweet
There is only one unforgivable lie That is the lie that says, This is the end, you are the conqueror, you have achieved it and now all that remains is to build walls higher and shelter behind them. Now, the lie says, the world is safe.? The Great Khan.

40k is deep like that.
Pvt.LHeureux
Posts: 4796
Joined: 2009-04-03 15:45

Re: Improved Ragdoll Physics

Post by Pvt.LHeureux »

Cause they thought it would be cool to fire the guys from D:C
Image

Chuva_RD : You want to remove bugged thing but dont tell how to fill formed void.
Psyko
Posts: 4466
Joined: 2008-01-03 13:34

Re: Improved Ragdoll Physics

Post by Psyko »

Want....................test...................now!!!!!!

also those death positions looks very realistic. (dont ask me how i know that)
Spush
Retired PR Developer
Posts: 4359
Joined: 2007-02-19 02:08

Re: Improved Ragdoll Physics

Post by Spush »

Yeah they look much moAr better.
Arc_Shielder
Retired PR Developer
Posts: 1621
Joined: 2010-09-15 06:39

Re: Improved Ragdoll Physics

Post by Arc_Shielder »

Indeed, very impressive. Please upload a vid.
Image
Murphy
Posts: 2339
Joined: 2010-06-05 21:14

Re: Improved Ragdoll Physics

Post 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).
Image
-=anders=-
Retired PR Developer
Posts: 1532
Joined: 2005-10-27 14:48

Re: Improved Ragdoll Physics

Post by -=anders=- »

Fantastic!!!
[img]https://dl.dropboxusercontent.com/u/11035283/anders_prsig.png[/img]
PR:BF2 Sound & VisualFX

Wakain
Posts: 1159
Joined: 2009-11-23 21:58

Re: Improved Ragdoll Physics

Post 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
Navo
Posts: 1389
Joined: 2011-05-22 14:34

Re: Improved Ragdoll Physics

Post 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
Post Reply

Return to “PR:BF2 Community Modding”