I wasn't sure where to post this, so please point me elsewhere is needed.
I recently did a full load out of the Modding-OpenMW Total Overhaul list. After tweaking things a bit, I was able to maintain 60 fps comfortably in testing. I specifically focused on cities as that's where I seemed to see notable drops in framerates. Around 20 or so hours into a new character, I found the city FPS dropping from my new game testing. After digging around a bit, I've landed on the idea that NPC count may be dragging down the FPS. With that in mind, I reviewed the loadout and found Friends and Foes (a solid mod) spawns quite a few NPCs using levelled lists. There's a "scarce" optional plugin that reduces the chance of a spawn however I wanted to look more deeply into the problem.
My possibly incorrect assumptions:
- Each spawn point placed in a cell will only spawn one NPC from the leveled list
Each spawn point will not spawn another NPC if there is an existing one from that spawn point
NPCs will not despawn once spawned unless they are killed
Each time a cell is loaded any unfilled spawn point checks its chance to spawn a new NPC given it's chance setting and the limitations above
Does the above fit the engine works?
I posted the same basic question in the Friends and Foes comments, but it sounded like asking those familiar with the how the engine works may be a better target audience.
Thank you for your time.