Elvas Tower: ODOMETER cabview controls - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

ODOMETER cabview controls Rate Topic: -----

#1 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 29 September 2021 - 08:36 AM

An Odometer feature is available in OR, but the odometer cannot be managed by the cab.
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.

#2 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,866
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 29 September 2021 - 10:18 AM

View PostCsantucci, on 29 September 2021 - 08:36 AM, said:

An Odometer feature is available in OR, but the odometer cannot be managed by the cab.
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.

Thanks, Carlo.

Clearly described and seems a useful extension - I've approved it now.

#3 User is offline   Borislav 

  • Hostler
  • Group: Status: Active Member
  • Posts: 98
  • Joined: 30-July 17
  • Gender:Male
  • Location:Gunzburg, Germany
  • Simulator:ORTS
  • Country:

Posted 29 September 2021 - 03:10 PM

This is such an excellent addition! However, is there a way to stop the odometer once activated? I can reset it, but I can't seem to stop it once it has been activated.

#4 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 30 September 2021 - 12:37 PM

Thank you both!
The feature has been uploaded to the official OR github, and should be available in the Unstable release within half an hour.
Borislav, if you are using the odometer as a down counter, to check when the tail of the train has passed a certain point, you can set to zero the MinVailue of the ODOMETER control block. This way the odometer display, when reset, will run from train length to zero, and then stay at zero up to next reset.

#5 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 179
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 30 September 2021 - 07:25 PM

Excellent, one of my wishes, thanks

#6 User is offline   Borislav 

  • Hostler
  • Group: Status: Active Member
  • Posts: 98
  • Joined: 30-July 17
  • Gender:Male
  • Location:Gunzburg, Germany
  • Simulator:ORTS
  • Country:

Posted 01 October 2021 - 02:13 PM

All right, thank you very much!

#7 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 179
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 05 October 2021 - 02:35 PM

View PostBorislav, on 01 October 2021 - 02:13 PM, said:

All right, thank you very much!


A few of my wishes
Already in HUD
but would like in cabview

Autopilot On/OFF display
Gradient as a ratio as well as percent (2% - 1:50 )
Consist length
Consist wight/tonnage
EOT gauge

Anyone else support this?

#8 User is offline   Weter 

  • Member, Board of Directors
  • PipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 6,884
  • Joined: 01-June 20
  • Gender:Not Telling
  • Simulator:ORTS
  • Country:

Posted 05 October 2021 - 02:41 PM

Sorry.
Real cabs don't have such instruments, do they?
Maybe, that new train-driving window can display that?

#9 User is offline   ATW 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 638
  • Joined: 07-January 13
  • Gender:Male
  • Simulator:MSTS Open Rails
  • Country:

Posted 05 October 2021 - 03:25 PM

Some instruments do exist an I an amazed now that we have the counter. Still Some ways to go especially the Rear BP pressure representing an EOTD. Total consists Traction force maybe too.
Attached Image: 20210601_033405.jpg


Whether it be cvf extension or possibly Web Server design Cab instruments I like how far ORTS has come.

#10 User is offline   Borislav 

  • Hostler
  • Group: Status: Active Member
  • Posts: 98
  • Joined: 30-July 17
  • Gender:Male
  • Location:Gunzburg, Germany
  • Simulator:ORTS
  • Country:

Posted 06 October 2021 - 12:50 AM

View PostNZ_JOHN, on 05 October 2021 - 02:35 PM, said:

A few of my wishes
Already in HUD
but would like in cabview

Autopilot On/OFF display
Gradient as a ratio as well as percent (2% - 1:50 )
Consist length
Consist wight/tonnage
EOT gauge

Anyone else support this?


Some of these indicators do exist in Evolution Series locomotives. I am sure the same goes for ACe and M-2 locomotives as well.

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users