Blueprint Cabview controls for odometer https://blueprints.l...cabview-control proposes to add the related cabview controls.
Waiting for possible blueprint approval to insert it in the official OR versions, the feature is now available in OR NewYear 106.
Following cabview controls are available:
- ORTS_ODOMETER: used to digitally display the odometer value
- ORTS_ODOMETER_RESET: used to reset the odometer
- ORTS_ODOMETER_DIRECTION_CHANGE: used to change direction (up/down) of the odometer.
Here what I have added in a test cab:
TwoState ( Type ( ORTS_ODOMETER_RESET TWO_STATE ) Position ( 320 70 24 22 ) Graphic ( AWSack.ace ) NumFrames ( 2 2 1 ) Style ( WHILE_PRESSED ) MouseControl ( 1 ) ) TwoState ( Type ( ORTS_ODOMETER_DIRECTION ) Position ( 320 100 13 15 ) Graphic ( pantografo.ace ) NumFrames ( 2 2 1 ) Style ( ONOFF ) MouseControl ( 1 ) ) Digital ( Type ( ORTS_ODOMETER ) Position ( 377 100 26 17 ) ScaleRange ( -99999 100000 ) Accuracy ( 0 ) AccuracySwitch ( 0 ) LeadingZeros ( 0 ) Justification ( 1 ) PositiveColour ( 1 ControlColour ( 255 255 255 ) ) NegativeColour ( 0 ) DecreaseColour ( 0 ) Units ( FEET ) )
Accepted units of measure for ORTS_ODOMETER are METRES, KILOMETRES, FEET, YARDS and MILES.
It is no more needed to make changes in the .eng file.
The functions available for the odometer haven't been changed.