Found running line 107 with every train driven by the AI:
- a 401Ka wagon of a freight train overturned into a 282 m curve with a
cant of 179 mm at 28 km/h: line 107 has damage 31 on every track, which
scaled the whole lateral acceleration by 2.1, the cant too. The sceneries
set the flags for the jolts of a worn track (thousands of tracks with 2,
31, 4 or 16), so they now scale only the sway of the body and the short
waves of the uneven track, and no longer take load off the wheels; the
cross level of the uneven track still does
- the overturned wagon crept and stopped in turn in every step (the friction
of the ballast against the pull of its train), which kept the physics of
the whole train awake: the run went at half the speed after it. The
friction now holds a stopped derailed vehicle until the forces on it are
larger
- a vehicle without a mass got Y/Q 1e9 (no wheel load), now none
- the log of a derailment tells the mass, the centre of gravity, the forces
of the couplings, the damage flags and the cross level as well
physics.derailment in eu07.ini: new (the default) checks the criteria of
McZapkie/derailment.h in every full step over the distance travelled since the
last one, so the decision doesn't depend on the frame rate; old keeps the
per-step draw of the lateral acceleration against the gauge to the height of
the vehicle; off, no derailment from the speed.
- the cant of the track (dHrail) is taken off the lateral acceleration, the
centre of gravity comes from the new optional CoGH key of the Dimensions of
the .fiz (from the height of the body otherwise), raised by the load
- the forces of the couplings at both ends push the vehicle out of the curve,
or pull it into it
- the uneven track under the outer axles (its lateral curvature and cross
level, new fields of TTrackShape set by TDynamicObject) and the damage flags
of the track add to it
- off the rails by the criteria the vehicle opens its main switch, keeps its
speed and slides with the friction of the ballast (0.3 upright, 0.5 on its
side) instead of stopping dead; its torn brake hoses vent the brake pipe, the
train brakes in emergency. TMoverParameters::Derailed tells overturned from
derailed upright, the log says which with the numbers. Other derailments
keep the legacy effects