Lade...
 

Way object parameters


Settings in the DAT-files for Way objectslink


The parameters and values are separated by '='.

Parameter
Meaning
Value
Format
obj Object type way-object exactly this text
Name way-object name Used in sv_WayDef Oberleitung an easy text
copyright name of the Artist an easy text
intro_month Month of the introduction Month as a number
intro_year Year of the introduction 1955  Year as a number
retire_month Month of the execution Month as a number
retire_year Year of the execution 1982  Year as a number
waytype Art der Strecke Used in testing_page 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 Used in testing_page 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 parameterslink

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
Image


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.

Example of an overhead contact linelink

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
copyright=Hajo
copyright=Hajo



Top

Detailed Explanationslink


Used in testing_page The Parameter waytypelink


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


Used in testing_page The parameter own_waytypelink


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


Used in sv_WayDef The Parameter Namelink


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
Seite bewerten

Zu dieser Seite haben beigesteuert: Frank , An_dz , IgorEliezer und system .
Seite zuletzt geändert: am Mittwoch Oktober 18, 2023 14:56:16 GMT-0000 von Frank.

Page discussion

There are no discussions currently on this page Start discussion

Online Benutzer

19 Benutzer (alle) online

Neueste Forenbeiträge