Field dat

From Simutrans Wiki

Jump to: navigation, search

Fields are created around factories. They can have one or more images, which change depending on the time of year, or whether the field is above the snowline.

Fields do not have any additional parameters except for basic ones (obj, name) and images.

The following example assumes that has_snow=1 has been set in the factory dat file referencing this field:

Obj=field

name=field_example

# 5 images, of which one is snow (as specified in factory file)

# hence year is divided into four parts, each of three months

Image[0]=january-march-img

Image[1]=april-june-img

Image[2]=july-september-img

Image[3]=october-december-img

# last image is for snow

Image[4]=snow-img

If has_snow=0 is used instead then only 4 images (Image[0] to Image[3]) would be needed.

Personal tools