Jump to content

How does the game check for and apply the Cripple Penalties (-4 PER for concussion, etc.)


NukaCooler

Recommended Posts

There seem to be a lot of effects from being crippled: http://fallout.wikia.com/wiki/Cripple#Fallout_3_and_Fallout:_New_Vegas



I'm looking to add some more interesting visual effects and stat penalties for having crippled limbs, but I can't seem to see how the game applies the penalties. In the GECK I can see an FXCrippleHead, the sound that plays when the head is crippled, but it has zero users. Same goes for HeadCrippleEffect, Concussion, PlayerConcussed, ImageSpaceConcussion and so on.


I can't at all see how those cripple penalties are being applied.

Link to comment
Share on other sites

 

There seem to be a lot of effects from being crippled: http://fallout.wikia.com/wiki/Cripple#Fallout_3_and_Fallout:_New_Vegas
I'm looking to add some more interesting visual effects and stat penalties for having crippled limbs, but I can't seem to see how the game applies the penalties. In the GECK I can see an FXCrippleHead, the sound that plays when the head is crippled, but it has zero users. Same goes for HeadCrippleEffect, Concussion, PlayerConcussed, ImageSpaceConcussion and so on.
I can't at all see how those cripple penalties are being applied.

 

The game checks these actor values. When they are 0, that limb is crippled.
PerceptionCondition - Base value is 100. Corresponds to the head on humanoid actors
EnduranceCondition - Base value is 100. Corresponds to the torso on humanoid actors
LeftAttackCondition - Base value is 100. Corresponds to the left arm on humanoid actors
RightAttackCondition - Base value is 100. Corresponds to the right arm on humanoid actors
LeftMobilityCondition - Base value is 100. Corresponds to the left leg on humanoid actors
RightMobilityCondition - Base value is 100. Corresponds to the right leg on humanoid actors
I'm pretty sure the playerconcussed effect is hard-wired. Trying to apply it by script doesn't do anything.
Link to comment
Share on other sites

Hey rickerhk, does the braincondition AV still do anything?

I'm not sure. I've never used it. According to the wiki it's available on some creatures, but I don't know which ones. If I shoot my robot dog in the head the perceptioncondition drops but the braincondition stays at 100 no matter what.

Link to comment
Share on other sites

NukaCooler: Yessir, that would be the way to do it. More efficient would be...

if perceptioncondition
else
imod yourmodifer
endif

Hrm I bet braincondition is for Robots then, they have that "brain" panel on the back. Maybe it's also for bugs and frenzy... hrmz

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...