Updated for Build 42 (B42)
This is a compatibility update for the new version of Project Zomboid. If the original mod is updated by its creator, this version will be removed.
Original Mod: Left Click Redux - Click To Act
✨ BIG UPDATE - NEW FEATURES
- ⚔️ Automated Combat (Melee): Double-clicking on a zombie causes the player to automatically approach and engage the target with their equipped melee weapon.
- 🚗 Vehicle Entry: Double-clicking a vehicle will prompt the character to approach the driver's side and enter the seat automatically.
- 🗺️ Map Navigation: Double-click anywhere on the World Map to set a destination. Your character will automatically walk to the selected point while a pulsing visual marker tracks your target.
- 🪟 Smash Window Command: By holding a configurable hotkey (Default: X) and clicking a window, the player will approach and safely smash it.
- 👁️ Require Line of Sight: Prevents interaction with containers you can't see (e.g., through walls or on different floors). Can be toggled in settings.
- 🚪 Auto-Close Doors: Automatically closes doors behind you when using mod-based movement. (Does not trigger with WASD).
- 📏 Tactical Path Line: Displays an elegant, animated dashed line to your destination. Toggleable in settings.
- 🎨 Custom Path Color: Includes a color picker in the settings menu to customize your path line, crosshairs, and markers.
- 🏠 Auto-Enter Through Window (WIP): If doors are locked, clicking inside a house will make the character search for and climb through the nearest window. (Note: Work in progress).
🛠️ Changes & Improvements
- Control Change: Click-to-move is now Double-Click by default.
- Optimization: Codebase split into specific modules for maximum performance and B42 compatibility.
⚠️ KNOWN ISSUES
- Character rotation may stutter slightly when moving with hold to move mode.
UPDATE: I tried rebuilding the "hold to move" logic. It’s slightly more consistent now, but still a bit buggy. - Interactions with some UI elements can be problematic. I'll try to fix it as soon as possible. FIXED🙏
📝 DISCLAIMER & SUPPORT
I am not the original creator of this mod. I do not plan on adding more major updates beyond bug fixes unless the original author abandons the project or grants permission for further development.
Bug Reports: If you encounter an error, please send your logs.
Workshop ID: 3705248289
Mod ID: leftclickredux_b42