How can i increase the 'I'm waiting' time the npcs wait before restarting their schedule?
How can i increase the 'I'm waiting' time the npcs wait before restarting their schedule?
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?
I think i figured this out?
something like this.
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;