Trestles

 

This is a start of a bigger series that was born from the requests of users. Such constructs are called trestles in Alaska, and we will summerize under this name every macro with a vertical support construction. These macros are only supported for FS2000.

These macros are called exactly like normal moving rails. The only difference is the use of parameter %9:

This now is a 5 digit number of form bnnss.

b selects the texture for the support construction, the first value support now is 0 for the wooden bridge above.

nn is the distance of the northern end from the surface in FSRail units of 25 cm,

ss is the distance of the southern end from the surface in FSRail units of 25 cm.

So the texture can be placed down exactly on the terrain.

The example above is called with %9=2040, the northen end reaches down 5m, the southern 10 m. You can see that big differences can cause disturbances.

To use trestles in FSRail 1.15:

Method 1: Select user defined rail and enter the name of the trestle. Pay attention to the case as in the list below.

Method 2: Lay the corresponding M1Ra.... macro. Then change to the name M1tr and change parameter %9.

The following trestles are currently available:

M1tr1100 M1tr2100 100m length 60 km per hour
M1tr1125 M1tr2125 125m length 75 km per hour
M1tr1150 M1tr2150 150m length 90 km per hour
M1tr1200 M1tr2200 200m length 120 km per hour
M1tr1250 M1tr2250 250m lenght 150 km per hour
M2tr1200 M2tr2200 200m length 60 km per hour
M2tr1250 M2tr2250 250m length 75 km per hour

The 200m trestles exist in four tilted versions:

Single lane Dual lane Height difference
M1tr12c0 M1tr22c0 2m climb = 1%
M1tr12x0 M1tr22x0 4m climb = 2%
M1tr12y0 M1tr22y0 6m climb = 3%
M1tr12z0 M1tr22z0 8m climb = 4%

Two more versions can be selected using parameter b of %9:

1: Viaduct with a marble-like color (from a picture and bitmap provided by Dr. Michael Schurz). This example is 12m high over a flat ground, so %9=14848.

2: Viaduct with a granite-like color (from a bitmap provided by Bob Langendorfer) with %9=24848.

The arches of these viaducts are 25m wide. If you edit technic.inc and change the variable $viawid to 2, they are 12.5m wide as seen in the following example.

As a final example you see a tilted macro, M1tr22x0, 200m long, climbing 4m towards the northern end. $viawid was chosen as 2, and, to reach ground at both ends with the middle at 12m height, %9=15640.

To close the ends of rails with normal embankments attached to trestles, set $bankend to 1. Set it to 0 if you do not mind smaller open triangles. This will save drawing some polygons and improve speed.