Documentation

Setup

Install and configure Realistic Vehicles.

#Download

Download Zyke's Realistic Vehicles from your CFX portal under Granted Assets. If it is missing from your portal, see Lacking Entitlement.

#Dependencies

Install zyke_lib and configure its framework and inventory. Wheel Pop and Vehicle Terrain are optional. See Dependencies.

#Resource

Place the resource in your server's resources folder as zyke_realisticvehicles. Keep the folder name as it is.

#Items & Images

The repairkit item is optional and repairs body and mechanical damage. Copy the matching definition from zyke_realisticvehicles/extras/items/ox_inventory.txt or zyke_realisticvehicles/extras/items/qb-core.txt into your inventory, and copy zyke_realisticvehicles/extras/items/images/repairkit.png into the inventory's image directory.

To use your server's own repair item instead, change repairItems.repairKit.item in shared/unlocked/config.lua, or set repairItems.enabled = false.

#Configuration

Edit shared/unlocked/config.lua. Pick a preset from Arcade to Hardcore, and turn deformation and damage multipliers on or off with Config.DamageSystem.deformationEnabled and Config.DamageSystem.damageMultipliersEnabled. Use the Config reference for the current defaults.

#Start Order

Start it after zyke_lib:

cfg
ensure zyke_lib
ensure zyke_realisticvehicles

With Vehicle Terrain and Wheel Pop, use this order:

cfg
ensure zyke_lib
ensure zyke_vehicleterrain
ensure zyke_wheelpop
ensure zyke_realisticvehicles

#Damage Persistence (Optional)

Damage is kept while the vehicle exists. To keep it after parking, despawning, or a restart, add the property integration for your framework. See Framework Persistence.

#Verify Gameplay

Crash a car into a wall and check that the body deforms and the engine loses power. Use a repairkit next to it to repair it.