Loading...
 

DAT-file entries for trees



DAT-file entries for treeslink


Parametrar och deras värden skiljs åt av ‘=’.


up to Simutrans version 90.00.1link


Parameter
Meaning
 Value 
Format
obj kind of object tree exactly this text
name name of the tree Image Pine plain text
copyright name of the creator plain text
DistributionWeight frequency of appearance Image 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
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


Toppen


from Simutrans version 99.00 onlink


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



Grafikparameterlink


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 ab 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 )

Toppen

Utförliga förklaringarlink



Image The parameter namelink


Denna parameter är objektets namn. Detta namn får inte vara samma som namnet på ett objektl.*.pak i den pak-katalog som används.

back



Image 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



Image 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



Image Der Parameter climateslink


This parameter defines in which climates the tree will grow.


Value
Meaning
desert
tropic
mediterran
temperate
tundra
rocky



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

back

Toppen

Rate this page:

Contributors to this page: Frank and system .
Page last modified on Friday May 12, 2017 10:53:47 CEST by Frank.

Online Users

10 online users

Newest Forum Posts

No records to display