JTraffic Screensaver

[E: ]

[E: <#><PictureName>, <TargetX>, <TargetY>, <FrameWidth>, <FrameHeight>, <SourceX>, <SourceY>, <%Time%>, <NumberOfFrames>, <StepX>, <StepY> ]

[E: <#><PictureName>, <TargetX>, <TargetY> ]

[ET: <#><PictureName>, <TargetX>, <TargetY>, <FrameWidth>, <FrameHeight>, <SourceX>, <SourceY>, <%Time%>, <NumberOfFrames>, <StepX>, <StepY> ]

[ET: <#><PictureName>, <TargetX>, <TargetY> ]

[EO: <#><PictureName>, <TargetX>, <TargetY>, <FrameWidth>, <FrameHeight>, <SourceX>, <SourceY>, <%Time%>, <NumberOfFrames>, <StepX>, <StepY> ]

[EO: <#><PictureName>, <TargetX>, <TargetY> ]

Depiction of the operation of an electric locomotive's pantograph(s)

If the pantograph is defined as an animation, these commands are identical to the [A: PAN, ] command.

When the second form of the [E: ] command is used and the picture referred to in <PictureName> does not have a macro definition [PAN : <FrameWidth>, <FrameHeigth>, ... , <StepY> ], the pantograph is displayed in <PictureName> in raised position, and on the original picture in lowered position.  That means that the pantograph jumps suddenly to the overhead contact wire whenever the animation is called.  In essence, the motion is created in that the screensaver builds an animation that is composed of only the two states: the lowered state is copied from the original picture and the raised state is taken from <PictureName>.  The dimensions of the animated portion are taken from the height and width of <PictureName>.

If you place a # ("pound sign" or octothorp) in front of <PictureName>, the picture, as well as all of the individual phases, is displayed mirrored.  Because almost all electric locomotives have similar pantographs on either end, using the # sign can often save the work of drawing a second pantograph.

The [E: ] modifier replaces the square area of the original picture by the pantograph's phase pictures. The [ET: ] modifier draws them "before" the original picture - you will see the original picture through the transparent pixels of the animation's phase pictures. The [EO: ] modifier uses different mode overlay pictures. In the different mode pictures there are two kinds of transparent pixels: one of them lets the existing pixel remain there, and the other makes the resulting picture transparent - removes the existing pixel from the picture.

The [ET: ] modifier is suitable for drawings created for Traffic - one can draw a vehicle roof without pantographs, but with the other accessories going into the square of the pantographs, and separately draw the phases of the lowering pantograph. The phase pictures can be used with several drawings of the vehicle family with different roof accesories, but with the same pantograph type.

The [EO: ] modifier is suitable for vehicles drawn for the other programs, when the two states are drawn as different full pictures - converting the "active" state of the pantograph to a different mode picture. The [EO: ] modifier is especially usefull for vehicles using a third rail as catenary.

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