Loading...
 

Tree parameters



DAT-file entries for treeslink


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


up to Simutrans version 90.00.1link


Parameter
Meaning
Value
Format
obj kind of object tree exactly this text
name name of the tree Used in testing_page Pine plain text
copyright name of the creator plain text
DistributionWeight frequency of appearance Used in testing_page number
Height favorite height level on the simutrans map number


Parameter for the graphiclink


Image[age][height]=filename without extension.row in the image.coloumn in the image
height is not used at this time and should be set to 0

Attention: counting starts with 0 - the first row (top) and the first coloumn (right) are counted as row 0 / coloumn 0.

format of the graphic: 24 bit png without alpha-channel

Time
Image-Parameter Alter
smallest size
bigger
even bigger
biggest size
aged / dieing tree
only one season
January - December Image[0][0] Image[1][0] Image[2][0] Image[3][0] Image[4][0]
with 4 seasons
July - September Image[0][0] Image[1][0] Image[2][0] Image[3][0] Image[4][0]
October - December Image[5][0] Image[6][0] Image[7][0] Image[8][0] Image[9][0]
January - March Image[10][0] Image[11][0] Image[12][0] Image[13][0] Image[14][0]
April - June Image[15][0] Image[16][0] Image[17][0] Image[18][0] Image[19][0]


Image[0][0] is used for the minimized view (keys Image Image )

Example of a tree without seasonslink


the graphic example_tree.png
Image
and the dat-file
Copy to clipboard
Obj=tree Name=Tree1 copyright=unbekannt Height=0 DistributionWeight=3 Image[0][0]=example_tree.0.0 Image[1][0]=example_tree.0.1 Image[2][0]=example_tree.0.2 Image[3][0]=example_tree.0.3 Image[4][0]=example_tree.0.4


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


from Simutrans version 99.00 onlink


Parameter
Meaning
Value
Format
obj kind of object tree plain text
name name of the tree Used in testing_page Pine plain text
copyright name of the creator plain text
DistributionWeight frequency of appearance Used in testing_page number
seasons number of seasons Used in sv_WayDef number
climates appears in this climate Used in sv_WayDef temperate exact text



Parameter for the graphiclink


Image[age][season]=filename without extension.row.coloumn

Attention: counting starts with 0 - the first row (top) and the first coloumn (right) are counted as row 0 / coloumn 0.

format of the graphic: 24 bit png without alpha-channel

Time
Image-Parameter Alter
smallest size
bigger
bigger
biggest size
aged / dieing tree
seasons=1
January - December Image[0][0] Image[1][0] Image[2][0] Image[3][0] Image[4][0]
seasons=2
April - December
January - March without snow
Image[0][0] Image[1][0] Image[2][0] Image[3][0] Image[4][0]
January - March snow covered Image[0][1] Image[1][1] Image[2][1] Image[3][1] Image[4][1]
seasons=4
July - September Image[0][0] Image[1][0] Image[2][0] Image[3][0] Image[4][0]
October - December Image[0][1] Image[1][1] Image[2][1] Image[3][1] Image[4][1]
January - March Image[0][2] Image[1][2] Image[2][2] Image[3][2] Image[4][2]
April - June Image[0][3] Image[1][3] Image[2][3] Image[3][3] Image[4][3]
seasons=5 from Ver. 0.99.09
July - September Image[0][0] Image[1][0] Image[2][0] Image[3][0] Image[4][0]
October - December Image[0][1] Image[1][1] Image[2][1] Image[3][1] Image[4][1]
January - March without snow Image[0][2] Image[1][2] Image[2][2] Image[3][2] Image[4][2]
April - June Image[0][3] Image[1][3] Image[2][3] Image[3][3] Image[4][3]
January - March snow covered Image[0][4] Image[1][4] Image[2][4] Image[3][4] Image[4][4]


Image[0][0] is used for the minimized view (keys Image Image )

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

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



Used in testing_page The parameter namelink


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

back



Used in testing_page The parameter DistributionWeightlink


This value defines how often this tree will appear relative to the other trees that appear in the same climate. Value range is 1 to 127.

back



Used in sv_WayDef The parameter seasonslink


This parameter defines the number of different graphics the tree has over one year.
 Value 
Meaning
1
one graphic the whole year
2
2 graphics; one for the whole year and a snow covered one
4
one graphic for each season
5
one graphic for each season and a snow covered one ab Ver. 0.99.09


back



Used in sv_WayDef The parameter climateslink


This parameter defines in which climates the tree will grow.


Value
desert
tropic
mediterran
temperate
tundra
rocky


You can define more than one climate: separate the climate names with colons.

back


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

Rate this page:

Contributors to this page: Frank , IgorEliezer 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

11 online users

Newest Forum Posts