Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
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 | 5 months ago |
| Total downloads | 9710 |
| 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 | 2 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
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.