Jump to content
venom.226

Ragdoll Effects Overhaul.

Recommended Posts

 

Hello all!

 

 

This fixes various problems with vanilla A3's ragdoll physics. Knee joints have been fixed so that they can no longer bend in ridiculous ways, along with other various improvements.
 

 

Features:

 

-Prevents knee joints from bending into silly positions

-Weights of certain body parts decreased

-Stiffness of ragdolls increased, prevents majority of knee joint issues.

-Ragdoll collision with vehicles and physx objects has been enabled.

 

 

Bugs:

 

-Knees will still bend incorrectly sometimes, although it happens much less frequently than vanilla.

 

 

Download link:

v0.3.1

 

Google Drive:

https://drive.google.com/open?id=0B3lpmuzLj9UydjhSeFZodzRXOUE

 

Steam Workshop:

http://steamcommunity.com/sharedfiles/filedetails/?id=1199220204

 

 

 

venom.226

  • Like 14

Share this post


Link to post
Share on other sites

A video would be nice so we can compare it to previous addons that tried to tackle this issue.

  • Like 4

Share this post


Link to post
Share on other sites
1 hour ago, warden_1 said:

A video would be nice so we can compare it to previous addons that tried to tackle this issue.

 

 

 

  • Like 8

Share this post


Link to post
Share on other sites

this is awesome! good effort.

 

i wonder if this also fixes the weird MP behaviour of ragdoll. i feel like i haven't seen proper ragdoll in MP in ages. always this weird flapping of limbs as if they are just paper strips. might've been caused by local host.

Share this post


Link to post
Share on other sites

This could be such a small detail that makes a big impact. I always hated how the ragdoll is like playing a game of twister.

Share this post


Link to post
Share on other sites

Hello Venom.226, I tried your addon which is very good and widely improve the current situation in A3. Yet, my only criticism is that locking both knees and pelvis is giving the characters a kind of systemal fall depending if you shoot from front / side / back. In one word they tend to always fall in the very same pattern. For now I mostly tried it on flat ground, so it could be a bit more variable once in action, yet I would allow a bit more liberty to the movement if that's possible.

 

Thanks for your work, I'm looking foward to try new variants. For now I'm going to include this to my modset :)

Share this post


Link to post
Share on other sites

Hi all!

 

 

 

Thanks for the feedback so far! Its great seeing a few of you showing interest in my first A3 mod. 

 

 

On 5/9/2017 at 11:25 AM, bad benson said:

 

i wonder if this also fixes the weird MP behaviour of ragdoll. i feel like i haven't seen proper ragdoll in MP in ages. always this weird flapping of limbs as if they are just paper strips. might've been caused by local host.

 

That's actually something I haven't tested yet. Perhaps someone could try this on a server and report what happens? My PC can't handle A3 multiplayer, so I'm unable to test it myself unfortunately.

 

 

2 hours ago, El Tyranos said:

...Yet, my only criticism is that locking both knees and pelvis is giving the characters a kind of systemal fall depending if you shoot from front / side / back. In one word they tend to always fall in the very same pattern. For now I mostly tried it on flat ground, so it could be a bit more variable once in action, yet I would allow a bit more liberty to the movement if that's possible.

 

Thanks for trying my mod! Yes, the characters often fall into the same positions. I've noticed that myself and I'm trying to fix it with no luck so far... Reducing the rigidity of the pelvis and knees from their current values only results in the knees contorting into crazy positions again. At this point it seems like a problem that only BI can fix, but I'm going to keep trying to solve the issue in the meantime.

 

 

 

Also, the demonstration video I posted earlier was apparently deleted today by YouTube. Apologies to anyone who's trying to view it! I'll make a more detailed video within the next few days. Stay tuned!

 

 

Share this post


Link to post
Share on other sites

this could be solved with some light scripting. like applying some small velocity in the vector from the killer once the unit dies or something. might be out of scope of this addon but probably easier to achieve than with rag doll config values.

 

tried it, doesn't really work like i thought. sadly it jsut moves the unit's origin. seems like ragdoll is not reacting to setVelocity or something. more like it has its own simulation inside physX or something.

here's the code.

 

EDIT:

 

{
	_x addEventhandler
	["Killed",
		{
			params ["_unit", "_killer", "_instigator"];
			
			_strength = 10;
			
			_vel = (vectorNormalized ((getposAtl _killer) vectorFromTo (getposAtl _unit))) vectorMultiply _strength;
			
			_vel set [2, _strength]; //optional to lift up to make them fly
			
			_unit setVelocity _vel;
		}
	];
} foreach allUnits

 

i dunno. play around with it. maybe i just suck. maybe you find this useful anyways. i dunno. make peopel fly aroudn from explosions or something :D

 

obviously you wouldn't apply the eventhandler that way inside an addon.

  • Like 1

Share this post


Link to post
Share on other sites

Tried this. Gotta tell, it sure helps a lot with the weird leg positions in ragdoll. We'll test this this weekend in multiplayer. Looking forward to the updates. Have fun!

Gotta ask, how do you test all this? Do you restart the game each time you make a change? There's a https://community.bistudio.com/wiki/diag_mergeConfigFile for the dev build, diag exe. You can reload configs on the fly (doesn't work for everything and there's a possibility it doesn't work for ragdoll configs).

  • Like 2

Share this post


Link to post
Share on other sites

Played with this this weekend with my community in multiplayer. General ragdoll silliness still happens because of the way ragdolls work, but it helped with weird legs positions in ragdoll. In general, it appears it works in multiplayer in the same way as it works in the singlepayer.

Share this post


Link to post
Share on other sites

Here some any way to start ragdoll and control by script or some another way "In Ragdoll Time"?
for example: I need to  stun my target for 10minutes or more X (custom parameter), daz it possible?

Share this post


Link to post
Share on other sites

 

VE Ragdoll Overhaul v0.3 BETA

https://drive.google.com/open?id=0B3lpmuzLj9UydjhSeFZodzRXOUE

 

Hey guys! 0.3 has been released. The video shows increased flexibilty to the hip, torso and knee regions. I wasn't able to fix the knee bug but on flat ground it should only happen very rarely. Check out the readme for the full changelog.

 

 

 

@bad benson I tried out your code, setVelocity indeed doesn't really work on ragdolls. Thank you for trying though! That's way better then anything I could come up with.

 

@rebelvg Thanks for testing! I'm glad to hear that it works in MP. And there's no easy way to test this, I don't really understand what's going on in the code so its all trial and error basically. I'll make a small change, convert to pbo, boot the game, launch the arsenal, shoot up a few guys to see the effects, close the game after a minute or so and repeat. Also tried out that merge tool, I couldn't get it to work, unfortunately. I suspect that the ragdoll class isn't supported by the tool itself, or maybe I'm just doing it wrong lol. Thanks for giving me the link, any help is appreciated.

 

@kol9yN Maybe use the setUnconscious command with some kind of time limit scripted in? Perhaps one of the more knowledgeable members here can help you, I don't know very much about scripting.

 

 

 

 

Enjoy the update guys! Feedback and criticism are welcome.

 

venom.226

  • Like 7

Share this post


Link to post
Share on other sites

Wow V0.3 looks really good. Especially when the soldiers fall on the hills or elevated terrain. Nice work

Share this post


Link to post
Share on other sites

I'm really looking forward to this.

Especially as Gunter Sverloh is considering it for his IFA3WarMod.

Share this post


Link to post
Share on other sites

Its already in my mod, and i had asked Venom last week for permissions and he granted it, Domokun go see my

release thread last page theres a vid there.

Share this post


Link to post
Share on other sites
5 hours ago, Gunter Severloh said:

Its already in my mod, and i had asked Venom last week for permissions and he granted it, Domokun go see my

release thread last page theres a vid there.

Goddit !

BTW is Venom's mod VE_RFX.pbo?

Share this post


Link to post
Share on other sites

I seem to have trouble running people over in vehicles in multiplayer with this, but can't reproduce it in singleplayer. I use it only clientside, the server does not use it and nobody else yet. Mostly people don't die as easily and stand up after a good hit, sometimes the car is nearly stopped by the impact and if you are unlucky this happens: 

:D

 

Will need to test further, the video was captured while still using v0.2, but I had trouble running people over with v0.3 today, too. Just no insane flips so far :D

I'll try what happens if the server also uses the addon.

Share this post


Link to post
Share on other sites

Amazing job. Finally goodbye to this hell..

 

6yWEbzxbScKyYHTxWEKrgw.jpg

yuarCIvcSECXElOtKrSYzA.jpg

u7XHIhdCTV2rjpYUOOhgbw.jpg

_7nEc_9nQzeLEzlDPmcxPw.jpg

 

 

 and with the mod:

 

 

h2dSJi43QOenAF1UTAAlGA.jpg

7rJq2VU3RqqGc8z4Iq7Y8Q.jpg

YU4fBhDIT62G_iQTBH8qzw.jpg

59FwKKVHSeevQDng9VYwQg.jpg

 

btw these guys are all shot from surrender/handcuffed positions which often causes bended knees.

Share this post


Link to post
Share on other sites
On 7/15/2017 at 4:31 AM, neetch said:

Amazing job. Finally goodbye to this hell..

 

6yWEbzxbScKyYHTxWEKrgw.jpg

yuarCIvcSECXElOtKrSYzA.jpg

u7XHIhdCTV2rjpYUOOhgbw.jpg

_7nEc_9nQzeLEzlDPmcxPw.jpg

 

 

 and with the mod:

 

 

h2dSJi43QOenAF1UTAAlGA.jpg

7rJq2VU3RqqGc8z4Iq7Y8Q.jpg

YU4fBhDIT62G_iQTBH8qzw.jpg

59FwKKVHSeevQDng9VYwQg.jpg

 

btw these guys are all shot from surrender/handcuffed positions which often causes bended knees.

 

You are in some serious violation of the Geneva convention my friend :-D

  • Like 3

Share this post


Link to post
Share on other sites

This should be the vanilla ragdoll values, very good job.

  • Thanks 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×