
BetterFlashlight Fixed
Flashlights can be used to blind enemies and other players. This is a version of BetterFlashlight with various issues fixed.Details
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.