Straight rails carrying static trains

This Chapter deals with static straight rails that can carry static trains only.

The name of these objects is Trainnl. Here n=1 to 4 fixes the number of rails, l describes the length in 100m. So Train22 is a dual track straight rail of 100m length. The picture below shows Train22 called with parameters: %6 = 0, %7 = 117, %8 = 6, %9 = 104.

For quad width the Train4l macro carries the train on the inner rails and the Train4lo macro on the outer rails. As with all macros that can carry trains a positive train# means the train drives on the right lane, a negative train# means the left lane.

For FS98 use these rails are always horizontal. The height above ground can be chosen by parameter %8 in 25 cm units.

Tilted versions exist with a slope of 1% for FS2000 3D scenery design only . The 200m rails climb by 2m and the 500m rails by 5m. The sets with the head of the train towards the higher end (climbing) have the names Traicnl and the sets with the head of the train towards the lower end (descending) have the names Traidnl. For these tilted train macros the height above reference point is always 1 and %8 is ignored. You can always set the correct height using %3 in this case.

All static train rails are called with the same parameters:

Parameter | Value | Meaning
%1 |  | Geographical width
%2 |  | Geographical Length
%3 | 0 | Rail is placed on the surface of the FS terrain.
| Unequal 0 | Absolute Altitude of the rail above sea level in m
%4 | 0.250 | Scale. Should always be 0.250.
%5 | Orientation | Orientation of the rail on the terrain (0 = south-north direction)
%6 | 0-7 | Wires, Pylons and lamps: 0 no wires, no night illumination 1 wire, no night illumination 2 wires, simple pylons, no night illumination 3 wires, massive pylons, no night illumination 4 wires, massive pylons, lamps, night illumination for FS2000 5 wires, no pylons, no lamps, night illumination for FS2000 6 no wires, no pylons, no lamps, night illumination for FS2000 7 no wires, pylons with lamps, night illumination for FS2000
%7 |  | Train #. As with all macros that can carry trains a positive train# means the train drives on the right lane, a negative train# means the left lane.
%8 |  | Height of the rail in 25 cm units above Surface, if %3=0 %3, if this is >< 0 Note that this parameter is ignored for the Traic.. and Traid.. versions.
%9 | 0-105 | Embankment color 0: No embankment 1-FF: FS color 100-104: Texture 105: Seasonal texture
%10 |  | Range in m Rail is visible if within range. Typical value is 7000. The last digit is used to encode the rail texture.

The following straight train rails are supplied with this distribution:

Length/Width | Single | Dual | Triple | Quad
200 | Train12 | Train22 | Train32 | Train42/Train42o
500 | Train15 | Train25 | Train35 | Train42/Train45o
200 climbing | Traic12 | Traic22 | Traic32 | Traic42/Traic42o
500 climbing | Traic15 | Traic25 | Traic35 | Traic42/Traic45o
200 descending | Traid12 | Traid22 | Traid32 | Traid42/Traid42o
500 descending | Traid15 | Traid25 | Traid35 | Traid42/Traid45o

Hints:

In FSRail you can select the climbing or descending versions by checking the radio button first and pressing the button for the base macro next.

I recommend not using the value 0 for %8 to avoid a multitude of potential problems.