Settings in the DAT-files for Way objects
The parameters and values are separated by '='.
Parameter |
Meaning |
Value |
Format |
obj |
Object type |
way-object |
exactly this text |
Name |
way-object name
|
Oberleitung |
an easy text |
copyright |
name of the Artist |
|
an easy text |
intro_month |
Month of the introduction |
2 |
Month as a number |
intro_year |
Year of the introduction |
1955 |
Year as a number |
retire_month |
Month of the execution |
8 |
Month as a number |
retire_year |
Year of the execution |
1982 |
Year as a number |
waytype |
Art der Strecke
|
road |
an easy text |
cost |
Baukosten pro Feld |
7500 |
Zahl in 1/100 Cr ohne Trennzeichen |
maintenance |
Instandhaltungskosten pro Feld |
700 |
Zahl in 1/100 Cr ohne Trennzeichen |
topspeed |
Höchstgeschwindigkeit in km/h |
60 |
Zahl |
own_waytype |
elektrisch
|
electrified_track |
Text |
icon |
Button in menu bar |
Bildangabe (s.u.) |
Parameter and image information separated by '=> '. |
cursor |
cursor by building the way object |
Bildangabe (s.u.) |
- |
The assignment of the graphics parameters
The red labels in the graph are indicated in the [] - parenthesis.
Graphics are not used to - given.
Bsp.: BackImage[-]=-
FrontImage[N]=datei.0.3
FrontImage[SE]=datei.1.0
FrontImage[NE]=datei.1.3
FrontImage[NSE]=datei.2.5
...
FrontImageUp[9]=datei.2.1
...
FrontDiagonal[NE]=datei.3.2
...
BackImage[N]=datei.0.3
BackImage[SE]=datei.1.0
BackImage[NE]=datei.1.3
BackImage[NSE]=datei.2.5
...
BackImageUp[9]=datei.2.1
...
BackDiagonal[NE]=datei.3.2
...
icon=> datei.1.6
cursor=datei.0.6
|
|
Achtung The spelling of the parameter
icon deviates from the standard - spelling from. This prevents the zoom button is. If this graphic is missing, then the road does not appear in the corresponding menu.
oberleitung_src.zip (10.98 Kb)
dat-file
Copy to clipboard Obj=way-object
Name=HighSpeedOverheadpower
cost=6500
maintenance=150
topspeed=450
intro_year = 1900
waytype=track
own_waytype=electrified_track
cursor=oberleitung.2.1
icon=> oberleitung.2.0
FrontImage[-]=oberleitung.1.5
FrontImage[N]=oberleitung.1.6
FrontImage[S]=oberleitung.1.8
FrontImage[E]=oberleitung.1.9
FrontImage[W]=oberleitung.1.7
FrontImage[NS]=oberleitung.0.0
FrontImage[EW]=oberleitung.0.1
FrontImage[NSE]=oberleitung.1.3
FrontImage[NSW]=oberleitung.1.1
FrontImage[NEW]=oberleitung.1.4
FrontImage[SEW]=oberleitung.1.2
FrontImage[NSEW]=oberleitung.1.0
FrontImage[NE]=oberleitung.0.4
FrontImage[SW]=oberleitung.0.3
FrontImage[NW]=oberleitung.0.5
FrontImage[SE]=oberleitung.0.6
FrontDiagonal[NE]=oberleitung.2.7
FrontDiagonal[SW]=oberleitung.2.6
FrontDiagonal[NW]=oberleitung.2.8
FrontDiagonal[SE]=oberleitung.2.9
FrontImageUp[3]=oberleitung.2.5
FrontImageUp[6]=oberleitung.2.4
FrontImageUp[9]=oberleitung.2.3
FrontImageUp[12]=oberleitung.2.2
# back images
BackImage[-]=-
BackImage[N]=oberleitung.4.6
BackImage[S]=oberleitung.4.8
BackImage[E]=oberleitung.4.9
BackImage[W]=oberleitung.4.7
BackImage[NS]=oberleitung.3.0
BackImage[EW]=oberleitung.3.1
BackImage[NSE]=oberleitung.4.3
BackImage[NSW]=oberleitung.4.1
BackImage[NEW]=oberleitung.4.4
BackImage[SEW]=oberleitung.4.2
BackImage[NSEW]=oberleitung.4.0
BackImage[NE]=oberleitung.3.4
BackImage[SW]=oberleitung.3.3
BackImage[NW]=oberleitung.3.5
BackImage[SE]=oberleitung.3.6
BackDiagonal[NE]=oberleitung.5.7
BackDiagonal[SW]=oberleitung.5.6
BackDiagonal[NW]=oberleitung.5.8
BackDiagonal[SE]=oberleitung.5.9
BackImageUp[3]=oberleitung.5.5
BackImageUp[6]=oberleitung.5.4
BackImageUp[9]=oberleitung.5.3
BackImageUp[12]=oberleitung.5.2
|
image-file
|
Top
Detailed Explanations
The Parameter waytype
The parameter specifies the type of the road firmly.
Wert |
Bedeutung |
road |
Straße |
track |
railway / tram |
monorail_track |
monorail |
water |
sewer |
air |
airport |
back
The parameter own_waytype
This parameter must be supplied.
Only setting it to
electrified_track' currently has an effect: then the wayobj can be used to electrify tracks.
back
The Parameter Name
This parameter determines the name of the object. It should not coincide with a name of the files
object.*.pak in the used pakset folder.
back
Top
Last wiki comments