Sometimes the AI will appear to enter a hasty brake-throttle-brake loop, repeating at great frequency. This is particularly annoying when the user follows an AI vehicle, and the latter's brake lights flash several times per second, contrasted to other regular AI traffic employing more sensible braking practices.
Identified causes and resolution progress
The cause for this phenomenon seems to be that both the BrakeforceandAxle_Brakeforce_X_Y pre-defined vehicle variables are assigned in AI mode -- the former in cockpit.osc:cockpit_throttle_brake_frame, the latter in bremse.osc:bremse_frame --, which, according to OMSI documentation, is unsupported.
Note that this is an issue distinct from the usual AI braking quirks, such as braking hard for no good reason when changing lane, which are the fault of the game and map / spline authors, thus outside our sphere of influence.
Symptoms
Sometimes the AI will appear to enter a hasty brake-throttle-brake loop, repeating at great frequency. This is particularly annoying when the user follows an AI vehicle, and the latter's brake lights flash several times per second, contrasted to other regular AI traffic employing more sensible braking practices.
Identified causes and resolution progress
The cause for this phenomenon seems to be that both the
Brakeforce
andAxle_Brakeforce_X_Y
pre-defined vehicle variables are assigned in AI mode -- the former incockpit.osc:cockpit_throttle_brake_frame
, the latter inbremse.osc:bremse_frame
--, which, according to OMSI documentation, is unsupported.Note that this is an issue distinct from the usual AI braking quirks, such as braking hard for no good reason when changing lane, which are the fault of the game and map / spline authors, thus outside our sphere of influence.
User-level workarounds
None available.