I made a workaround for the AI issue I described
here for personal use but I might as well share it for anyone that wants it, even if it isn't going to be practical for most. The mod allows you to manually set a number corresponding to the day of the week, which will allow the AI scripts to run properly. Originally I experimented with automating this, but I ran into some modding limitations which forced me to limit the scope of the mod:
- There's no way to schedule a scene to always run at a given interval, or at a specific day/time. Scenes are always at the mercy of the random number generator, and there's no way to guarantee a scene will run. Even turning up the scene frequency to 100 didn't guarantee that a scene I had added would run every day.
- It seems that AI scripts can't be overridden by mods like scenes and actions can. Even just having them in your mod folder seems to cause issues.
With that being said, I've attached 2 files: Grim_AIFix is the actual mod, and is installed and activated just like any mod; ai_files.zip contains some modified AI scripts that must overwrite the original ones in vin_Base. The included AI files are not a complete replacement for the original AI folder. Only some of the original files have been modified/included, so don't delete or move your original AI folder. Just paste the included files into it so they overwrite the original ones. I would suggest making a backup of the original AI folder before pasting the modified ones in there in case you want to revert. The modified scripts should run just as well as the originals even if the mod is removed though.
meal.lpai has also been edited to correct the days it considers to be the weekend. There was a line that looked like:
Elseif DayOfWeek == 6 || DayOfWeek == 7 || DayOfWeek == 0 // weekend
But based on what I've seen in the other AI files, DayOfWeek should never be 0. The days go from 1 to 7, not 0 to 6. So the 0 has been changed to 1 which is Sunday.
Once everything is installed and the mod activated, you'll have 2 new actions in the PC menu: "Set day of the week" is what you use to set the day of the week number; "Get day of the week" just tells you whatever value the day of the week is set to. If you don't want to bother setting this value every game day, you could just set it to something and forget it, and the AI will still exhibit more behaviors than they currently do unmodified. If you go that route, I'd suggest setting it to 6, which corresponds to Friday. This will ensure they still go to work, but they will also exhibit some additional weekend-like behavior.
This is meant as a temporary workaround until Vinfamy implements a proper fix. Once that happens you should stop using this mod.