Crossing parameters

Parameters for crossingslink


obj type of object crossing exactly this text
Name name of crossing Image rail-road-crossing plain text
copyright name of authors plain text
waytype[0] way 1 Image road a way type
waytype[1] way 2 Image track a way type
speed[0] speed way 1 in km/h 40  digit
speed[1] speed way 2 in km/h 160  digit
sound sound upon way reservation Image sound.wav name of wav file
openimage[ns][0] background graphics when NS not reserved image reference
front_openimage[ns][0] foreground graphics when NS not reserved image reference
closedimage[ns][0] background graphics when NS reserved image reference
front_closedimage[ns][0] foreground graphics when NS reserved image reference
openimage[ew][0] background graphics when EW not reserved image reference
front_openimage[ew][0] foreground graphics when EW not reserved image reference
closedimage[ew][0] background graphics when OW reserved image reference
front_closedimage[ew][0] foreground graphics when EW reserved image reference
since version >102.2.2 
*image[*][1] winter version of images *image[*][0], image reference
for example, openimage[ns][1] is the winter version of openimage[ns][0] image reference
since version >102.2.2, makeobj version >50 
intro_month Month of Introduction Month as number
intro_year Year of Introduction 1955  Year as number
retire_month Month of Retirement Month as number
retire_year Year of Retirement 1982  Year as number

Are mode than one crossing available, then the crossing with the earlier introduction date gets build.
The crossings are placed automatically, the player cannot influence which crossing will be built.

Example of a crossing between road and railwaylink

rail-road-crossing_src.zip (11.20 Kb)

Dat file
obj=crossing name=rail-road-crossing copyright=Raven/Hajo/prissi waytype[0]=road waytype[1]=track speed[0]=40 speed[1]=160 openimage[ns][0]=rail-road-crossing.0.1 front_openimage[ns][0]=rail-road-crossing.0.3 closedimage[ns][0]=rail-road-crossing.1.1 front_closedimage[ns][0]=rail-road-crossing.1.3 openimage[ew][0]=rail-road-crossing.0.0 front_openimage[ew][0]=rail-road-crossing.0.2 closedimage[ew][0]=rail-road-crossing.1.0 front_closedimage[ew][0]=rail-road-crossing.1.2

Image file




Image The parameter Namelink



Image The parameter waytypelink

This parameters determines which types of ways that meet at the crossing.

Way 1 (waytype[0]) is the unreserved (open) way.

Way 2 (waytype[1]) is the reserved (closed) way.

road Road
track Rail
tram_track Tram
monorail_track Monorail
maglev_track Maglev
water Waterway
narrowgauge_track Narrowgauge
air Air strip


Image The parameter soundlink

The wav file given as a value must be in the directory [Pakset]/sound.

The sound will be played when the crossing is reserved.



Rate this page:

Contributors to this page: Frank , IgorEliezer and system .
Page last modified on Thursday May 11, 2017 09:18:58 GMT-0000 by Frank.

Online Users

5 online users

Newest Forum Posts

No records to display