Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
FlashlightRework
Toggle your flashlight with F, customize its color via config, and make it flicker when enemies approach!
| Date uploaded | a year ago |
| Version | 1.1.0 |
| Download link | PxntxrezStudio-FlashlightRework-1.1.0.zip |
| Downloads | 2112 |
| Dependency string | PxntxrezStudio-FlashlightRework-1.1.0 |
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
⚠️ IMPORTANT NOTICE: CLIENT-SIDE MOD ⚠️
This mod is entirely client-side and does not affect gameplay or networking.
Other players do not need to install it for it to work properly in multiplayer.
Flashlight Rework
Authors: Pxntxrez and Lluciocc
Compatibility: REPOConfig and BETA VERSION
Mod Status (Beta)
- 🚧 Beta Version
- Flashlight Rework is currently in beta.
- Expect frequent updates, new features, and ongoing tweaks based on your feedback.
⚠️ Multiplayer Support ⚠️
- At the moment, Flashlight Rework does not sync flashlight toggles with other players.
- Your F-key on/off actions and flicker effects are local only and won’t be visible to teammates.
- Multiplayer sync is planned for a future update.
Description
Flashlight Rework: is a lightweight mod that enhances your in-game flashlight:
-
Toggle On/Off with F
PressFto smoothly turn the flashlight on or off, complete with animation and sound effects. -
Movement Lock
Keeps your flashlight on during key movements to avoid unexpected darkness.- The flashlight won’t turn off when you’re crouching, tumbling, or sliding.
-
Enemy-Proximity Flicker
When an enemy comes within a 12-meter radius, the flashlight begins to flicker - speeding up as they get closer. -
Configurable Flashlight Color
Adjust the flashlight’s RGB color values (0–255) via the built-in REPOConfig menu.
Installation
- Install BepInEx For R.E.P.O.
- Place the
FlashlightRework.dllin yourBepInEx/pluginsfolder - Ensure the following dependencies are installed:
- Launch the game
Configuration
After first launch, edit BepInEx/config/PxntxrezStudio.RepoFlashlightRework.cfg to tweak your flashlight’s color:
🔹 Light Color Settings (RGB 0–255)
| Setting | Description | Default |
|---|---|---|
LightColorRed |
Red component of light color. | 255 |
TextColorGreen |
Green component of light color. | 255 |
LightColorBlue |
Blue component of light color. | 255 |
Developer Contact
Report bugs, suggest features, or provide feedback:
| Discord Server | Channel | Post |
|---|---|---|
| R.E.P.O. Modding Server | #released-mods |
Flashlight Rework |
CHANGELOG
v2.0.0 – 🎉 MAJOR UPDATE: Full Multiplayer Overhaul
🔥 Breaking Changes
- Complete rewrite of flashlight system for multiplayer compatibility
- Removed client-side only limitations - full network synchronization now available!
✨ Added - Multiplayer Features
- Full Multiplayer Synchronization: All flashlight states now sync across all players
- Toggle states (on/off) visible to everyone
- Custom RGB colors visible to other players
- Flicker effects synchronized in real-time
- Photon RPC Integration: Efficient network calls for smooth multiplayer experience
- Individual Player Colors: Each player's custom RGB settings are properly synced
- Death State Handling: Flashlight properly hides when player dies and reappears on respawn
- Auto-Enable on Spawn: Flashlight automatically turns on when entering gameplay
✨ Added - Configuration Options
- Configurable Flicker Settings:
Detection Radius(5-100m, default: 30m) - Distance to detect enemiesFlicker Duration Min/Max(0.01-100s) - How long light stays off during flickerFlicker Interval Min/Max(0.1-100s) - Time between flickers
- Highly Customizable: Create your own flicker patterns (fast/slow, frequent/rare, strobe effects)
🔧 Changed
- Independent Control: Flashlight no longer auto-hides during crouch, tumble, or slide
- Press F to manually toggle only
- Full player control over flashlight state
- Improved Flicker System:
- Simplified flicker logic for better performance
- Configurable instead of hardcoded panic levels
- Synced across all players
- Detection Radius: Increased from 15m to 30m (configurable)
- Better Animation Handling: Smooth transitions maintained across network
🐛 Fixed
- Fixed multiplayer desync where players couldn't see each other's flashlight states
- Fixed flashlight staying visible after player death
- Fixed color not syncing between players
- Fixed RPC initialization timing issues
- Fixed flashlight appearing in spectator mode
- Fixed animation glitches during state transitions
🏗️ Technical Improvements
- Added FlashlightRPCHandler component for network communication
- Optimized coroutines for flicker system
- Improved error handling and debug logging
📢 Community
- Moved to dedicated Discord server: Pxntxrez Studio
- Previous modding server access was restricted
- New server provides better support and community interaction
- Join
#released-modschannel for updates and support
v1.2.0 — Flashlight Overhaul
Added
- Horror-style flashlight flickering system based on enemy proximity
- Proximity-based panic levels with unique behavior:
- Slight flickers at long range (15m)
- Erratic flashes at mid-range
- Chaotic flickers at close range
- Option to enable/disable flicker in config (
EnableFlicker) - Option to enable/disable custom RGB coloring in config (
UseCustomRGB) - Configurable RGB values (
Red,Green,Blue) - Configurable flashlight on and off key (
ToggleKey) from a predefined list in config
Changed
- Flickering logic now scales intensity dynamically based on distance
- Increased enemy detection radius for flicker to 15 meters
Fixed
- Fixed bug where Flashlight Rework doesht work in BETA VERSION
v1.1.0 — Initial Release
- Toggleable light via
F - Configurable RGB light color
