[PAID] [Standalone] Automatic Emergency Braking | Collision Avoidance System (FCW & AEB)

Description

The Intelligent Driving Assistance System code aims to provide Forward Collision Warning (FCW) and Automatic Emergency Braking (AEB) functions, helping drivers improve safety during driving. The system detects obstacles and pedestrians ahead, dynamically calculates distance thresholds, and triggers warning sounds and automatic braking when necessary to reduce the risk of traffic accidents. The system covers all NPCs and online players’ PEDs and vehicles, including moving and parked vehicles.

Features

  • Forward Collision Warning (FCW): When obstacles or pedestrians appear in front of the vehicle, the system dynamically adjusts the warning distance based on the vehicle speed and plays a warning sound to alert the driver.
  • Automatic Emergency Braking (AEB): In dangerous situations, the system automatically applies brakes to slow down or avoid collisions while displaying the AEB icon to alert the driver.
  • Dynamic Threshold Calculation: Real-time calculation of FCW and AEB distance thresholds based on vehicle speed and the type of obstacle ahead (pedestrian or other vehicles).
  • Cooldown Time: Set a cooldown time for automatic emergency braking to avoid frequent triggers.
  • Vehicle Model and Class Configuration: Supports enabling warning and automatic emergency braking functions for specific vehicle models and classes through configuration files.
  • Realistic Braking Simulation: The braking operation fully simulates player vehicle control, ensuring a realistic experience without sudden speed changes (unlike some cruise control scripts). Therefore, if you manually control the vehicle during AEB activation, it will not lose control.

Video Showcase

Watch the Intelligent Driving Assistance System in action: YouTube Video

Tebex Store

Purchase the Intelligent Driving Assistance System on our Tebex store: Jerry’s Tebex Store

Code is accessible Yes
Subscription-based No
Lines (approximately) 200
Requirements N/A
Support Yes
2 Likes

Good!

New Features

  • Added a command to manually enable/disable the AEB (Automatic Emergency Braking) system.
    • Users can toggle the AEB functionality on or off using the /aeb command.

Changelog - 1.0.1

  • Fixed incorrect language issues
  • Removed dependency on okokNotify and switched to native GTA notification system

WIP updates:

  • Detect the speed difference between the vehicle in front of you, even if the distance is very close, as long as the relative speed does not change, it will not trigger
  • AEB will not be triggered when the driver has already applied the brake or made a significant turn
  • The function will not be triggered when the emergency light is activated
  • The new menu can enable or disable FCW&AEB by itself (oxlib)
  • Fully notify Locale support