Small Update: Continuing the NPC improvements (Patreon)
Content
Now that the liquid and fire mechanics are mostly done, I am back to working on the procedural NPCs. I have improved their persistence by implementing overrides that allow an character to get disconnected from their anchor position and then return to it gradually. Previously, if a person's ingame position got disconnected from their schedule for any reason, for example they got delayed by talking to the player, or just lost their way, they'd get teleported to their anchor once they're out of view. Which made it very hard to find the same character that you were just talking to, as their anchor might be quite far away at that point. Now their position gets overridden automatically and interpolated towards their anchor over time, which means they won't be too far away from where you last saw them.Another improvement I've made is work hours for the procedural interiors. Previously, the interior lights were permanently on or off and were purely cosmetic. But now each one has a schedule and the NPCs will try to pick active spaces for their work or leisure activities. This not only makes for cool time lapses and the city's lights switch on and off over time, but also improves population density in the currently open interiors, as people flock to them.Next I will be working on performance improvements for both the NPCs and the environment that will hopefully allow me to increase the total population from ~1 million to 4 million. So stay tuned!