Suspect Motor Failure (SMF) V3.6

Suspect Motor Failure (SMF) v3.4.1

Stop the “Tank-AI” once and for all! Tired of suspects driving away like nothing happened after a 100mph head-on collision? Suspect Motor Failure (SMF) brings true consequences to your pursuits. No more immortal AI engines—if they crash hard, their journey ends right there.

🌟 Key Features

Dynamic Engine Death: If a vehicle’s body is significantly deformed (e.g., after a successful PIT maneuver or a high-speed crash), the engine will automatically fail and stall.

[EXPERIMENTAL v3.3] 70/30 Damage Logic: Not every crash is an explosion. SMF features a randomized system:

70% Chance: Engine fails with thick, black smoke (Radiator/Coolant failure).

30% Chance: Engine catches fire immediately for high-intensity scenarios.

Adaptive AI Escape: Once the vehicle is disabled, AI suspects realize the car is a paperweight. They will evaluate the situation and flee on foot, creating a seamless transition from a pursuit to a tactical foot chase.

Safety-First Exit: Suspects no longer jump out at 100mph. The script ensures they only bail once the vehicle has reached a safe speed, preventing “glitchy” AI deaths.

Permanent Disability: Using the IsDriveable = false flag, disabled cars stay dead. Neither the AI nor the player can drive a killed vehicle.

Officer Protection (Player Immunity): The script intelligently ignores your cruiser. You can ram suspects and perform PIT maneuvers without fear of your own engine dying.

Ultra Lightweight Performance: Optimized with a 500ms tick interval. Zero impact on FPS, even during massive police chases with dozens of backup units.

🛠 Technical Specifications & Compatibility

LSPDFR: 100% Compatible and highly recommended for realistic patrols.

Damage Mods: Works perfectly with DriveV or Realistic Vehicle Damage.

Pro Tip: If using “Realistic Vehicle Damage“, set EngineCanStall = False in its .ini to let SMF handle the logic more reliably.

Version Support: Fully optimized for SHVDN v3.7.0.

📂 Installation & Archive
Ensure ScriptHookV and ScriptHookVDotNet v3.7.0 are installed.
Drop the SuspectMotorFailure_v3_4.dll and SuspectMotorFailure_v3_4.ini into your /scripts/ folder.

Changelog:
Update v3.6
API Fix: Fully updated for the latest ScriptHookVDotNet3 (fixed MissingMethodException).
User Request: Added StayInCarChance! Suspects now have a random chance to stay in the vehicle instead of fleeing immediately (Thanks to the community for the idea!).
Customize: Customize the StayInCarChance in the .ini.
Architecture Update: Project compiled in x64 for maximum stability.

v3.5.1 (Stable Hotfix):
Fixed Versioning Conflict: Simplified filenames to SuspectMotorFailure.dll and SuspectMotorFailure.ini. This prevents issues where old versions (like v3.4) were still running alongside the new ones.
Engine Fire Removed: Based on community feedback, suspects’ engines will now only smoke and stall instead of catching fire (Health set to -0.1).
Performance Optimization: Improved the script’s internal timing (Interval set to 500ms) to reduce CPU usage.
Code Cleanup: Removed all unnecessary “EnableFire” and “FireChance” logic for a more stable experience.
Configuration: The script now consistently loads settings from the same .ini file, even after future updates.

Credits:

CoolyGoon (me): developing the script, improving the readme and the description, come up with new ideas.
Gemini: optimizing the logic, writing the readme and the description.

1/5 - (1 vote)

Download mod

FileFile size
zip SuspectMotorFailure_v3.65 KB

Leave a Reply

Your email address will not be published. Required fields are marked *