Loading...
 

Ground object parameters



Parameters for ground objectslink

since Simutrans version 0.99.18 (Makeobj 49)

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

Parameter Meaning Value Format
obj type of the object ground_obj exactly this text
Name name of the object Used in testing_page plain text
copyright name of creator(s) plain text
cost cost of removal 80000  Price in 1/100 Cr, without fractional dot/comma
( shows as 800.00 )
DistributionWeight frequency of appearance Used in testing_page number
seasons number of seasons Used in sv_WayDef number
climates appears in these climates Used in sv_WayDef temperate exact text
trees_on_top show trees on top or not 0 = no; 1 = yes


additional parameters for moving objects
Parameter Meaning Value Format
speed speed in km/h 15  number
waytype type of way for the object to move on none none = doesn't move


Graphic parameterslink

Warning: Position is counted including 0.

Graphic file format: 24 bit png without alpha channel

1.1.1. static objectslink


Image[Age][Season]=image_file_without_extension.x.y

1.1.1.1. Agelink

It can up to 96 (0 - 95) Graphics per time period be specified.

1.1.1.2. Seasonlink

Period
 Image-Parameter 
seasons=1
January - December Image[0][0]
seasons=2
January - December (without snow) Image[0][0]
January - December (with snow) Image[0][1]
seasons=3
April - December Image[0][0]
January - March (without snow) Image[0][1]
January - March (with snow) Image[0][2]
seasons=4
January - March Image[0][0]
April - June Image[0][1]
October - December Image[0][2]
July - September Image[0][3]
seasons=5
January - March (without snow) Image[0][0]
April - June Image[0][1]
July - September Image[0][2]
October - December Image[0][3]
January - March (with snow) Image[0][4]


Top

1.1.2. moving objectslink


Image[direction][season]=image_file_without_extension.x.y

Image
Movement
Image[S][0] towards North
Image[E][0] towards West
Image[SE][0] towards North-West
Image[SW][0] towards North-East
Image[N][0] towards South
Image[W][0] towards East
Image[NW][0] towards South-East
Image[NE][0] towards South-West


Top

{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


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

back


Used in sv_WayDef The parameter seasonslink


The parameter indicates how many seasons are defined.

Value Meaning
1
a graphic for the whole year
2
2 graphics; a whole for the year and a snow-covered surfaces of snow in winter
4
for every season a graphic
5
for every season a graphics plus a snow graphics


back


Used in sv_WayDef The parameter climateslink


The parameter specifies for which climate zones the object is defined.

Value Meaning
desert desert
tropic tropical
mediterran Mediterranean climate
temperate temperate
tundra tundra
rocky rocky


There may several climate zones are specified. These must be separated by commas.

back

Top
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

56 online users

Newest Forum Posts