This is a modern port of CustomEnemyUpdater.
This plugin allows adjusting how often the following are updated per frame for enemies:
A file will generate in the config folder when the game is launched. After that you can use the Config editor in modman or manually edit it.
Include a folder named config and the config file for this mod within it in your release. When people install your rundown it should automatically set it up.
The game uses a stepped update system that will iterate through a certain number of enemies per frame. Further groups will pull more update numbers from unused closer groups, so if there are no enemies close to you the value set will shift to the enemies near you or to far if necessary. It will iterate through the minimum value between the member count of a node or the unused updates. This is handled client side.
Enables a patch to properly reroute static game updates (e.g. spitters) and detection fixed updates to a fixed update method (frame rate independent). Otherwise, these updates only occur the frame after a fixed update occurred.
Handles locomotion updates, such as movement, animations, and attacks. Includes:
Handles behaviour updates, such as pathfinding and checking when to attack. Includes:
These typically cannot update more than once every 0.2s for an enemy.
Handles detection updates for the Behaviour states, such as detecting sound in stealth and deciding which player to target in combat. These are not limited like Behaviour, but run in fixed time.
Handles locomotion network updates, syncing enemy positions with clients.
The number of nodes/rooms to update. Iterates through all enemies in the node(s). Generally best left at 1 as it provides information for the other updates.