# VehicleBalancer

A RagePluginHook plugin for GTA V that overrides modded handling damage values with scaled vanilla values, so vehicles take realistic damage regardless of handling file mods.

## Features

- Restores vanilla collision, deformation, engine, and weapon damage multipliers on all civilian vehicles
- Configurable scale factors to adjust damage intensity (1.0 = vanilla, higher = more damage)
- Reads vanilla damage values from a bundled CSV reference file
- Processes each vehicle model once and caches the result for performance
- Skips emergency vehicles (class 18), tow trucks, and flatbeds
- Scan interval configurable in the INI

## Requirements

- Grand Theft Auto V
- RagePluginHook (RPH)

## Installation

1. Copy `VehicleBalancer.dll`, `VehicleBalancer.ini`, and `VehicleBalancer_Vanilla.csv` into your GTA V `plugins` folder (e.g. `Grand Theft Auto V\plugins\`).
2. Launch GTA V through RagePluginHook.

## Configuration

Edit `VehicleBalancer.ini` in your `plugins` folder:

[Scale]
CollisionDamageScale=1.0
DeformationDamageScale=1.0
EngineDamageScale=1.0
WeaponDamageScale=1.0

[General]
TickInterval=500

- Scale factors are multiplied against vanilla values: 1.0 = vanilla behavior, >1.0 = more damage, <1.0 = less
- **TickInterval** — how often to scan for new vehicle models (milliseconds, minimum 100)

## Author

Gamecock Tomahawk
