Static barriers
This Chapter deals with static barriers only. Barriers for moving trains have different rules and are described in another chapter.
The name of these objects is Barrnlll. Here n=1 to 4 fixes the number of rails, lll describes the length in m. So Barr2200 is a dual track barrier of 200m length. The following example shows Barr1200 called with parameters: %6 = 3, %7 = 20, %8 = 3, %9 = 2.
All static barriers 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 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 | Width of the street in 50 cm units. So 20 means a 10 m wide road. The roads in the FS scenery are typically very wide to make them visible from great altitudes. | |
%8 | Type of barrier: 1 = road only 2 = road and signs 3 = road, signs, and closed barrier 4 = road, signs, and open barrier |
|
%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 static barriers are supplied with this distribution:
Length/Width | Single | Dual | Triple | Quad |
50 m | Barr1050 | Barr2050 | Barr3050 | Barr4050 |
100 m* | Barr1100 | Barr2100 | Barr3100 | Barr4100 |
200 m | Barr1200 | Barr2200 | Barr3200 | Barr4200 |
* Can only be called via the user defined rails dialog.
Hints:
The height of the two end of the static barriers above reference point is 1 unit = 25 cm.