Vehicles.json - AlPepino/Next-Days GitHub Wiki

Object array of mission vehicles. It can be called by title in any mission.

title

unique name of this data set, which can be called in mission for spawning one vehicle

chance

takes float value 0-1. 1 means 100% chance for spawning (default value, which can be override in mission template)

chanceAttachments

takes float value 0-1. 1 means 100% chance for creating attachment from string array "items"

chanceFluid

takes float value 0-1. 1 means 100% chance for filling with fluids

items

string array. First element is class name of vehicle. The rest are class name of cars attachment, e.g.: ["OffroadHatchback","HatchbackWheel"]

cargo

declared loot for cargo, e.g.: [{"title":"Key_1","chance":1.0}] - "title" must be declared in MissionsLootTable.json of course