Settings in the DAT-files of traffic routes
{TRAFD(fields=>16,filtervalue=>2)}{TRAFD}
Graphics Configuration
{TRAFD(fields=>16,filtervalue=>9)}{TRAFD}
Parameter |
Meaning |
Format |
---|---|---|
cursor | mouse cursor when object is selected | |
icon | button in the menu bar | Parametrar och bildinformation skiljs åt av '=> '. |
The red values above the images have to be entered between the brackets [].
Image[N]=filename.0.3 Image[SE]=filename.1.0 Image[NE]=filename.1.3 Image[NSE]=filename.2.5 ... ImageUp[9]=filename.2.1 ... Diagonal[NE]=filename.3.2 ... |
![]() |
The parameters Diagonal[NE], Diagonal[SE], Diagonal[NW] and Diagonal[SW] are optional. If they are not set, curve graphics are used for diagonal connections.
Winter Graphics
Available in Simutrans 0.99.05 (makeobj 42) and later.For the definition of both summer and winter objects the parameter gets an extra option.
Without Snow | With Snow |
---|---|
Image[NS][0] | Image[NS][1] |
Image[EW][0] | Image[EW][1] |
etc. | etc. |
Example
road_src.zip (41.36 Kb)
Graphics File ![]() way-kopfstein64.png (cobblestone road)
|
Dat-File Copy to clipboard
|
{TRAFD(fields=>16,filtervalue=>1)}{TRAFD}
{TRAFD(fields=>16,filtervalue=>4)}{TRAFD}
The Parameter waytype
This parameter sets the type of the route object.
Wert |
Bedeutung |
---|---|
road | guess what |
track | railroad |
tram_track | streetcar/tram |
monorail_track | monorail as in Simpsons |
maglev_track | magnetic monorail as in Singapore |
water | waterway |
air | airport road |
power | power line |
For some routes the parameter system_type can be used.
back
The Parameter system_type
Setting this parameter is only necessary for certain values of waytype.
waytype-Value |
system_type-Value |
Meaning |
---|---|---|
track | 0 |
normal track |
1 |
elevated monorail | |
7 |
streetcar track | |
monorail_track | 0 |
normal monorail |
1 |
elevated monorail |
back
The Parameter Name
{TRAFD(fields=>16,filtervalue=>3)}{TRAFD}
back
{TRAFD(fields=>16,filtervalue=>1)}{TRAFD}
Last wiki comments