I'm showing here the progress since
http://www.elvastowe...post__p__281011 , again using some screenshots.
In the initial situation the player train has no EOT. In fact, no EOT info is shown in the F5 window, and the EOT ID is zero in the cab display. Of course the rear value of the brake pipe pressure is not shown in the cab display.
In fact, looking at the rear of the train with camera 3, no EOT is seen. Pressing Ctrl+F9, the EOT list is shown. For every EOT the filename and the folder name are shown. The Category (one way, two way, simple flag or light) is not yet managed. To avoid changing how EOTs are implemented now, EOTs are managed as .wag files, residing in directories that in turn reside in a ORTS_EOT directory within TRAINS.
By mouse clicking on the desired EOT in the EOT list, the clicked item gets coloured in red and the EOT is attached at the end of the train. In the F5 window a line about the EOT, in Disarmed state, appears.
The EOT (supposing it is a two-way EOT, like in this case) must be correctly connected to the train brake pipe, by connecting the pipe hose and by opening the rear angle cock of the preceding wagon. This must be done using the Car Operations Window. At the end, the EOT gets the train brake pipe pressure.
Entering the cab, the EOT ID appears, but the Rear brake pipe pressure is still not present.
Now, using the procedure described here
http://www.elvastowe...post__p__281011 , the EOT can be armed two way and the Rear brake pipe pressure is shown on the cab display. Marker is shown in the ON state, and EM is enabled. The train can be started, if needed using the DPU feature.
After few time, all loco consists are moved to front while the train is accelerating
Later on the run, we must make a cut on the train. The train is stopped and the EOT is disarmed by soft key command. The rear brake pipe pressure indication disappears
With camera 3, the EOT is physically still there
Now we first close the rear angle cock of the preceding wagon, disconnect the EOT from the train brake hose (done with the Car Operations Window), and then we click on the red item in the EOT List window: the EOT is physically removed, The item in the list becomes white, and the EOT indication disappears from the F5 window.
Now we cut the train, not before having arranged brake hoses and angle cocks.
We can now attach an EOT at the new end of the train, using the same procedure.
Entering the cab, the new EOT ID is shown.
And so on...
I am also considering providing EOTs to AI trains, by adding an item with a specific syntax at the end of the .con file. It might e.g. have an ORTS_EOT identification, instead of the Wagon or Engine one.
What I have shown here is not ready for publication. There are remaining problems with brakes, that I must investigate.
Moreover the code architecture is very rough and must be substantially cleaned up.
Blueprint
https://blueprints.l...et/or/+spec/eot .