• English
  • Français (French)

Stations

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 32

1,1,2 : 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

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

The image below is not a true pattern but gives graphical base accordingly with some of pak128's stations:

Obj=building
Name=STATION_NAME_early
Dims=1,1,16
NoInfo=1
intro_year=1800
retire_year=1950
icon⇒ source.1.8
cursor=source.2.8
type=stop
enables_pax=1
allow_underground=0
waytype=track
level=1
backimage[0][0][0][0][0]=source.1.0
backimage[1][0][0][0][0]=source.1.1
backimage[2][0][0][0][0]=source.1.2
backimage[3][0][0][0][0]=source.1.3
backimage[4][0][0][0][0]=source.1.4
backimage[5][0][0][0][0]=source.1.5
backimage[6][0][0][0][0]=source.1.6
backimage[7][0][0][0][0]=source.1.7
frontimage[8][0][0][0][0]=source.2.0
frontimage[9][0][0][0][0]=source.2.1
frontimage[10][0][0][0][0]=source.2.2
frontimage[11][0][0][0][0]=source.2.3
frontimage[12][0][0][0][0]=source.2.4
frontimage[13][0][0][0][0]=source.2.5
frontimage[14][0][0][0][0]=source.2.6
frontimage[15][0][0][0][0]=source.2.7
——————————
Obj=building
Name=STATION_NAME_med
Dims=1,1,16
NoInfo=1
intro_year=1950
retire_year=1990
icon⇒ source.3.8
cursor=source.4.8
type=stop
enables_pax=1
allow_underground=0
waytype=track
level=1
backimage[0][0][0][0][0]=source.3.0
backimage[1][0][0][0][0]=source.3.1
backimage[2][0][0][0][0]=source.3.2
backimage[3][0][0][0][0]=source.3.3
backimage[4][0][0][0][0]=source.3.4
backimage[5][0][0][0][0]=source.3.5
backimage[6][0][0][0][0]=source.3.6
backimage[7][0][0][0][0]=source.3.7
frontimage[8][0][0][0][0]=source.4.0
frontimage[9][0][0][0][0]=source.4.1
frontimage[10][0][0][0][0]=source.4.2
frontimage[11][0][0][0][0]=source.4.3
frontimage[12][0][0][0][0]=source.4.4
frontimage[13][0][0][0][0]=source.4.5
frontimage[14][0][0][0][0]=source.4.6
frontimage[15][0][0][0][0]=source.4.7
——————————
Obj=building
Name=STATION_NAME_modern
Dims=1,1,16
NoInfo=1
intro_year=1990
icon⇒ source.5.8
cursor=source.6.8
type=stop
enables_pax=1
allow_underground=0
waytype=track
level=1
backimage[0][0][0][0][0]=source.5.0
backimage[1][0][0][0][0]=source.5.1
backimage[2][0][0][0][0]=source.5.2
backimage[3][0][0][0][0]=source.5.3
backimage[4][0][0][0][0]=source.5.4
backimage[5][0][0][0][0]=source.5.5
backimage[6][0][0][0][0]=source.5.6
backimage[7][0][0][0][0]=source.5.7
frontimage[8][0][0][0][0]=source.6.0
frontimage[9][0][0][0][0]=source.6.1
frontimage[10][0][0][0][0]=source.6.2
frontimage[11][0][0][0][0]=source.6.3
frontimage[12][0][0][0][0]=source.6.4
frontimage[13][0][0][0][0]=source.6.5
frontimage[14][0][0][0][0]=source.6.6
frontimage[15][0][0][0][0]=source.6.7

The same, empty:

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

Snowy/Winter view

Stations can have snowy images. To define them, a parameter must be added to the name of each image, equal to 0 for normal (summer) view and 1 for snowy (winter) view. Here is an example:

backimage[2][0][0][0][0]=source.1.2

#becomes …

#normal view
backimage[2][0][0][0][0][0]=source.1.2
#snowy view
backimage[2][0][0][0][0][1]=source.1.2

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
This won't prevent station's content window from displaying !
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.