Elvas Tower: Steam locomotive aux tenders - Elvas Tower

Jump to content

  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Steam locomotive aux tenders Does the aux tender count in ORTS? Rate Topic: -----

#31 User is offline   SP 0-6-0 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 985
  • Joined: 12-November 05
  • Gender:Not Telling
  • Location:Another planet.
  • Simulator:MSTS/ORTS
  • Country:

Posted 28 February 2016 - 11:04 AM

Tank engine do not use tenders. So Istenderrequired(0) locomotive is tank engine.

Now sometimes tenders are used with certain tank engines so the opton to use Istenderrequired(1) locomotive requires a tender.

Robert

#32 User is offline   conductorchris 

  • Vice President
  • Group: Status: First Class
  • Posts: 2,345
  • Joined: 24-March 10
  • Gender:Male
  • Simulator:Open Rails - MSTS
  • Country:

Posted 28 February 2016 - 06:30 PM

Robert, the problem with your approach is that the use of an auxiliary tender is not a constant for a locomotive. One trip it might have one and the next not.
Christopher

#33 User is offline   SP 0-6-0 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 985
  • Joined: 12-November 05
  • Gender:Not Telling
  • Location:Another planet.
  • Simulator:MSTS/ORTS
  • Country:

Posted 28 February 2016 - 09:12 PM

Chris, Not a problem. I just have not gotten that far. Obviously some method of making ORTS smart enough to be able to add and subtract the water tender is needed. The idea of coding it so the tender is a fixed permanent coupled tender is not my idea nor do I approve of the concept. However, This would have been the way MSTS would have done it if the option had been available. Now the trick is figuring out how to improve on the concept for ORTS?

Robert

#34 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 01 March 2016 - 02:00 PM

View PostSP 0-6-0, on 28 February 2016 - 09:12 PM, said:

Obviously some method of making ORTS smart enough to be able to add and subtract the water tender is needed. The idea of coding it so the tender is a fixed permanent coupled tender is not my idea nor do I approve of the concept. However, This would have been the way MSTS would have done it if the option had been available. Now the trick is figuring out how to improve on the concept for ORTS?

The way I see it working is for the locomotive's available fuel to be the sum of:

  • Any fuel it can carry itself
  • Any fuel carried by adjacent (behind only) tenders.

Since we know which train cars are tenders, this is probably "easy". Of course, we should probably only calculate which cars count for each locomotive when the train changes and not every time we check the fuel level, but in theory it means there's no need to hand-code all these "aux tender" things currently in the code.

  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

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