Project

General

Profile

Bug #3843

Wrong jumping fatigue loss calculations

Added by Andrei Kortunov 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
Game Mechanics
Target version:
Start date:
04/24/2017
% Done:

100%

Reproducibility:
Always
Operating system:
Linux
Severity:
Normal

Description

A bug found by users of fullrest.ru:

OpenMW uses this formula to calculate fatigue loss when jumping:

fatigueDecrease = fatigueJumpBase + (1 - normalizedEncumbrance) * fatigueJumpMult;

See: https://github.com/OpenMW/openmw/blob/master/apps/openmw/mwmechanics/character.cpp#L1756

It means that fatigue loss with empty inventory will be larger than with full inventory.

Note: fFatigueJumpMult = 0.0 by default.

I changed fFatigueJumpMult GMST value to 50 and got this result:

Vanilla game: lesser fatigue loss with empty inventory, larger with full.
OpenMW: larger fatigue loss with empty inventory, lesser with full.

Maybe we need to change formula to this:

fatigueDecrease = fatigueJumpBase + normalizedEncumbrance * fatigueJumpMult;

Associated revisions

Revision f484ef8f (diff)
Added by Andrei Kortunov 5 months ago

Fixed jump fatigue loss formula (fixes #3843)

Revision 98daf4f0
Added by Miroslav Remák 4 months ago

Merge pull request #1296 from akortunov/jumpfatiguefix

Fixed jump fatigue loss formula (bug #3843)

History

#1 Updated by Alexei Dobrohotov 5 months ago

  • Status changed from New to Feedback needed
  • Assignee set to Andrei Kortunov
  • % Done changed from 0 to 100

#2 Updated by Andrei Kortunov 4 months ago

  • Status changed from Feedback needed to Closed

#3 Updated by Miroslav Remák 4 months ago

  • Target version set to openmw-0.43

Also available in: Atom PDF