Project

General

Profile

Bug #3656

NPCs forget where their place in the world is

Added by Mark Karpov 9 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
AI
Target version:
Start date:
12/13/2016
% Done:

100%

Reproducibility:
Always
Operating system:
Linux
Severity:
Normal

Description

If I move an NPCs by attacking them and making them follow me, then go and pay the price for my head via the thieves guild, return to the place where I attacked the NPCs, then they initially try to go to their original place (it's OK), but if I save and load at this moment, they no longer intend to get to their original positions and stay fixed at their current place forever. Used this to easily steal a lot of stuff that is otherwise is not easy to steal.

Tested in interiors with NPCs that don't walk around (i.e. their behavior is to stay in the same position).

Associated revisions

Revision 4f08084e (diff)
Added by R. D. 3 months ago

Make stationary actors return to position on load

Also makes wandering actors resume their previous destination when an interrupting combat or pursuit ends.

(Fixes #3656)

History

#1 Updated by Miroslav Remák 9 months ago

  • Status changed from New to Confirmed
  • Target version set to openmw-0.42

#2 Updated by Paul McElroy 6 months ago

What happens to their dialogue if you make them follow you to another town?

#3 Updated by Marc Zinnschlag 6 months ago

  • Category set to AI
  • Target version changed from openmw-0.42 to openmw-0.43

#4 Updated by R. D. 5 months ago

  • Status changed from Confirmed to Resolved
  • Assignee set to R. D.
  • Reproducibility changed from Have not tried to Always

#5 Updated by R. D. 5 months ago

  • Status changed from Resolved to In Progress

Specifically, the AI should resume traveling to the destination it was wandering to when it resumes wandering (currently OpenMW returns it to the position it was at instead), and across save + load.

Also, NPCs that pause to greet the player should also resume traveling to their destination. Currently in OpenMW they choose a new location to wander to instead.

#6 Updated by R. D. 5 months ago

  • Status changed from In Progress to Resolved

#7 Updated by R. D. 3 months ago

  • Status changed from Resolved to Closed
  • % Done changed from 0 to 100

#8 Updated by R. D. 3 months ago

The issue the reporter talked about is fixed.

This bit that I found out:

the AI should resume traveling to the destination it was wandering to when it resumes wandering (currently OpenMW returns it to the position it was at instead), and across save + load.

Is mostly fixed, but the destination isn't resumed on loading a save. This would require adding this data to the save file so it was put off for now.

Also available in: Atom PDF