Configuration
This page explains all the configurable options available in the config.lua file of the BHD_MOT script.
Debug
Enables or disables debug prints in the console.
Target Distance
The interaction distance for targets (zones or vehicle parts).
CheckTimes
Defines the duration (in seconds) for each MOT check type:
horn
: Time required to test the horn.lights
: Time to check the vehicle lights.neon
: Duration to check neons.door
: Time per door for visual inspection.engine
: Engine inspection time.tires
: Tire inspection time.
IllegalHorns
Maps horn IDs to
true
if they are considered illegal.During the horn check, if the horn ID matches one marked as
true
, it will be flagged as illegal.
Neon Configuration
CheckPositions
: Which neon positions are required to be installed and visible.Colors
: Defines RGB values of allowed or illegal neon light colors.
AllowedHornsHeadLights
Allows specific headlight color codes. Others are flagged as illegal.
Tire Check Configuration
CheckTypes
: Which tire types (by index) are checked.AllowedClasses
: Vehicle classes allowed to use specific tire types.AllowedModels
: Vehicle models exempt from tire restrictions.
Minimum Health Requirements
Minimum required health values for:
body
: Vehicle body health (MOT body check).engine
: Vehicle engine health (MOT engine check).
Required Item
The item name for MOT certification.
Zones
Defines the MOT zones where inspections can be performed.
Each zone contains:
name
: Internal name of the zone.coords
: Vector3 coordinates for the center of the zone.size
: Vector3 size dimensions.rotation
: Rotation angle of the zone.groups
: Job groups and minimum grade to access.
Summary
This configuration allows full customization of the MOT inspection system, including what to check, how long each check should take, and what is considered legal or illegal for vehicles.
Last updated