From TRS2006CCG this is a tag for use in locomotives config.txt files:
"cabinsway "strength"[FONT=Arial,Arial][FONT=Arial,Arial]strength is a floating point number. This controls the magnitude of the random roll in internal view. The roll is also affected by the speed of the train. Negative numbers [/FONT][/FONT][FONT=Arial,Arial][FONT=Arial,Arial]are not used. [/FONT][/FONT][FONT=Arial,Arial]
[/FONT][FONT=Arial,Arial][FONT=Arial,Arial]0 = no sway [/FONT][/FONT][FONT=Arial,Arial]
[FONT=Arial,Arial]larger numbers (2, 6 etc) = larger sway."[/FONT]
[FONT=Arial,Arial]Bob[/FONT]
[/FONT]