The package works with the actual OR NewYear MG, Testing and Unstable OR releases. 
Files to download
------------------

Before installing this package, you need to have downloaded and installed the following files :
1) FS_E464_082, from http://www.trainsimhobby.net/infusions/pro_download_panel/download.php?did=929
2) FS-E464-Pack, from http://www.amicitreni.org/download/comment.php?dlid=1904&ENGINEsessID=5700af26d853a69ad7c2143693718569
3) cabE464, from http://www.trainsimhobby.net/infusions/pro_download_panel/download.php?did=472
4) FS-E464-Pack3-DTR, from http://www.trainsimhobby.net/infusions/pro_download_panel/download.php?did=1780

Package content
---------------

The package includes a new sound for the E464, so there is no need to download sound.
The package does not overwrite existing files, and does not interfere with the use of the originals with MSTS (if I did things right)
The package must be installed in the TRAINS directory.
The package:
1) generates a common.cab\Cruscotto_SCMT directory, including all the .ace files needed to add the SCMT functionality with traditional train driver interface

2) generates a directory common.cab\Cruscotto_DMI, which inclueds all .ace files needed for implementation of SCMT and ETCS on the DMI interface

3) adds files to the common.cab\cabE464 directory. Files for cabin light operation (Cablight) have not been updated; thanks to Mauro Ciociola who allowed me to start from his cab model.

4) generates a directory common.cab\cabE464_DMI, including the .cvf file plus all .ace files needed outside the DMI interface to adapt the cab to the DMI interface

5) generates a common.snd\FS_E464_ORTS directory, including the new E464 sound (only works with Open Rails)

6) generates a common.script\IT directory, including the script itself (TCS_SCMT_IT.cs) for the traditional interface, the script for the new DMI interface (TCS_SCMTETCS_IT_DMI.cs), the configuration file TCS_SCMT_IT.ini
and a script for the Circuit breaker.
In file TCS_SCMT_IT.ini, when the AutodetectSignalFilesType parameter is set to true, the script automatically determines whether the signal file is from Serrini and Baldi or Privitera and Bono.
This usually works well. If there is a case in which the automation does not work, set AutodetectSignalFilesType to false and use the SignalFilesType parameter: this parameter must be set to 0 if you want to run a route that uses the signals of Serrini and Baldi, and to 1 if you want to run route that uses the Privitera and Bono signals. Using the wrong parameter leads to malfunctions.
Routes with older signal systems like Riviera Express or Catania-Messina don't work well.


7) generates an Openrails directory in FS_E464_082, in FS-E464-Pack and in FS-E464-Pack3-DTR. In this directory there are the modified .eng files respectively of the FS_E464_082.eng, of the FS-E464-135.eng, of the FS-E464-156.eng, of the FS-E464-390.eng, which are the E464 equipped for operation with the script and traditional interface, and the modified .eng files for FS-E464-540.eng and FS-E464-690.eng featuring the DMI interface. In this directory there is also the SCMT_ita.inc file, or the DMIETCS_ita.inc file, which include links to files related to operation with scripts.

8) the package includes also, again in common.script\IT, files TCS_SCMTETCS_IT_ETR400.cs and TCS_SCMTETCS_IT_ETR400.ini for the script of the ETR400 HST (Frecciarossa 1000) by bullo84; the train may be downloaded from here http://www.trainsimhobby.net/infusions/pro_download_panel/download.php?did=1980 ; the train is already equipped with the 2 script files, which are present also here to eventually provide updated versions. 

9) these 6 E464 include in their .eng file within the subfolder Openrails also all the additions needed for Cruise Control operation. 


How to drive with traditional interface
---------------------------------------

It is not intended here to describe the rules the driver must follow to interact with SCMT and RSC.
At the beginning of the game, if the SCMT screen is dark, you need to raise the pantograph, insert the Circuit breaker with the O key or by pressing the appropriate button with the mouse until the circuit breaker open icon disappears. At that point you have to press Ctrl,(comma) and after 3 seconds the self-test starts. At the end of the self-test the writing appears
INSERIRE DATI O MANOVRA.
By clicking on the MAN button, the locomotive goes into shunting mode. If you want to go in train mode, click on the Dati button, then on the OK button and at this point the SCMT goes into predisposition mode.
To silence the alerter at train start, press the Z button. For all other button commands use the mouse.
The script also works in autopilot. In this case the autopilot simulates the interaction with SCMT and RSC, which is a way to learn how to interact.
You can also check these two videos
https://www.youtube.com/watch?v=cSvOgVYK_30
https://www.youtube.com/watch?v=sa1ObrywIQs
to see how to interact.
The active buttons are PRE, RIC, RF, SCMT (only in display), MAN, RSC, SR, Data and OK. Data entry does not work.
The white button at the top right, unused in reality, is a debug button: by pressing it the current speed and the max allowed speed (including braking curve effect) are displayed.
To switch off the SCMT display you have to press again Ctrl,(comma)  .

How to drive with DMI interface
-------------------------------

It is not intended here to describe the rules the driver must follow to interact with SCMT, RSC and ETCS (in fact the DMI interface implements both the Italian SCMT and RSC train control systems, as well as ETCS, the European TCS).
At the beginning of the game, if the SCMT screen is dark, you need to raise the pantograph, insert the Circuit breaker with the O key or by pressing the appropriate button with the mouse until the circuit breaker open icon disappears. At that point you have to press Ctrl,(comma) and after 3 seconds the self-test starts.

At the end of the self-test, the speedometer appears together with various buttons. Click on the Start button at the top right, and then confirm by pressing the big button with a flashing yellow frame. At this point the SCMT goes into setup mode.

If, on the other hand, you click on the MAN button, you go into shunting state.
To reset the alerter immediately after departure, press the Z key. For all other button commands, use the mouse.
The script also works in autopilot. In this case the autopilot simulates the interaction with SCMT and RSC.
Pre-acknowledge and acknowledge are carried out by clicking on the icon of the code involved.
The active buttons are SCMT (only as display), MAN, RSC.
The RF (brake reset after emergency) is done by clicking inside the big button with a flashing yellow frame.
The SR request (request to pass a red signal) is made by clicking on the word Suppr, and then in the gray rectangle with the word YES.
Train data entry does not work.

To switch off the SCMT display you have to press again Ctrl,(comma) 

How to use Cruise Control
-------------------------

It is suggested to read following document http://www.interazioni-educative.it/CruiseControl/cruisecontrol.html, and in particular paragraphs 10.6, 10.7 and 10.8 and the large figure with the cabin. As in reality, lever 1 on the left is a combined control Throttle-Dynamic Brake (LCM - Manual Force Lever); lever 2 is the LCA - Automatic Force Lever, which allows you to set the maximum force allowed for the Cruise Control, both in acceleration and in electric braking; lever 3 is the LV - Speed Lever, which allows you to set the Vmax that the locomotive can reach, and field 4 on the display shows the set Vmax.
The LV has four positions: A neutral central position; an upward "+" position, with automatic return, which increases Vmax; a "-" position, downwards, with automatic return, which decreases Vmax; a 0 position at the lowest place, with automatic return, which brings Vmax to 0.
The locomotive can be driven in a traditional way, manually, using the LCM, or automatically, with Cruise Control, using the LCA and LV levers. To switch from manual to automatic mode and vice versa, the LCM must be in the central position and the LCA at zero.
The commands can be entered either by mouse or by keyboard. The most important Cruise Control keyboard commands are:
Ctrl + Shift + D Increases the maximum force allowed for the CC
Ctrl + Shift + A Decreases the maximum force allowed for the CC
Shift + D Increases the Vmax for the CC
Shift + A Decreases the Vmax for the CC

In order to correctly manage the train brake, remember that after a braking the LCA lever must be in the zero position before being able to generate tractive force again.

Note that below 30 km / h the electric (dynamic) brake is not activated. This means that accelerating from 0 to 30 km / h you can use the CC, while braking from 30 km/h to 0 km/h it is necessary to use the train brake. 

Credits
-------
The SCMT icons are derived from the excellent site https://www.segnalifs.it/sfi/it/sa/N_scmt.htm by Antonio Martino, who kindly makes them available, see https://www.segnalifs.it/
The modified files for the cab are derived from the original ones by Mauro Ciociola (Màyo), who kindly allowed me to modify them
The script is based on the valid developments of Peter Gulyas and Cédric Gdniewek.
Without the onsultancy of Paolo the development of the DMI interface wouldn't have been possible; he also provided significant info for the development of the traditional interface. 
Also  Lithioacido, Piova and the experts of the ferrovie.it forum provided much info.

Re-use
------
Modifying the pack is allowed only for personal use without my written authorization.
Inclusions of the original or modified pack in other publicly available trainsets, be they freeware or payware, are allowed only with my written authorization.
Exception is made for files TCS_SCMT_IT.cs and TCS_SCMTETCS_IT_DMI, which may be used in conformity with the GNU license.
Commercial use is forbidden without my written authorization.


by Carlo Santucci - carlosanit1@gmail.com

