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
Complete flashlight overhaul with FULL MULTIPLAYER SYNC! Manual toggle (F key), custom RGB colors, configurable enemy-proximity flicker system. Independent control - no auto-hide during crouch/slide. Turn REPO into a true horror experience!
| Date uploaded | 7 months ago |
| Version | 2.0.0 |
| Download link | PxntxrezStudio-FlashlightRework-2.0.0.zip |
| Downloads | 67251 |
| Dependency string | PxntxrezStudio-FlashlightRework-2.0.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: MULTIPLAYER SYNCHRONIZATION ⚠️
This mod now supports full multiplayer synchronization!
🎮 How it works:
- ✅ With mod installed (RECOMMENDED): All players see each other's flashlight states, colors, and flicker effects in real-time
- ⚠️ Without mod (PARTIAL): The mod still works for you, but other players won't see your custom states and you won't see theirs
📥 For best experience:
All players in the lobby should install the mod to enable full synchronization features.
You can play without others having it, but you'll miss out on multiplayer features!
Flashlight Rework
Authors: Pxntxrez and Lluciocc
Compatibility: REPOConfig and BETA VERSION
Major Update v2.0.0 - Full Multiplayer Support!
Flashlight Rework has been completely overhauled with full multiplayer synchronization!
What's New:
- ✅ Full Multiplayer Sync - All players see each other's flashlight states
- ✅ Individual Colors - Each player's custom RGB color is visible to others
- ✅ Synchronized Flickering - Enemy proximity effects sync across all players
- ✅ Auto-Enable - Flashlight automatically turns on when entering gameplay
- ✅ Death Handling - Flashlight properly hides when player dies
- ✅ Fully Configurable Flicker - Customize detection radius, duration, and intervals
Description
Flashlight Rework is a complete flashlight system overhaul that adds immersive features and full multiplayer support:
Core Features:
-
Manual Toggle with F
PressF(or your custom keybind) to toggle the flashlight on/off with smooth animations and sound effects. -
Independent Control
The flashlight stays on regardless of your movement state:- No auto-hide when crouching, sliding, or tumbling
- Full control over when your light is visible
-
Auto-Enable
Flashlight automatically turns on when gameplay starts - no need to manually enable it each time. -
Smart Death Handling
Flashlight properly hides when you die and reappears when you respawn.
Customization:
-
RGB Color Control
Set custom RGB values (0-255) for your flashlight color via config. Other players will see YOUR chosen color! -
Visible to Others
Your custom flashlight color is synced and visible to all players in multiplayer.
Horror Elements:
-
Enemy-Proximity Flickering
When an enemy is within detection radius (default 30m), your flashlight begins to flicker. -
Fully Configurable:
- Detection Radius: How far enemies can trigger flicker (5-100m)
- Flicker Duration: How long the light stays off during flicker (0.05-2s)
- Flicker Interval: Time between flickers (0.5-30s)
-
Synchronized Effects
All players see when your flashlight flickers - adds to the horror atmosphere!
Multiplayer Features:
- Real-Time Sync: All flashlight states sync instantly via Photon networking
- Individual Settings: Each player can have their own flicker preferences
- Network Optimized: Efficient RPC calls ensure smooth performance
Installation
- Install BepInEx For R.E.P.O.
- Place the
FlashlightRework.dllin yourBepInEx/pluginsfolder - Ensure the following dependencies are installed:
- Launch the game
Configuration
Edit BepInEx/config/PxntxrezStudio.RepoFlashlightRework.cfg to customize your flashlight:
🔹 Light Color Settings
| Setting | Description | Default | Range |
|---|---|---|---|
UseCustomRGB |
Enable custom RGB color | false |
- |
Red |
Red component of light color | 255 |
0-255 |
Green |
Green component of light color | 255 |
0-255 |
Blue |
Blue component of light color | 255 |
0-255 |
Note: Your custom color is visible to other players!
🔹 Controls
| Setting | Description | Default | Options |
|---|---|---|---|
Toggle Key |
Key to toggle flashlight | F |
F, R, T, Y, U, I, O, P, G, H, J, K, L, Z, X, C, V, B, N, M |
🔹 Flicker Settings
| Setting | Description | Default | Range |
|---|---|---|---|
Enable Flicker |
Enable flickering when enemy is nearby | True |
- |
Detection Radius |
Distance (meters) to detect enemies | 30 |
5-100 |
Flicker Duration Min |
Min time light stays off during flicker (seconds) | 0.1 |
0.01-100 |
Flicker Duration Max |
Max time light stays off during flicker (seconds) | 0.4 |
0.01-100 |
Flicker Interval Min |
Min time between flickers (seconds) | 1 |
0.1-100 |
Flicker Interval Max |
Max time between flickers (seconds) | 12 |
0.1-100 |
Multiplayer Behavior
What Syncs:
- ✅ Flashlight on/off state
- ✅ Custom RGB colors
- ✅ Flicker effects (when enemy is near)
- ✅ Death/respawn states
What's Individual:
- ⚙️ Flicker settings (each player can configure their own)
- ⚙️ Detection radius preferences
- ⚙️ Custom colors
Example:
- Player A sets red flashlight with fast flicker (0.1s duration)
- Player B sets blue flashlight with slow flicker (0.7s duration)
- Both players see:
- Player A with red light flickering quickly
- Player B with blue light flickering slowly
Known Issues
- None currently! Report bugs on our Discord.
Developer Contact
Report bugs, suggest features, or provide feedback:
| Discord Server | Channel | Post |
|---|---|---|
| Pxntxrez Studio | #released-mods |
Flashlight Rework |
Note: We've moved to our own Discord server! Join for support, updates, and discussions.
Credits
- Pxntxrez - Lead Developer
- Lluciocc - Co-Developer
- Community - Beta testing and feedback
License
This mod is provided under the MIT License.
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
