Loading...
 

nl_BridgeDef



Settings in the bridge DAT filelink


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

bridge_src.zip (17.59 Kb)

Parameter
Meaning
Value
Format
obj Type of object bridge exactly this text
name Name of the bridge Used in testing_page Steel bridge plain text
copyright Name of authors/artists plain text
intro_month Introduction month month as number
intro_year Introduction year 1955  year as number
retire_month Retirement month month as number
retire_year Retirement year 1982  year as number
waytype Type of bridge Used in testing_page road plain text
cost Building cost per tile 7500  Number in 1/100 Cr without spaces
maintenance Maintenance cost per tile 700  Number in 1/100 Cr without spaces
topspeed Max. speed in km/h 60  Number
max_weight Combined max weight in tonnes 40  Number
max_lenght Max length of bridge in tiles Number Note! The misspelling of the variable must be kept
pillar_distance Distance in tiles between the pillars Number
from Ver. 0.99.16
max_height Height of bridge Number in range 1 - 7
pillar_asymmetric Avoid pillars on slopes Number


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

The parameter for graphicslink


The values are given in the following format:
{TRAFD(fields=>16,filtervalue=>9)}{TRAFD}

Parameter
Meaning
Format
cursor Cursor when selecting bridge
icon Menu icon Parameter en beeld informatie worden gescheiden door '=> '.



Bridge road bed
Parameter
Meaning
BackImage[NS] Background graphics for direction north-south
FrontImage[NS] Foreground graphics for direction north-south
BackImage[EW] Background graphics for direction east-west
FrontImage[EW] Foreground graphics for direction east-west


Pillars (optional)
Parameter
Meaning
backPillar[S] Pillar graphics for direction north-south
backPillar[W] Pillar graphics for direction east-west



Slopes
Parameter
Meaning
BackStart[N] Background graphics direction north
FrontStart[N] Foreground graphics direction north
BackStart[S] Background graphics direction south
FrontStart[S] Foreground graphics direction south
BackStart[E] Background graphics direction east
FrontStart[E] Foreground graphics direction east
BackStart[W] Background graphics direction west
FrontStart[W] Foreground graphics direction west


Ramps
Parameter
Meaning
BackRamp[N] Background graphics direction north
FrontRamp[N] Foreground graphics direction north
BackRamp[S] Background graphics direction south
FrontRamp[S] Foreground graphics direction south
BackRamp[E] Background graphics direction east
FrontRamp[E] Foreground graphics direction east
BackRamp[W] Background graphics direction west
FrontRamp[W] Foreground graphics direction west



Winter graphicslink

from Simutrans Version 0.99.06 (makeobj 43)

To use winter graphics the graphics parameter has to be expanded with yet another value.

without snow with snow
BackImage[NS][0] BackImage[NS][1]
FrontImage[NS][0] FrontImage[NS][1]
etc. etc.

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


Examplelink


Graphics file
example_bridge_image.png
example_bridge_image.png

DAT File
Copy to clipboard
Obj=bridge name=Stahlbruecke #copyright= waytype=track cost=95000 maintenance=2500 topspeed=250 max_lenght=10 intro_year=1880 cursor=example_bridge_image.2.0 icon=> example_bridge_image.2.5 BackImage[NS]=example_bridge_image.0.5 FrontImage[NS]=example_bridge_image.1.5 BackImage[EW]=example_bridge_image.0.4 FrontImage[EW]=example_bridge_image.1.4 BackStart[N]=example_bridge_image.0.0 FrontStart[N]=example_bridge_image.1.0 BackStart[S]=example_bridge_image.0.2 FrontStart[S]=example_bridge_image.1.2 BackStart[E]=example_bridge_image.0.1 FrontStart[E]=example_bridge_image.1.1 BackStart[W]=example_bridge_image.0.3 FrontStart[W]=example_bridge_image.1.3 BackRamp[N]=example_bridge_image.2.1 FrontRamp[N]=- BackRamp[S]=example_bridge_image.2.3 FrontRamp[S]=- BackRamp[E]=example_bridge_image.2.4 FrontRamp[E]=- BackRamp[W]=example_bridge_image.2.2 FrontRamp[W]=-



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

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



Used in testing_page The waytype parameterlink


This parameter decides on which types of ways the bridge can be used.

Value
Meaning
road road
track railway
monorail_track monorail / maglev
water waterway
power power line


Back



Used in testing_page The "Name" parameterlink


{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 Wednesday October 18, 2023 14:56:16 GMT-0000 by Frank.

Page discussion

There are no discussions currently on this page Start discussion

Online Users

22 online users

Newest Forum Posts