Using Shift Protection
In update 2022-2, shift protection was added to the game. This makes it so you're only able to shift up and down if the end result of the shift will be inside of pre-defined parameters.
This goes under it's own category, [GEARPROTECTION] in the HDV. There are three zones, zone A, which is between reverse and neutral, zone B, which is between neutral and first gear, and zone C, which is between first gear and other forward gears. Using -1 will disable the zone.
Note: All of these values are not needed, you can use only the ones you need.
Parameter | Type | Description | Example |
---|---|---|---|
clutchCheckThreshold | Int, Int, Int | The clutchCheck will be used for gear changes (both upshifts and downshifts) between Reverse and Neutral (zone A), and Neutral and 1st (zone B), with threshold values set to 0.1 for both those zones, but will not active for the zone C. | clutchCheckThreshold=(0.1, 0.1, -1) |
vehicleVelocityCheckThreshold | Int, Int, Int | The vehicleVelocityCheck will only be active for gear change between Reverse and Neutral, with a threshold value set to 20 for that zone. The check will be inactive for gear changes between Netrual and 1st, and for gear changes between 1st and the highest forward gear. | vehicleVelocityCheckThreshold=(20, -1, -1) |
throttleCheckDownShiftThreshold | Int, Int, Int | The check will be active on downshifts, for gear changes between all gears, with a threshold value set to 0.01 for all the zones. | throttleCheckDownShiftThreshold=(0.01, 0.01, 0.01) |
throttleCheckUpShiftThreshold | Int, Int, Int | The check will be active on upshifts, only for gear changes between 1st and the highest forward gear, with a threshold value set to 0.2 for that zone. | throttleCheckUpShiftThreshold=(-1, -1. 0.2) |
currentRPMCheckDownShiftThreshold | Int, Int, Int | The check will be active on downshifts, only for gear changes between Reverse and Neutral, with a threshold value set to 3000 for that zone. | currentRPMCheckDownShiftThreshold=(3000, -1, -1) |
currentRPMCheckUpShiftThreshold | Int, Int, Int | The check will be active on upshifts, only for gear changes between 1st and the highest forward gear, with a threshold value set to 3000 for that zone. | currentRPMCheckUpShiftThreshold=(-1,-1,2700) |
targetRPMTargetCheckDownShiftThreshold | Int, Int, Int | The check will be active on downshifts, only for gear changes between 1st and the highest forward gear, with a threshold value set to 8000 for that zone. | targetRPMTargetCheckDownShiftThreshold=(-1, -1, 8000) |
targetRPMTargetCheckUpShiftThreshold | Int, Int, Int | The check will be active on upshifts, only for gear changes between 1st and the highest forward gear, with a threshold value set to 3000 for that zone. | targetRPMTargetCheckUpShiftThreshold=(-1, -1, 3000) |
targetRPMDownshiftVelocityThresholdMS | Int | targetRPMDownshiftVelocityThresholdMS=0.01 | |
targetRPMDownshiftVelocityThreshold | Int | targetRPMDownshiftVelocityThreshold=10 |