aboutsummaryrefslogtreecommitdiff
path: root/advtrains/atc_command.txt
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2017-01-18 19:04:02 +0100
committerorwell96 <mono96.mml@gmail.com>2017-01-18 19:04:02 +0100
commitf7dbd932ca4b425699bfaf54bf6d944b06088ab7 (patch)
tree0694f45c9ca813988963d5b1098d6b3f0eb2636f /advtrains/atc_command.txt
parentf52b67a37c766529e637550b94296c92b954b496 (diff)
downloadadvtrains-f7dbd932ca4b425699bfaf54bf6d944b06088ab7.tar.gz
advtrains-f7dbd932ca4b425699bfaf54bf6d944b06088ab7.tar.bz2
advtrains-f7dbd932ca4b425699bfaf54bf6d944b06088ab7.zip
Update manual
Diffstat (limited to 'advtrains/atc_command.txt')
-rw-r--r--advtrains/atc_command.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/advtrains/atc_command.txt b/advtrains/atc_command.txt
index fa846e3..3df60c8 100644
--- a/advtrains/atc_command.txt
+++ b/advtrains/atc_command.txt
@@ -33,6 +33,19 @@ Examples:
B0 W R D10 SM
Subway train stopping in dead end station and returning in opposite direction
+OL
+Open left doors
+OR
+Open right doors
+OC
+Close Doors
+All door commands are relative to the arrow direction, so if a train drives to opposite arrow direction, L will open its right doors from driver perspective.
+Execution continues immediately, there is no way to wait for all doors to be opened/closed.
+
+Example:
+B0 W OL D10 OC D1 SM
+Subway train: stop in station and open doors, depart after 10 seconds.
+
# conditional statements:
I<condition><code>;
@@ -56,8 +69,10 @@ If the train is slower than 8, accelerate to 8.
# ATC controller operation modes
static: Only give 1 static command.
+
mesecon: Give 2 different commands depending on if the controller is mesecon-powered or not
digiline: Don't give any commands by itself. When a train passes, a digiline message in the form of "[+/-][speed]" is sent on the set channel (where +/- means the same as with conditions). Any digiline message sent to the controller will be interpreted as ATC command and sent to the train.
+** the latter two are not yet implemented.
# Persistence
ATC controllers that are configured as 'static' or 'mesecon' are persistent over mapblock unloads and will even command the train when the mapblock is unloaded. This is not possible with digilines since these do not work in unloaded mapchunks.