Csantucci, on 23 September 2023 - 06:12 AM, said:
Stijn,
I found a quick and dirty(or not?) fix for your problem. If you download and build my just updated source code, it should work now.
I inserted a check to recognize what could be "old style" control cars, that is if the supposed locomotive has MaxPowerW < 20000 and MaxForceN < 2000 and MaxContinuousForceN < 2000, it is considered an "MSTS" control car, and to it Simple Adhesion is applied (in fact Advanced Adhesion is essentially about motive forces, which are absent in a control car), and with Simple Adhesion the Ammeters work correctly.
To me the problem is closed here. I'm not sure whether this would be accepted or not for the official OR, so at the moment it remains only for ORNYMG.
I found a quick and dirty(or not?) fix for your problem. If you download and build my just updated source code, it should work now.
I inserted a check to recognize what could be "old style" control cars, that is if the supposed locomotive has MaxPowerW < 20000 and MaxForceN < 2000 and MaxContinuousForceN < 2000, it is considered an "MSTS" control car, and to it Simple Adhesion is applied (in fact Advanced Adhesion is essentially about motive forces, which are absent in a control car), and with Simple Adhesion the Ammeters work correctly.
To me the problem is closed here. I'm not sure whether this would be accepted or not for the official OR, so at the moment it remains only for ORNYMG.
Carlo,
Must i change something on the .cvf and .eng files for the test?