Elvas Tower: PBL2BrakeController - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

PBL2BrakeController engine brakes, mouse operation in 3D cab Rate Topic: -----

#1 User is offline   diceros 

  • Apprentice
  • Group: Status: Switchman
  • Posts: 8
  • Joined: 23-August 14
  • Simulator:MSTS, Open Rails
  • Country:

Posted 14 February 2019 - 11:03 PM

Hi!

For the last couple of months I have been trying to create a model of my favourite diesel locomotive, the Austrian class 2050, with Blender trying to use the new features of OR. Although I had some success there are still details that do not work the way I want them to, and any help would be greatly appreciated:

1. This locomotive has a brake lever which can be pushed forward to lower the pressure in the brake cylinder and pulled back to increase brake cylinder pressure. After some research I found the PBL2BrakeController, with which this bevaviour can be modelled for the train brake.

The engine brake of the real locomotive works the same way, but I did not manage to adapt the ORTSTrainBrakeController( PBL2BrakeController.cs ) as an engine brake controller. Has anybody developped a solution for this problem?

Generally I would be very interested in ORTS' scripting features but I did not find enough documentation and examples to understand how to create scripts. Any information would be appreciated.

2. I built a 3D- cab and modelled the train Bake lever as an animated part TRAIN_BRAKE:0:0 with frame 0 in pulled back position, frame 1 in neutral position and frame 2 in pushed forward position. In the .cvf- file the lever is defined as follows:

__________________________
Lever (
Type ( TRAIN_BRAKE LEVER )
Position ( 430 359 62 64 )
Style ( SPRUNG )
MouseControl ( 1 )
NumFrames ( 3 3 1 )
NumPositions ( 3 1 2 0 )
NumValues ( 3 0 0.2 0.7 )
Orientation ( 1 )
DirIncrease ( 1 )
ScaleRange ( 0 1 )
)
___________________________


The brake section in the .eng- File looks as follows:

____________________________
BrakesEngineBrakeType ( "Air_single_pipe" )
BrakesTrainBrakeType ( "Air_single_pipe" )
BrakesEngineControllers ( "Independent, Train" )

comment(-------- Frein a air --------)
AirBrakesAirCompressorPowerRating ( 3 )
AirBrakesMainMinResAirPressure ( 0 )
AirBrakesMainMaxAirPressure ( 100 )
AirBrakesMainResVolume ( 40 )
AirBrakesAirCompressorWattage ( 12000 )
AirBrakesCompressorRestartPressure ( 85 )
AirBrakesAirUsedPerPoundsOfBrakePipePressure ( 0.2 )
AirBrakesHasLowPressureTest ( 1 )
AirBrakesIsCompressorElectricOrMechanical ( 1 )

comment(-------- Frein du train --------)
TrainBrakesControllerMaxApplicationRate ( 3 )
TrainBrakesControllerMaxReleaseRate ( 3 )
TrainBrakesControllerEmergencyApplicationRate ( 12 )
TrainBrakesControllerMinSystemPressure ( 0 )
TrainBrakesControllerMaxSystemPressure ( 72.5 )
TrainBrakesControllerEmergencyBrakeTimePenalty ( 0 )
TrainBrakesControllerFullServicePressureDrop ( 22 )
TrainBrakesControllerMinPressureReduction ( 0 )
TrainBrakesControllerMaxQuickReleaseRate ( 3 )

EngineBrakesControllerHasProportionalBrake( 1 )
EngineBrakesProportionalBrakeLag( 1 )
EngineBrakesControllerMinPressureReduction( 3 )
EngineBrakesControllerMaxApplicationRate( 20 )
EngineBrakesControllerMaxReleaseRate( 25 )
EngineBrakesControllerEmergencyApplicationRate( 50 )
EngineBrakesControllerMinSystemPressure( 0 )
EngineBrakesControllerMaxSystemPressure( 90 )
EngineBrakesControllerEmergencyBrakeTimePenalty( 30 )
EngineBrakesControllerFullServicePressureDrop( 26 )
EngineBrakesControllerDirectControlExponent( 1 )

BrakesEngineBrakeType( "Air_single_pipe" )
BrakesTrainBrakeType( "Air_single_pipe" )
BrakesEngineControllers( "Independent,Train" )

Brake_Train ( 0 1 0.0125 0.5
NumNotches ( 5
Notch ( 0.12 0 TrainBrakesControllerFullQuickReleaseStart )
Notch ( 0.25 0 TrainBrakesControllerReleaseStart )
Notch ( 0.50 0 TrainBrakesControllerHoldStart )
Notch ( 0.75 0 TrainBrakesControllerApplyStart )
Notch ( 1.00 0 TrainBrakesControllerEmergencyStart )
)
)

Brake_Engine ( 0 1 0.07 0
NumNotches ( 1
Notch( 0 1 Dummy )
)
)
_______________________________________________

The train brake works fine and also the animations are correct when the train is operated by keyboard. But it is not possible to operate it by mouse. Am I doing something wrong, or is mouse operation for the PBL2BrakeController not (yet?) supported?

3. As you can see from the attached picture, the locomotive is symmetrical, like most European diesel and electric locomotives. This means it has two almost identical cabs. When building a 3D cab in OR it is necessary to model both cabs in one .s- file which requires rather frustrating copying and rotating (especially for the animated parts) in blender. It would be a great help for creators of rolling stock if ORTS supported the possibility to model only the frontal cab and use a rotated version of the same .s- file for the reverse cab, like with the _rv-cabs with MSTS Bin. I remember a discussion about this theme in the Elvas forum, but I don't think the issue was solved.

Apart from these details, I am impressed with the possibilities ORTS offers compared to MSTS (especially the timetable mode) and want to thank all who contributed to it.

Kind regards,

Stefan

Attached thumbnail(s)

  • Attached Image: Open Rails 2019-02-14 05-38-05.JPG
  • Attached Image: Open Rails 2019-02-14 05-37-21.JPG


Page 1 of 1
  • 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