View unanswered posts | View active topics It is currently Sat Dec 28, 2024 4:13 pm



Reply to topic  [ 9 posts ] 
 Fragile Head/Helmet? 
Author Message
User avatar

Joined: Wed Mar 30, 2011 4:17 am
Posts: 21
Reply with quote
Post Fragile Head/Helmet?
I wanted to add a heavily armored actor with the Regenerating Ronin mod but for some reason, when the actor has the helmet on, it's head becomes extreme fragile. If you brush over it with a jetpack it's head explodes, a little bit of force also does this (near the edge of an impulse grenade explosion). It would be great if someone could tell me why/how to fix it/fix it
The code for the head template:

The code for the helmet:

The head:


Sun May 27, 2012 1:53 am
Profile
User avatar

Joined: Wed May 18, 2011 2:44 am
Posts: 491
Location: Dank dreams.
Reply with quote
Post Re: Fragile Head/Helmet?
Try keeping a Gibimpulselimit like this:


Sun May 27, 2012 5:18 am
Profile
User avatar

Joined: Wed Mar 30, 2011 4:17 am
Posts: 21
Reply with quote
Post Re: Fragile Head/Helmet?
Didn't work


Sun May 27, 2012 6:24 am
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Fragile Head/Helmet?
Try increasing the JointStrength and don't touch the JointStiffness. Take vanilla values for that one.
If that doesn't help, post the mod here so people can have a look. :)


Sun May 27, 2012 11:49 am
Profile
User avatar

Joined: Wed Mar 30, 2011 4:17 am
Posts: 21
Reply with quote
Post Re: Fragile Head/Helmet?
I have no idea what I'm doing


Attachments:
RoninSoldier.ini [26.14 KiB]
Downloaded 233 times
Sun May 27, 2012 5:40 pm
Profile
User avatar

Joined: Thu Jan 21, 2010 10:59 pm
Posts: 151
Reply with quote
Post Re: Fragile Head/Helmet?
I had the same problem a while ago, someone else told me to change the joint stiffness of the helmet to 0 or something low (which... goes against what gotcha said.. but..) and it worked fine... for me at least..


Sun May 27, 2012 6:52 pm
Profile
User avatar

Joined: Mon Jul 12, 2010 3:30 am
Posts: 232
Location: In a grassy place.
Reply with quote
Post Re: Fragile Head/Helmet?
Basically, Jointstiffness is the variable that multiplies said amount of impulse and then transfers it to the parent offset. JointStiffness can't be over 1 - it can't "make" impulse. (Sorry if that sounds awkward).

So, say that the helmet has a JoinStiffness of 0.1, and receives an impulse of 100. 10 of the impulse would then transfer to the head, and the helmet would absorb 90 of it. I think that the vanilla helmet has a JointStiffness of 0.6, so 60% of the impulse would go the head, etc.

Making the helmet have 0 JointStiffness would result in it absorbing ALL of the impulse, but then it would gib very easily unless you give it an insane amount of gibimpulselimit/jointstrength.


Sun May 27, 2012 7:09 pm
Profile
User avatar

Joined: Wed Mar 30, 2011 4:17 am
Posts: 21
Reply with quote
Post Re: Fragile Head/Helmet?
Lucem wrote:
Basically, Jointstiffness is the variable that multiplies said amount of impulse and then transfers it to the parent offset. JointStiffness can't be over 1 - it can't "make" impulse. (Sorry if that sounds awkward).

So, say that the helmet has a JoinStiffness of 0.1, and receives an impulse of 100. 10 of the impulse would then transfer to the head, and the helmet would absorb 90 of it. I think that the vanilla helmet has a JointStiffness of 0.6, so 60% of the impulse would go the head, etc.

Making the helmet have 0 JointStiffness would result in it absorbing ALL of the impulse, but then it would gib very easily unless you give it an insane amount of gibimpulselimit/jointstrength.

Ah
ok thanks


Sun May 27, 2012 8:27 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post Re: Fragile Head/Helmet?
Actually stiffness can be over 1, and it can amplify impulses, which has awesome effects.
But generally it should be limited to one if you don't want wacky destructive incorrect physics.


Tue May 29, 2012 1:16 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.039s | 17 Queries | GZIP : Off ]