Traductions possibles :
  • English
  • Français (French)

Ceci est une ancienne révision du document !


Stations

The stations'graphical complexity is variable. There are two pictures station, eight pictures station or sixteen pictures station and four pictures stations made for way extremities (like planes tarmacs). Plus stations'graphics depend of the way type which the station is made for. These are some basic graphics for some waytypes which you can draw on.

Graphics

Parameter Dims

LThe parameter “dims” which is in the .dat defines the number of pictures the station has. It's of the pattern dims=x,y,z

x et y defines the size of the station, they're always equal to 1 because a station can't be more of one tile big. z defines the number of pictures of the station, it can be 2, 4, 8 or 16.

dims directions possible sides for the platform possible configurations of one station backimage and frontimage total number of pictures
1,1,2 2 (North-South et East-West) *1 ( on each side) *1 (simple station) *2 4
1,1,4 4 (North, South, East, West extremities) *1 ( on each side) *1 (extremity) *2 8
1,1,8 2 (North-South et East-West) *1 ( on each side) *4 (single station, extremity1, extremity2, central part) *2 16
1,1,16 2 (North-South et East-West) *2 (behind and before the way) *4 (single station, extremity1, extremity2, central part) *2 (frequently *1) 32 (frequently 16)

1,1,4 :1,1,8 :1,1,16 :This is the graphican part of the .dat file

icon= > image.x.y
cursor=image.x.y

backimage[0][0][0][0][0]=image.x.y
backimage[1][0][0][0][0]=image.x.y
backimage[2][0][0][0][0]=image.x.y
backimage[3][0][0][0][0]=image.x.y
backimage[4][0][0][0][0]=image.x.y
backimage[5][0][0][0][0]=image.x.y
backimage[6][0][0][0][0]=image.x.y
backimage[7][0][0][0][0]=image.x.y
backimage[8][0][0][0][0]=image.x.y
backimage[9][0][0][0][0]=image.x.y
backimage[10][0][0][0][0]=image.x.y
backimage[11][0][0][0][0]=image.x.y
backimage[12][0][0][0][0]=image.x.y
backimage[13][0][0][0][0]=image.x.y
backimage[14][0][0][0][0]=image.x.y
backimage[15][0][0][0][0]=image.x.y

frontimage[0][0][0][0][0]=image.x.y
frontimage[1][0][0][0][0]=image.x.y
frontimage[2][0][0][0][0]=image.x.y
frontimage[3][0][0][0][0]=image.x.y
frontimage[4][0][0][0][0]=image.x.y
frontimage[5][0][0][0][0]=image.x.y
frontimage[6][0][0][0][0]=image.x.y
frontimage[7][0][0][0][0]=image.x.y
frontimage[8][0][0][0][0]=image.x.y
frontimage[9][0][0][0][0]=image.x.y
frontimage[10][0][0][0][0]=image.x.y
frontimage[11][0][0][0][0]=image.x.y
frontimage[12][0][0][0][0]=image.x.y
frontimage[13][0][0][0][0]=image.x.y
frontimage[14][0][0][0][0]=image.x.y
frontimage[15][0][0][0][0]=image.x.y

Backimages are displayed behind vehicles and frontimages are displayed before vehicles. The both will be displayed above the way. Here they are the necessary pictures for a 16 pictures station, you have to make pictures until image[1] if dims=1,1,2, image[3] if dims=1,1,4, image[7] if dims=1,1,8 and image[15] if dims=1,1,16. This is what stand for pictures for 1,1,2; 1,1,8 et 1,1,16


Particular case : 8 and 16

In the cases of the two last stations seen as examples before, these two stations use only sixteen pictures with the icon and the cursor for each one. The 16 pictures'station has a platform on each side, it uses backimages when the platform is behind the way and frontimages when the platform is before the way, the both simultaneously are rarely needed. But when two platforms are used together, one behind and one before the way, there's a 8 picture's station. The 8 pictures'station uses simultaneously backimage and frontimage of the 16 pictures'station. (see the downloadable sources at the bottom of this page to understand).

Patterns

Here are the patterns for the most difficult stations to draw : track/monorail/maglev and road/tram. River ports are easy to draw and airports'tarmacs aren't complex since the size of planes is very variable, ports fill a complete tile so they're not complex too.

Track/monorail/maglev

This is a recent picture I made with home-made platforms and existing stations according to the era (there are modern, old and mix).

The same empty :

Here are the .dat files'patterns :

Dims=1,1,8

icon= > image.0.8
cursor=image.1.8

backimage[0][0][0][0][0]=image.0.0
backimage[1][0][0][0][0]=image.0.1
backimage[2][0][0][0][0]=image.0.2
backimage[3][0][0][0][0]=image.0.3
backimage[4][0][0][0][0]=image.0.4
backimage[5][0][0][0][0]=image.0.5
backimage[6][0][0][0][0]=image.0.6
backimage[7][0][0][0][0]=image.0.7

frontimage[0][0][0][0][0]=image.1.0
frontimage[1][0][0][0][0]=image.1.1
frontimage[2][0][0][0][0]=image.1.2
frontimage[3][0][0][0][0]=image.1.3
frontimage[4][0][0][0][0]=image.1.4
frontimage[5][0][0][0][0]=image.1.5
frontimage[6][0][0][0][0]=image.1.6
frontimage[7][0][0][0][0]=image.1.7
Dims=1,1,16

icon= > image.0.8
cursor=image.1.8

backimage[0][0][0][0][0]=image.0.0
backimage[1][0][0][0][0]=image.0.1
backimage[2][0][0][0][0]=image.0.2
backimage[3][0][0][0][0]=image.0.3
backimage[4][0][0][0][0]=image.0.4
backimage[5][0][0][0][0]=image.0.5
backimage[6][0][0][0][0]=image.0.6
backimage[7][0][0][0][0]=image.0.7

frontimage[8][0][0][0][0]=image.1.0
frontimage[9][0][0][0][0]=image.1.1
frontimage[10][0][0][0][0]=image.1.2
frontimage[11][0][0][0][0]=image.1.3
frontimage[12][0][0][0][0]=image.1.4
frontimage[13][0][0][0][0]=image.1.5
frontimage[14][0][0][0][0]=image.1.6
frontimage[15][0][0][0][0]=image.1.7

Road/tram

This is the .dat file's pattern :

Dims=1,1,8

icon= > image.0.8
cursor=image.1.8

backimage[0][0][0][0][0]=image.0.0
backimage[1][0][0][0][0]=image.0.1
backimage[2][0][0][0][0]=image.0.2
backimage[3][0][0][0][0]=image.0.3
backimage[4][0][0][0][0]=image.0.4
backimage[5][0][0][0][0]=image.0.5
backimage[6][0][0][0][0]=image.0.6
backimage[7][0][0][0][0]=image.0.7

frontimage[0][0][0][0][0]=image.1.0
frontimage[1][0][0][0][0]=image.1.1
frontimage[2][0][0][0][0]=image.1.2
frontimage[3][0][0][0][0]=image.1.3
frontimage[4][0][0][0][0]=image.1.4
frontimage[5][0][0][0][0]=image.1.5
frontimage[6][0][0][0][0]=image.1.6
frontimage[7][0][0][0][0]=image.1.7

Essential parameters

Parameter Description Content Example
obj object type building
type building type stop
waytype way type internal_name track
name name text SNFOS_trainstation_simple
intro_year introduction year number 1990
intro_month introduction month number 1
retire_year retire year number 2080
retire_month retire month number 1
copyright name of the creator text Gauthier
NoInfo don't display a window when click on the object boolean 1
noconstruction don't display the construction picture boolean 0
enables_pax station can accept passengers boolean 0
enables_post station can accept mails boolean 0
enables_ware station can accept goods boolean 1
level number of passengers/mails/goods that the station can stock (*32 units) number
2


type

type=habour is used for ports and type=stop is used for every other stations.

waytype

Example files

You'll find here sources of SNFOS stations.

Stations.rar