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