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
repairkititem is optional and repairs body and mechanical damage. Copy the matching definition fromzyke_realisticvehicles/extras/items/ox_inventory.txtorzyke_realisticvehicles/extras/items/qb-core.txtinto your inventory, and copyzyke_realisticvehicles/extras/items/images/repairkit.pnginto the inventory's image directory.To use your server's own repair item instead, change
repairItems.repairKit.iteminshared/unlocked/config.lua, or setrepairItems.enabled = false.
#Start Order
Start it after
zyke_lib:cfgensure zyke_lib ensure zyke_realisticvehiclesWith Vehicle Terrain and Wheel Pop, use this order:
cfgensure 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
repairkitnext to it to repair it.