unorthodox-paradox / omsi_2_csb_ai_enhancements

AI enhancements for CSB vehicles
1 stars 0 forks source link

AI should enter temporarily-off exterior lighting context sooner when fully re-enabling electrics #42

Open unorthodox-paradox opened 5 years ago

unorthodox-paradox commented 5 years ago

When at prolonged / engine-off stops, AI vehicles may fully re-enable their electrics (by rotating the ignition key from position 1 ("electrics (partially) on" / "ACC") to 2 ("pre-ignition" / "ON") to:

When the main exterior light switch is at position 2 / "headlights", reactivating / increasing the operational mode of the electrics will cause, depending on configuration (to-do, see #37), headlight reactivation. This is to some extent undesired / unnecessary / impolite, particularly when the electrics are retained fully on for several minutes or permanently (when the engine is reignited).

The solution is to have the AI manually reduce the main exterior light switch to position 1 / "standstill" when intending to re-enable electrics.

Note that, as things currently stand, the AI will still eventually (provided it remains stopped long enough) do the right thing, i.e., decrease the exterior lighting level; we would simply like it to respond faster in this particular edge case, as it already correctly does when it deems that exterior lighting mode ought to be reduced at the exact time of arrival (i.e., when it knows in advance it won't be shutting down the engine due to weather severity).

unorthodox-paradox commented 5 years ago

The first sub-case (engine re-ignition while still stopped) has been accounted for in 1.5.3.