JTraffic Screensaver

Movements

Lines of code, which do not begin with $ and are not comment lines are Movement commands which apply to the trains.  The basic syntax of these elements is:\

M = <Movement> ; <ParamName> = <Value> ...

The type of Movement determines which parameters can be set.  The Movements have more than one name but the resulting behaviour is identical.  

The default Movement is M = SIMPLE;.  If no M= parameter is input, this will be the Movement the train has: a simple runby.  

Trains are input beginning with the parameter C= and ending with a semicolon ( ;).  The statement C=<Train> must, therefore, always exist or the train will not run.  With no other modifying commands, the default values are selected unless the vehicle has behavioural values in its Stock List entry ( [#A: ], [#B: ], [#V: ], [#W: ], default roadbed, etc.).

In the descriptions of the Movements, the general parameters, which always have the same results no matter where they are used, are not explained again.  These parameters are described in detail in the corresponding section about syntax elements.  Some special considerations are mentioned when applicable to certain Movements, but the parameters are not described anew each time.  

As mentioned before, a train is defined as one or more vehicles - a sequence of vehicle pictures.  A train can also be composed of a single vehicle and, as strange as it may seem, for the purposes of this documentation, a train can also be a picture of an airplane, an automobile, a ship, a bird…  The definition of a "train" for our purposes is relative to the Movement; not what picture actually is shown on the screen.  

The following Movements are currently defined:

M=NONE;    M=M0;

M=SIMPLE;  M=M1;

M=FOLLOW;  M=M2;  M=THROUGH;

M=STOP;    M=M3;

M=BACK;    M=M4;

M=CUT;     M=M5;

M=CUT2;    M=M14;

M=CHANGE;  M=M6;

M=OPEN;    M=M7;

M=UNIT;    M=M8;

M=PUT;     M=M9;

M=GET;     M=M10;

M=ECHG;    M=M11;  M=ECHANGE; M=SYSTEM_CHANGE;

M=HEAD;    M=M12;  M=XBACK; M=TERMINUS_ARRIVE;

M=PUSH;    M=M13;  M=TERMINUS_DEPART;

M=TURN;    M=M15;

M=RCUT;    M=M16;

M=PASS;    M=M17;

M=MEET;    M=M18;

Overview
The Configuration Window
Program Window
Stock List
Description Editor
Graphic Testpad
Timetable Editor
Timetable Syntax and Semanics
The timetable header
Sections, Groups, Lines, Scenes
Actions
Stock List File