Curved rails

This Chapter deals with static curved rails only. Curved rails for moving trains have different rules and are described in another chapter.

The name of these objects is CunddRrr.l. Here n=1 to 4 fixes the number of rails, dd describes the bending angle in degrees, rr the radius in steps of 100 m. So Cu230r05 is a dual track curve, radius 500 m, bending 30 degrees. The following example shows Cu215R05 called with parameters: %6 = 3, %7 = 4, %8 = 4, %9 = 100.

All static curved rails are called with the same parameters:

Parameter | Value | Meaning
%1 |  | Geographical width
%2 |  | Geographical Length
%3 | 0 | Rail is place 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 wires, 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 |  | Height of the northern end in 25 cm units above Surface, if %3=0 %3, if this is >< 0 For all curves viewed from the northern end the curve bends right.
%8 |  | Height of the southern end in 25 cm units above Surface, if %3=0 %3, if this is >< 0 For all curves viewed from the southern end the curve bends left.
%9 | 0-105 | Embankment color 0: No embankment 1-FF: FS color 100-104: Texture 105: Seasonal texture Note: For curved bridges or curved trestles, this parameter has the usage like for the big bridges resp. the trestles
%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 combinations are supplied with this distribution:

Single, dual, triple and quad rails:

Radii: 50, 100, 200, 300, 500, 750, 1000, 1250, 1500, 2000, 2500, 3000, 4000m.

Angle: 10, 15, 20, 30, 40, 45, 60 degrees.

Two special variants with a curveture of 15 degrees exist:

Curved bridges: CunBrRrr.api

Curved viaducts: CunTrRrr.api

These macros are used exactly like the 15 degree curves, only difference is that %9 is used like for the big bridges resp. the trestles.

Hints:

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