Ceci est une ancienne révision du document !
Graphical pattern for bridges :
On this pattern, each width is made of a different grey, to use this pattern, delete, thanks to replace color tool and playing on the tolerance, the greys until the right width. Blue squares stand for the ground.
This is the graphical part of the .dat file, explained below.
cursor=image.3.1
icon= > image.3.0
backstart[N]=image.1.0
backstart[S]=image.1.2
backstart[E]=image.1.3
backstart[W]=image.1.1
backramp[N]=image.0.0
backramp[S]=image.0.2
backramp[E]=image.0.3
backramp[W]=image.0.1
backimage[NS]=image.2.0
backimage[EW]=image.2.1
frontstart[N]=image.1.0
frontstart[S]=image.1.2
frontstart[E]=image.1.3
frontstart[W]=image.1.1
frontramp[N]=image.0.0
frontramp[S]=image.0.2
frontramp[E]=image.0.3
frontramp[W]=image.0.1
frontimage[NS]=image.2.0
frontimage[EW]=image.2.1
backPillar[S]=image.2.2
backPillar[W]=image.2.3
Back… is for pictures displayed behind vehicles and Front… is for pictures displayed before vehicles. Here these are the same since I haven't any examples of sources for this object which have the both.
An easier way should be creating a picture with frontimage and a picture with backimage, so you'll only have to change the name of the picture.
If you use the patterns, you won't have to know that.
Parameter | Description | Content | Example |
obj | object type | bridge | |
waytype | way type | internal_name | maglev_track |
name | name | text | AMT_bridge |
cost | price (*100c) | number | 15000 |
maintenance | maintenance cost (*100c) | number | 8500 |
topspeed | max speed (km/h) | number | 750 |
max_weight | max weight | number | 100 |
max_length | max lentgh | number | 14 |
max_height | max height | number | 10 |
pillar_asymmetric | use if the pillar's graphic isn't on the center of the tile (put the graphic on the lower part of the tile) | boolean | 1 |
pillar_distance | distance between each pillar (at least 1) | number | 2 |
intro_year | introduction year | number | 2025 |
intro_month | introduction month | number | 1 |
copyright | name of the creator | text | Gauthier |