PxntxrezStudio-FlashlightRework icon

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!

Last updated a month ago
Total downloads 75148
Total rating 4 
Categories Mods Misc Audio Client-side Server-side
Dependency string PxntxrezStudio-FlashlightRework-2.0.0
Dependants 20 other packages depend on this package

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
nickklmao-REPOConfig-1.2.0 icon
nickklmao-REPOConfig

Edit mod configs in-game!

Preferred version: 1.2.0

README


⚠️ 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!


Thunderstore Profile Thunderstore Version Thunderstore Downloads


If you like my work, you can: DonationAlerts


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
    Press F (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

  1. Install BepInEx For R.E.P.O.
  2. Place the FlashlightRework.dll in your BepInEx/plugins folder
  3. Ensure the following dependencies are installed:
  4. 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.