aboutsummaryrefslogtreecommitdiff
path: root/assets/oldmodels
diff options
context:
space:
mode:
authorMaverick2797 <git.maverick2797@gmail.com>2021-02-07 19:49:24 +0800
committerorwell96 <orwell@bleipb.de>2021-02-17 18:16:09 +0100
commit27a14749637fc2e9606fa33f8dd70d55bce4b97f (patch)
tree6963da0ad2070fe3c3ea1065e602ecfad0fc65d0 /assets/oldmodels
parent0bffd6ca647e3a332e66555e1a5d9866442cf6ef (diff)
downloadadvtrains-27a14749637fc2e9606fa33f8dd70d55bce4b97f.tar.gz
advtrains-27a14749637fc2e9606fa33f8dd70d55bce4b97f.tar.bz2
advtrains-27a14749637fc2e9606fa33f8dd70d55bce4b97f.zip
Updated atlac readme to consistently use Markdown formatting
Diffstat (limited to 'assets/oldmodels')
0 files changed, 0 insertions, 0 deletions
d. 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>; Execute code only if condition applies I<condition><code1>E<code2>; Execute code1 only if condition applies, else execute code2 Conditions: + / - Tests the train's movement direction against the arrow on the ATC rail: M+ is true when train drives in direction of arrow. [</>/<=/>=][speed] Test if train's speed is greater or smaller than the given value Examples: I- B0 W R ; S8 If the train drives in the 'wrong' direction, stop and reverse; independently accelerate to speed 8 afterwards. I<8 S8 ; 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. # LUA ATC controller (in development) The LUA ATC Controller will operate by using LUA code. All operations shown above will have a function equivalent. Additionally all LUA ATC controllers share an environment and setting signal and switch status will be possible to allow for complicated railway systems/fully automated subways a.s.o. Also planned: - digicompute add-on to allow computer access to the ATC environment (railway maps... ... ... ... ...)