Project

General

Profile

Bug #4017

GetPCRunning and GetPCSneaking should check that the PC is actually moving

Added by Andrew Dawkins about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Category:
Scripting
Target version:
Start date:
08/10/2017
% Done:

100%

Reproducibility:
Always
Operating system:
Other
Severity:
Normal

Description

In OpenMW, GetPCRunning triggers whenever the PC is in run mode, even if they are standing still. This is different from vanilla, in which the check is only triggered when the player is both in run mode AND currently moving.

I ran into this issue while trying to patch Fishing Academy to be compatible with OpenMW, specifically the scripts that govern player-controlled boats and ships. Because of the above issue, player boat controls are touchy to the point of being unusable, with a single keypress causing the boat to zoom off at maximum speed, unable to be stopped or slowed down.

I am attaching my partially-patched version of the .omwaddon file for those who wish to test this in-game.

Fishing Academy OMWVer.omwaddon (817 KB) Andrew Dawkins, 08/10/2017 06:37 AM


Related issues

Duplicated by OpenMW - Bug #2030: [MOD: Stromrider] Unable to control a boat Rejected 10/18/2014

History

#1 Updated by Andrei Kortunov about 1 month ago

I can not join the academy with your mod: Error in framelistener: Faction 'fishing guild' not found

#2 Updated by Andrei Kortunov about 1 month ago

Where can I find a boat to confirm this bug?

#3 Updated by Andrei Kortunov about 1 month ago

Anyway, this bug should be fixed by https://github.com/OpenMW/openmw/pull/1387

#4 Updated by Alexei Dobrohotov about 1 month ago

  • Status changed from New to Resolved
  • Assignee set to Andrei Kortunov
  • Target version set to openmw-0.43
  • % Done changed from 0 to 100
  • Operating system changed from Windows to Other

#5 Updated by Andrei Kortunov about 1 month ago

  • Related to Bug #2030: [MOD: Stromrider] Unable to control a boat added

#6 Updated by Andrei Kortunov about 1 month ago

  • Related to deleted (Bug #2030: [MOD: Stromrider] Unable to control a boat)

#7 Updated by Andrei Kortunov about 1 month ago

  • Duplicated by Bug #2030: [MOD: Stromrider] Unable to control a boat added

#8 Updated by Alexei Dobrohotov about 1 month ago

  • Subject changed from GetPCRunning does not work the same as vanilla to GetPCRunning and GetPCRunning should check that the PC is actually moving
  • Status changed from Resolved to Closed

#9 Updated by Alexei Dobrohotov about 1 month ago

  • Subject changed from GetPCRunning and GetPCRunning should check that the PC is actually moving to GetPCRunning and GetPCSneaking should check that the PC is actually moving

Oops.

Also available in: Atom PDF