18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-19 23:55:00 +01:00
Files
maszyna/application/driverhints.cpp
jerrrrycho 2589cff5f4 fix(ai): the AI switches the local converter of an interlocked section back on
The player switches the fans of the own ET42 section off (converterlocal_sw)
and hands the train to the AI. The AI only works the main converter switch,
and takes the converters for running as the other section's is, but with
LineContactorsInterlock=Converter the line contactors of the own section
stay open and the AI waits at the first controller position forever.

- Switching the converters on (the converteron action), the AI also puts the
  local switch back on in the vehicles under its control whose line
  contactors wait for their own converter.
- With such a switch off the AI doesn't take the engine for ready, so it
  goes back to preparing it, also when the switch is flipped while it
  drives. The human driver may still run with a section switched off.
- Vehicles without the interlock are left as they were.

The lever of the switch in the cab doesn't follow the AI, like the one of
the main converter switch; it is set anew when the cab is entered.

(eu07/maszyna#460)
2026-11-11 15:00:41 +01:00

53 KiB