Azx-BetterFlashlight_Fixed icon

BetterFlashlight Fixed

Flashlights can be used to blind enemies and other players. This is a version of BetterFlashlight with various issues fixed.

By Azx
Last updated 2 weeks ago
Total downloads 2725
Total rating 1 
Categories Mods Misc BepInEx Client-side Server-side Equipment Items Monsters Bug Fixes Tweaks & Quality Of Life
Dependency string Azx-BetterFlashlight_Fixed-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

BetterFlashlight Fixed

Flashlights can be used to blind enemies and other players.

This version fixes a number of issues with BetterFlashlight v1.0.6.

Fixes

  • Fixed issues with inconsistent behavior when the flashlight wasn't in the active slot.

  • Fixed issue of copy-pasted code causing battery consumption to be overwritten by an unrelated value.

  • Fixed issue caused by enumerator being mutated during iteration.

  • Fixed issue with values overwriting each other due to being assigned the same key.

Additional Fixes

The newest version of BetterFlashlight's source on GitHub was not up-to-date. These are the additional bugs I fixed to update the project.

  • Fixed a flashlight beam size error.

  • Fixed an issue with decimal number conversion for the 'Distance' field in the 'Enemy values' section.

  • Adjusted the calculation to determine if the flashlight angle is correct, and made it impossible to blind enemies through obstacles.

  • Adjusted values in the configuration to match config values in BetterFlashlight v1.0.6.

  • Added a new field in the configuration to manage the player's head angle (when the player is looking up or down).


  • Configurable.
  • Developed for Lethal Company v64a.