Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
4 weeks ago
Downloads
1K
Size
13KB

LethalEscapeThrottle

A small performance fix for LethalEscapeUpdated.

On tricky navmesh moons, enemies that cannot reach an exit re-run their escape check every single frame. Each of those calls does a NavMesh path calculation and prints several log lines, so over a round it piles up into real frame-time cost and tens of thousands of log lines.

This mod adds a short per-enemy cooldown, so a failed escape attempt is not retried until CooldownSeconds later. Enemies that can escape still succeed on the first try and are not affected.

Config

  • Enabled: toggle the throttle.
  • CooldownSeconds: how long to wait (default 2.0) before retrying a failed attempt.

Credits

Made by Pierre (Discord: samedude67). Requires LethalEscapeUpdated by woah25.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.