You are viewing a potentially older version of this package. View all versions.
Azx-BetterFlashlight_Fixed-1.0.0 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
Date uploaded 2 months ago
Version 1.0.0
Download link Azx-BetterFlashlight_Fixed-1.0.0.zip
Downloads 4954
Dependency string Azx-BetterFlashlight_Fixed-1.0.0

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.