Skip to content

[Server Hosting] VehicleSettings

LieutenantMaster edited this page Sep 28, 2021 · 28 revisions

Last updated the 8th of September 2021 - Return to the summary


"m_Version"

Integer.

Contains the current setting version number, never change this value unless you really know what you are doing as it's used internally for automatic conversion of old settings whenever we change something.

"VehicleSync" - Work in progress. Keep this setting to 1

Integrer.

  • 0 = Vehicles will be simulated by the Server and only the server.
  • 1 = Vehicles will be simulated by the Server prediciting player actions. To make it easy to understand, it's Client and server sync.
  • 2 = Vehicles will be simulated by the client (player).

"VehicleRequireKeyToStart"

Bool.

  • 0 = Even if your car is paired to a key, you don't need to have the key in the vehicle inventory or on yourself.
  • 1 = You will need a car key paired to the vehicle in your inventory or in the inventory of the vehicle to start the engine.
  • 2 = You need to have the key in your hands to start the engine.

"VehicleRequireAllDoors"

Bool.

  • 0 = Even if you are missing some doors, you can still lock the vehicle.
  • 1 = You will need all the doors of the car to lock your vehicle.

"VehicleLockedAllowInventoryAccess"

Bool.

  • 0 = Players will need to unlock the vehicle to access the inventory.
  • 1 = Allow players to access the inventory of the vehicle even if this vehicle is locked.

"MasterKeyPairingMode"

Integrer.

  • -1 = infinite master pairing uses
  • 0 = disabled. You can pair any keys to your already paired car.
  • 1 = limited uses before becoming a normal car key (MasterKeyUses)
  • 2 = renewable with a electronicalrepairkit or a keygrinder (will also use MasterKeyUses)
  • 3 = renewable with a keygrinder (will also use MasterKeyUses). Currently only configured for MuchCarKeys, a futur update will also add a Expansion Grinder.

"MasterKeyUses"

Integrer. Amount of times the masterkey can pair unpaired keys.

"CanPickLock"

Bool.

  • 0 = You can't lock pick vehicles.
  • 1 = Allow players to lock pick vehicles.

"PickLockTools"

Array. A list of classnames (items) allowed to lockpick cars.

"PickLockChancePercent"

Integrer. The Percentage of chance to successfully lock pick a vehicle (from 0 to 100)

"PickLockTimeSeconds"

Integrer. How many seconds it will take to do the lock pick action

"PickLockToolDamagePercent"

Integrer. How much damage the tool will take when completing the action. In percentage (from 0 to 100).

"VehicleLockedAllowInventoryAccess"

Bool.

  • 0 = Players will need to unlock the vehicle to access the inventory.
  • 1 = Allow players to access the inventory of the vehicle even if this vehicle is locked.

"EnableWindAerodynamics"

Bool.

  • 0 = The helicopters won't have wind simulation.
  • 1 = Enable wind simulation for helicopters.

"EnableTailRotorDamage"

Bool.

  • 0 = rotors of helicopters can't be damaged.
  • 1 = rotors of helicopters can be damaged and will spin if destroy making the helicopters almost unusable.

"PlayerAttachment"

Bool.

  • 0 = Players will fall and take damage like in vanilla.
  • 1 = Allow players to stay on moving objects like cars, helicopters, planes or boats.

"Towing"

Bool.

  • 0 = Towing is disabled.
  • 1 = Allow cars to tow other cars. Helicopters can tow any types vehicles.

"EnableHelicopterExplosions"

Bool.

  • 0 = Helicopters won't explode.
  • 1 = Helicopters can explode.

"DisableVehicleDamage"

Bool.

  • 0 = The Vehicles can take damage from anything (collision damage multipliers apply).
  • 1 = The vehicles can't take damage (collision and bullet proof)

"VehicleCrewDamageMultiplier"

Float. Collision damage multiplier for the crew. How fast they will blackout or die. 0 is no damage, 1 is vanilla damage, above 1 is stronger than vanilla.

"VehicleSpeedDamageMultiplier"

Float. Collision damage multiplier for the speed of the car. 0 is no damage, 1 is vanilla damage, above 1 is stronger than vanilla.

"CanChangeLock"

Bool.

  • 0 = Disabled, you cannot change the lock of a vehicle (key).
  • 1 = You can change the lock of a vehicle (key).

"ChangeLockTools"

Array. A list of classnames (items) allowed to change the lock of a vehicle.

"ChangeLockTimeSeconds"

Integrer. Time it will take to change the lock in seconds (s)

"PickLockToolDamagePercent"

Float. How much damage the tool will take when executing the action (in percentage, from 0 to 100)

"PlacePlayerOnGroundOnReconnectInVehicle"

Integrer. If the player crash (or server crash). Should the player be placed on the ground ?

  • 0 = disabled
  • 1 = Always
  • 2 = Only on server restarts

"VehiclesConfig"

Array. A list of classnames (vehicles) and their config for player attachment and their weight (used for towing)

"VehiclesConfig" -> "ClassName"

String. The classname of the vehicle

"VehiclesConfig" -> "CanPlayerAttach"

Bool.

  • 0 = Players won't be able to attach on the vehicle
  • 1 = Players can attach on this vehicle while it's moving

"VehiclesConfig" -> "Weight"

Float. The weight of the vehicle, used to know if a vehicle can tow another vehicle.

{
    "ClassName": "OffroadHatchback",
    "CanPlayerAttach": 0,
    "Weight": 1350.0
}

Raw file

https://github.com/ExpansionModTeam/DayZ-Expansion-Settings/blob/master/Settings/VehicleSettings.json

Clone this wiki locally