# Changelog for VCruise Control v1.2 .OIV Installer

## [1.2] - 2024-08-05

### Added
- **UI Integration:**
  - Complete UI implemented using LemonUI for a more user-friendly experience.
  - Added `CruiseControlMenu` class to manage and display the settings menu with various customizable options.
  - Included texture dictionary and banner for the menu.
  - Added menu items for adjusting settings such as speed unit, in-game messages, disable with brake, dynamic speed adjustment, intelligent cruise control, seatbelt simulation, speed adjustment step, and smoothness factor.
  - Added input handling for custom key bindings for toggling the cruise control and adjusting speed.

- **Features:**
  - Added **Intelligent Cruise Control** with `enableAutoStop` which allows the vehicle to adjust speed based on the distance to the vehicle ahead.
  - Added **Seatbelt Simulation** with `enableSeatbelt`, enhancing safety by preventing the player from being knocked off the vehicle when crashing.
  - Added **Obstacle Detection** to automatically adjust the speed when an obstacle is detected in front of the vehicle.
  - Added `speedAdjustmentStep` to configure the increment step for speed adjustments, providing precise control over speed changes.
  - Added `smoothnessFactor` to adjust the smoothness of acceleration and deceleration.

- **Keys:**
  - Added configurable key bindings for the menu, cruise control toggle, and speed adjustments, allowing for user customization.
  
### Changed
- **Gradual Speed Adjustment:**
  - Modified speed control to allow for smoother acceleration and deceleration using the `smoothnessFactor`.
  - Updated speed adjustment logic to apply gradual changes in speed rather than abrupt changes.

- **Notification System:**
  - Updated notification system to use `SendMessageToPhone` for sending in-game messages via phone notifications.

### Fixed
- **Duplicate Model Handling:**
  - Fixed an issue with the `helicopterModels` list containing duplicate entries for the some model.

### Known Issues
- None reported.

For any issues or suggestions, feel free to reach out! Also leave a like and rating for others thanks!