Documentation

Setup

Install and configure Vehicle Terrain.

#Download

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

#Dependencies

Install oxmysql, PolyZone, and zyke_lib. All three are required. See Dependencies.

Realistic Vehicles and Wheel Pop are optional.

#Resource

Place the resource in your server's resources folder as zyke_vehicleterrain. Keep the folder name as it is. There are no items to install.

#Database

The zyke_vehicleterrain_zones table is created on the first start, so there is no SQL to import. It holds the zones made with the zone builder, /terrainzones by default.

#Configuration

Edit shared/unlocked/config.lua. Use the Config reference for the current defaults.

#Start Order

Start the resource after its dependencies:

cfg
ensure oxmysql
ensure PolyZone
ensure zyke_lib
ensure zyke_vehicleterrain

#Verify Gameplay

Drive off-road onto sand or mud and check that the wheels sink and the car loses grip. Use /zyke_vehicleterrain_material to print the material under each wheel. See Commands.

#Using All Three Resources

When Realistic Vehicles or Wheel Pop is also started, the resources coordinate their handling baselines through optional exports. Each resource can run on its own and shares handling data when used together.

Use this order when installing all three:

cfg
ensure oxmysql
ensure PolyZone
ensure zyke_lib
ensure zyke_vehicleterrain
ensure zyke_wheelpop
ensure zyke_realisticvehicles