Skip to content

mechs possibly not falling over from weaponsfire #12

Description

I'm testing with a customized chassisDef to reduce stability damage. I set it lower than the 32 that appears in game, floor maybe. The mech status show its stability is 32/32.

falling happened!
location taking damage: RightLeg
Date: 8/1/2018 10:43:18 AM
--------------------------------------------------
falling damage numbers
pilotSkill: 5
mitigation: 0.2379729
rawFallingDamage: 27.5
mitigationPercent: 24
fallingDamageValue: 20.95575
Date: 8/1/2018 10:43:18 AM
--------------------------------------------------

This was the only thing appearing in the log after opfor shot an unstable mech. The mech doesn't show knocked over. It will eventually fall over from effects I predict, I've seen this happen twice now. Maybe I just created an edge case with my stupid chassisDef...

Seems like the mech wasn't in an unsteady state, more damage put it there, and more damage yet made it fall over. This seems to be tied with stability versus unsteady state. More evidence to the chassisDef foolery.

Update: I think these calls to AddRelativeInstability may be at fault for the weird values... not sure why.

attacker.AddRelativeInstability(instabilityToAdd, StabilityChangeSource.DFA, attacker.GUID);

attacker.AddRelativeInstability(instabilityToAdd, StabilityChangeSource.Attack, attacker.GUID);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions