Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


**MOVE TO DEVELOPERS GUIDE - CAR PHYSICS**
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. 

...

Note: All of these values are not needed, you can use only the ones you need.

targetRPMTargetCheckDownShiftThreshold=(-1,-1,12300)
ParameterTypeDescriptionExample
clutchCheckThresholdInt, Int, IntThe 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)
vehicleVelocityCheckThresholdInt, Int, IntThe 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)
throttleCheckDownShiftThresholdInt, Int, IntThe 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)
throttleCheckUpShiftThresholdInt, Int, IntThe 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)
currentRPMCheckDownShiftThresholdInt, Int, IntThe 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)
currentRPMCheckUpShiftThresholdInt, Int, IntThe 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)
targetRPMTargetCheckDownShiftThresholdInt, Int, IntThe 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)
targetRPMTargetCheckUpShiftThresholdInt, Int, IntThe 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)
targetRPMDownshiftVelocityThresholdMSInt
targetRPMDownshiftVelocityThresholdMS=0.01
targetRPMDownshiftVelocityThresholdInt
targetRPMDownshiftVelocityThreshold=10targetRPMTargetCheckDownShiftThresholdInt, Int, Int