Static details

Static roads and static highways are documented elsewhere

This Chapter deals with some static macros for special purposes.

Look for

Bumps and

Barriers in special documentation.

Overhead wire ends

These short 10m rails have the special purpose of attaching an electrified railway to a non electrified one with proper termination of the wires. They are needed if the last macro that contains wires has no pylon at the end to terminate overhanging wires. This example is called with %6=2, %7=7, %8=8, %9=104.

The ends are called with the same parameters as normal rails.

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 |  | Height of the northern end in 25 cm units above Surface, if %3=0 %3, if this is >< 0
%8 |  | Height of the southern end in 25 cm units above Surface, if %3=0 %3, if this is >< 0
%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 wire ends are supplied with this distribution:

Length/Width | Single | Dual | Triple | Quad
10m | End1010 | End2010 | End3010 | End4010

The end macros can only be called as user defined rails or via the other rail dialog.

Hints:

Do not use 0 or -1 as %7 or %8 if drawing an embankment.

FS95/FS98 road and highway tunnels.

These macros unfortunately cannot now be used with FS2000 with moving roads or highways.

A 50m rail crosses a 50m road. Under very flat angles there are slight bleed-through problems. The macros differ by the number of rails and the type of road.

| Road (7m width ) | Highway (16m width )
Single rail | RoTu1050.api | HwTu1050.api
Double rail | RoTu2050.api | HwTu2050.api
Triple rail | RoTu3050.api | HwTu3050.api
Quad rail | RoTu4050.api | HwTu4050.api

These macros can only be called as user defined rails or via the other rail dialog and do not work with FS2000.

The following parameters are used:

Airport Name | SCASM | Meaning
Scale | %4 | Scale, should always be 0.25 (for German systems 0,25)
Heading | %5 | Deviation of the rail from the south/north axis in degrees Thus 90 means west/east
Parameter 0 | %6 | Electrical Power lines 0 = No power 1 = Wires only 2 = Simple pylons and wires 3 = Textured pylons and wires 4 = Textured pylons and wires and lamps on the pylons
Parameter 1 | %7 | Color scheme of the surrounding area that covers the ditch from the side. Hexadecimal number 0-FF = FS color.
Parameter 2 | %8 | Height of the rail above ground in 0.25 meters. A value below 1 can lead to visibility problems and is not recommended. It also makes the rail too flat to convince statically.
Parameter 3 | %9 | Color scheme of the embankment of the rail Hexadecimal number 0 = no embankment drawn 1-FF = FS color. 100 Textured embankment with grass.r8 101 Textured embankment with broads.r8 102 Textured embankment with bushmnt.r8 intended for users of MOUNTAIN by Hans Meier 103 Textured embankment with desert.r8 104 Textured embankment with arid.r8 Please contact me if you want to propose additional textures
Visibility | %10 | Visibility range.

Small town macro

These macros are an addition to the rail macro to allow easy placement of small cities. While the moving stations only allow placement of the city before the station these can be freely placed.

Ground shape is a quadrangle which can carry houses. Choosing %8=1 enables roads between these quadrangles. %9=1-4 fixes the size between 1x1 , 3x3, 5x5, and 7x7 quadrangles. FSRail shows these quadrangles as blue rectangles.

The supplied macros are village1 with a church in the middle and village2 with a house in the middle. FSRail can use 8 more macros village3 to village0 that you can create to obtain a city typical for your region. The advantage of these macros compared to single houses is that the same code can be used often and save scenery buffer and frame rate due to effective caching.

Buildings

These macros are another addition to the railway and can be used as user defined rails. FSRail displays them as grey yellow filled rectangles if the coordinates are defined in the geometry database. FSRail can use 100 different buildings Build001 to Build012.

Supplied are 3 station buildings Build001, Build011, and Build012. You see here the entry for Build001 in the data base:

Build001 9 2 28 -28 0 0 400 -400 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1612 1612 1612 1612 1612

This reads as follows: This is a special macro in the directory Details (9), with logitudinal dimensions -28 to +28 units = -7 to +7m, lateral -400 to 400 units, So the size of the platform is 14x200m.

If you create a building for yourself you can make the entry to the data base yourself. If you use Win98's Wordpad change the font to Courier so that the columns remain exact to aid checking. You can even change the name. All macros with line numbers between 1612 and 1711 are drawn as buildings in FSRail.

Is is a good idea to write the calling definitions into the header of a macro. Here you see the meaning of the relevant parameters for

Build012 | %6 = 0 - 5 different colors |  |
| %7 = Level of detail | >=1 Platform roof |
|  | >=2 Place before Building |
| %8 = Building size | =1 central only |
|  | = 2 one side |
|  | = 3 both sides |
| %9 = passengers on plattform |  |

Build001 | %6 = 0 - 5 different colors |  |
and | %7 = Level of detail | >=1 Platform roof |
Build011 |  | >=2 Place before Building |
| %8 = Building size | =1 station only |
|  | = 2 additional cargo hall |
| %9 = passengers on plattform |  |

Build002 has no user parameters, you can find out yourself where to place it.