Page 1 of 1

How can i increase the 'I'm waiting' time the npcs wait before restarting their schedule?

Posted: 08 Nov 2018, 06:13
by i30817
I don't mind if i have to recompile openmw. It's pretty annoying to get there, and be sabotaged by my terrible machine leading the person to just waltz away as i'm about to center the cursor on them. Even 5 seconds more would be enough considering the lowered radius from the mod "LadyD_Reduced_Commentary" i'm using.

Re: How can i increase the 'I'm waiting' time the npcs wait before restarting their schedule?

Posted: 08 Nov 2018, 22:25
by i30817
I think i figured this out?

Code: Select all

diff --git a/apps/openmw/mwmechanics/aiwander.cpp b/apps/openmw/mwmechanics/aiwander.cpp
index 833a371..b0b02e9 100644
--- a/apps/openmw/mwmechanics/aiwander.cpp
+++ b/apps/openmw/mwmechanics/aiwander.cpp
@@ -28,7 +28,7 @@ namespace MWMechanics
     static const int COUNT_BEFORE_RESET = 10;
     static const float DOOR_CHECK_INTERVAL = 1.5f;
     static const int GREETING_SHOULD_START = 4; //how many reaction intervals should pass before NPC can greet player
-    static const int GREETING_SHOULD_END = 10;
+    static const int GREETING_SHOULD_END = 50;
 
     // to prevent overcrowding
     static const int DESTINATION_TOLERANCE = 64;
something like this.