Loading...
 

nl_WayDef



Settings in the DAT-files of traffic routeslink


{TRAFD(fields=>16,filtervalue=>2)}{TRAFD}

Parameter
Meaning
Example
Format
obj type of object way exactly this text
name name of the object Image asphaltroad simple text
copyright the author's name Haug simple text
intro_month month the item is introduced month (numeric)
intro_year year of the item's introduction 1955  year (numeric)
retire_month month the item is not available anymore month (numeric)
retire_year year the item is not available anymore 1982  year (numeric)
waytype waytype Image road name from route object
cost construction costs per field 7500  value in 1/100 Cr without separator (dot, comma)
maintenance maintenance costs per field 700  value in 1/100 Cr without separator (dot, comma)
topspeed maximum allowed speed in km/h 60  numeric
max_weight maximum weight in tons 40  numeric (this parameter is not yet implemented)
Special Parameters
system_type depends on setting waytype Image numeric



Graphics Configurationlink


{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
...
Image




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 Graphicslink

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.



Examplelink


road_src.zip (41.36 Kb)

Graphics File
way-kopfstein64.png (cobblestone road)
way-kopfstein64.png (cobblestone road)

Dat-File
Obj=way waytype=road Name=mip_cobblestone_road cost=7500 maintenance=700 topspeed=60 max_weight=40 intro_year = 1330 intro_month = 9 icon=> way-kopfstein-64.3.4 cursor=way-kopfstein-64.3.5 Image[-]=way-kopfstein-64.1.2 Image[N]=way-kopfstein-64.1.5 Image[S]=way-kopfstein-64.2.1 Image[E]=way-kopfstein-64.2.2 Image[W]=way-kopfstein-64.2.0 Image[NS]=way-kopfstein-64.1.0 Image[EW]=way-kopfstein-64.1.1 Image[NSE]=way-kopfstein-64.0.2 Image[NSW]=way-kopfstein-64.0.4 Image[NEW]=way-kopfstein-64.0.1 Image[SEW]=way-kopfstein-64.0.3 Image[NSEW]=way-kopfstein-64.1.2 Image[NE]=way-kopfstein-64.3.0 Image[SE]=way-kopfstein-64.2.3 Image[NW]=way-kopfstein-64.2.4 Image[SW]=way-kopfstein-64.2.5 ImageUp[3]=way-kopfstein-64.1.3 ImageUp[6]=way-kopfstein-64.1.4 ImageUp[9]=way-kopfstein-64.0.0 ImageUp[12]=way-kopfstein-64.0.5



{TRAFD(fields=>16,filtervalue=>1)}{TRAFD}


{TRAFD(fields=>16,filtervalue=>4)}{TRAFD}link



Image The Parameter waytypelink


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


Image The Parameter system_typelink


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


Image The Parameter Namelink


{TRAFD(fields=>16,filtervalue=>3)}{TRAFD}

back

{TRAFD(fields=>16,filtervalue=>1)}{TRAFD}


Rate this page:

Contributors to this page: Frank , whoami and system .
Page last modified on Thursday December 24, 2015 21:13:53 GMT-0000 by Frank.

Online Users

9 online users

Newest Forum Posts

No records to display