
// backgrounds

Каждый игровой бэк состоит из набора плашек с заданными параметрами.
Описание каждой плашки должно начинаться с texture=, и завершаться пропуском строки.
По умолчанию все параметры равны 0 или false. Если параметр не указан то он будет равен 0 или false.
Возм. параметры плашки на бэке:

texture=имя файла текстуры (.tga / .jpg)
width=Ширина текстуры (нет - берется из файла)
height=Высота текстуры (нет - берется из файла)
wind=Сила ветра (в осн. для неба) (1 - умеренное движение вправо, может быть отрицательным - влево)
speed=Горизонтальная скорость движения плашки относительно переднего плана с коровой (задает зрительную удаленность).
0 - плашка стоит, 1 - движется вровень с передним планом, 0.5 - движется в два раза медленнее, чем передний план.
vertical=Высота центра плашки по вертикали (макс: 300, мин: -300) когда корова внизу уровня. 
vertdelta=Смешение плашки по вертикали (+N; -N) в пикселах, когда корова вверху и внизу уровня.
color={r,g,b,a}, в долях единицы (0..1), по умолчанию {1,1,1,1}
noblend=блендинг (true,false - по умалчанию). Включать true - если объект не прозрачный, например небо.
single=одиночный не тайленный объект (true - да, false - по умолчанию).
distance=расстояние, через которое он (single) повторяется в пикселах (от 0 до 800, 800 - игровой экран)
zastup_up=расстояние в пикселах, на которое растягивается верхние два пиксела плашки
zastup_down=расстояние в пикселах, на которое растягивается нижние два пиксела плашки



[mount1/]

texture=backsky1.jpg
width=512
height=256
wind=1
speed=0.01
vertical=172
noblend=true
color={1,1,1,1}


texture=backmount1.tga
speed=0.05
vertical=0
vertdelta=-5
color={1,1,1,1}



texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.7,0.8,0.6,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20


[/mount1]

[mount2/]

texture=backsky1.jpg
width=512
height=256
wind=1
speed=0.01
vertical=172
noblend=true
color={1,1,1,1}

texture=backmount2.tga
speed=0.05
vertical=0
vertdelta=-5
color={1,1,1,1}

texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.7,0.8,0.6,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20

[/mount2]

_______________________


[mount3/]


texture=sky3.jpg
width=800
height=512
wind=1
speed=0.01
vertical=147
noblend=true
color={1,1,1,1}


texture=stones1.tga
speed=0.2
vertical=-44
vertdelta=-25
zastup_up=60
zastup_down=40

texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.7,0.8,0.6,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20


[/mount3]


_______________________

[mount_night3/]


texture=sky4.jpg
width=512
height=280
wind=0
speed=0
vertical=160
noblend=true
color={1,1,1,1}

texture=cloud2.tga
width=800
height=256
wind=0.4
speed=0.1
vertical=180
vertdelta=5


texture=stones1.tga
speed=0.2
vertical=-20
vertdelta=-25
zastup_up=60
zastup_down=40
color={0.3,0.6,1,1}


texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.4,0.4,1,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20
color=(0.2,0.3,1,1)


[/mount_night3]



_______________________

[mount4/]


texture=sky4.jpg
width=512
height=280
wind=0
speed=0
vertical=160
noblend=true
color={1,1,1,1}

texture=cloud2.tga
width=800
height=256
wind=0.4
speed=0.1
vertical=180
vertdelta=5



texture=backmount1.tga
speed=0.2
vertical=-44
vertdelta=0
zastup_up=60
zastup_down=40
color=(0.6,0.8, 1,1)


texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.7,0.5, 1,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20
color=(0.8,0.7, 1,1)


[/mount4]


[forest1/]

texture=sky3.jpg
width=800
height=512
wind=1
speed=0.01
vertical=44
noblend=true
color={1,1,1,1}

texture=backforest1.tga
speed=0.2
vertical=-44
vertdelta=-25
zastup_up=60
zastup_down=40

texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.7,0.8,0.6,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20


[/forest1]

__________________

[forest2/]

texture=forestback2.jpg
speed=0.04
vertical=44
distance=150


texture=grass.tga
speed=0.1
vertical=-200
vertdelta=5


texture=grass.tga
speed=0.5
vertical=-250
vertdelta=-14
zastup_down=20

texture=forest_up.tga
speed=0.1
vertical=238
vertdelta=10
zastup_up=40
color=(0.5,0.6,1,1)


texture=forest_up.tga
speed=0.2
vertical=265
vertdelta=-30
zastup_up=20

[/forest2]

_________________________

[forest_night2/]

texture=forestback2.jpg
speed=0.04
vertical=44
distance=150
color=(0.4,0.6,1,1)

texture=grass.tga
speed=0.1
vertical=-200
vertdelta=25
color=(0.3,0.5,1,1)

texture=grass.tga
speed=0.5
vertical=-250
vertdelta=-34
zastup_down=20

texture=forest_up.tga
speed=0.1
vertical=238
vertdelta=10
zastup_up=40
color=(0.5,0.6,1,1)


texture=forest_up.tga
speed=0.2
vertical=265
vertdelta=-30
zastup_up=20

[/forest_night2]

_________________________

[forest3/]

texture=bog.jpg
speed=0.04
vertical=0
distance=150



texture=grass.tga
speed=0.1
vertical=-230
vertdelta=0


texture=grass.tga
speed=0.5
vertical=-270
vertdelta=0
zastup_down=20


texture=forest_up.tga
speed=0.35
vertical=200
vertdelta=0
zastup_up=40
color=(0.5,0.6,0.8,1)


texture=forest_up.tga
speed=0.5
vertical=250
vertdelta=0
zastup_up=20

[/forest3]

_______________________________


[forest_night3/]

texture=bog.jpg
speed=0.04
vertical=0
distance=150
color=(0.4,0.6,1,1)


texture=grass.tga
speed=0.1
vertical=-230
vertdelta=0
color=(0.4,0.6,1,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=0
zastup_down=20
color=(0.4,0.6,1,1)

texture=forest_up.tga
speed=0.35
vertical=200
vertdelta=0
zastup_up=40
color=(0.5,0.5,0.8,1)


texture=forest_up.tga
speed=0.5
vertical=250
vertdelta=0
zastup_up=20
color=(0.4,0.6,1,1)

[/forest_night3]

_____________________________



[forest4/]

texture=bog.jpg
speed=0.04
vertical=50
distance=150

texture=stones1.tga
speed=0.2
vertical=-144
vertdelta=-25

[/forest4]

_________________________________

[forest_night4/]

texture=bog.jpg
speed=0.04
vertical=50
distance=150
color=(0.6,0.6,1,1)


texture=stones1.tga
speed=0.2
vertical=-144
vertdelta=-25
color=(0.5,0.6,0.8,1)


[/forest_night4]




_________________________________



[forest5/]

texture=backsky1.jpg
width=512
height=256
wind=1
speed=0.01
vertical=172
noblend=true
color={1,1,1,1}


texture=stones1.tga
speed=0.05
vertical=0


texture=forest_up.tga
speed=0.1
vertical=205
vertdelta=20
zastup_up=40
color=(0.2,0.4,0.5,1)

texture=forest_up.tga
speed=0.35
vertical=238
vertdelta=10
zastup_up=40
color=(1.0,1.0,1.0,1)

texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.7,0.8,0.6,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20

[/forest5]


____________________________

[field1/]

texture=sky3.jpg
width=800
height=512
wind=1
speed=0.01
vertical=44
noblend=true


texture=grass.tga
speed=0.1
vertical=-125
color=(0.7,0.8,0.9,1)


texture=grass2.tga
speed=0.2
vertical=-170
color=(0.9,0.9,0.6,1)


texture=grass.tga
speed=0.3
vertical=-225
color=(0.7,0.8,0.6,1)

texture=grass2.tga
speed=0.5
vertical=-260
zastup_down=20


[/field1]


_____________________________


[field_night/]

texture=sky4.jpg
width=800
height=512
wind=0
speed=0.01
vertical=44
noblend=true


texture=cloud2.tga
width=800
height=256
wind=0.4
speed=0.1
vertical=180
vertdelta=5


texture=grass.tga
speed=0.1
vertical=-125
color=(0.6,0.6,1,1)


texture=grass2.tga
speed=0.2
vertical=-170
color=(0.5,0.5,0.9,1)


texture=grass.tga
speed=0.3
vertical=-220
color=(0.3,0.3,0.8,1)

texture=grass2.tga
speed=0.5
vertical=-260
zastup_down=20
color=(0.3,0.3,0.8,1)



[/field_night]


_____________________________



[cave1/]

texture=rock1.jpg
wudth=512
hight=512
speed=0.015
vertical=0
distance=150


texture=rock3.tga
speed=0.1
vertical=-228
vertdelta=25
zastup_down=50
color=(0.3,0.5,0.6,2)


texture=rock2.tga
speed=0.1
vertical=195
vertdelta=20
zastup_up=40
color=(0.2,0.4,0.5,1)


texture=rock4.tga
speed=0.2
vertical=0
zastup_down=50
color=(0.7,0.9,1,1)

texture=rock3.tga
speed=0.5
vertical=-270
vertdelta=-34


texture=rock2.tga
speed=0.35
vertical=220
vertdelta=10
zastup_up=40
color=(0.5,0.6,0.8,1)

texture=rock2.tga
speed=0.5
height=160
vertical=265
vertdelta=-30

[/cave1]



[cave2/]

texture=rock1.jpg
speed=0.04
vertical=50
distance=150

texture=stones1.tga
speed=0.2
vertical=-144
vertdelta=-25
color=(0.5,0.5,1.0,1)

texture=rock2.tga
speed=0.35
vertical=220
vertdelta=10
zastup_up=40
color=(0.5,0.6,0.8,1)

texture=rock2.tga
speed=0.5
height=160
vertical=265
vertdelta=-30

[/cave2]


[cave3/]

texture=back_prof.jpg
speed=0.04
vertical=0
distance=150


texture=back_prof3.tga
speed=0.2
wind=-40
vertical=-240
vertdelta=-15
color=(1,0.6,0.5,1)

texture=back_prof5.tga
speed=0.25
wind=60
vertical=-270
vertdelta=-25
color=(1,0.8,0.7,1)


texture=back_prof3.tga
speed=0.35
wind=-120
vertical=-300
vertdelta=-35
color=(1,1,0.8,1)


texture=back_prof1.tga
speed=0.35
vertical=200
vertdelta=10
zastup_up=40
color=(1,0.6,0.5,1)


texture=back_prof4.tga
speed=0.5
wind=-30
single=true
distance=500
height=160
vertical=245
vertdelta=-30
color=(1,0.6,0.5,1)

texture=back_prof1.tga
speed=0.5
height=160
vertical=230
vertdelta=-30

texture=back_prof2.tga
speed=0.5
wind=50
single=true
distance=500
height=160
vertical=265
vertdelta=-30

[/cave3]



______________________

[cave4/]

texture=rock1.jpg
speed=0.04
vertical=0
distance=150
color=(1,0.8,0.4,1)


texture=rock4.tga
speed=0.2
vertical=0
zastup_down=50
color=(1,0.4,0.1,1)

texture=rock3.tga
speed=0.35
vertical=-240
color=(1,0.6,0,1)

texture=rock2.tga
speed=0.35
vertical=210
color=(0.8,0.2,0.1,1)


texture=rock2.tga
speed=0.5
vertical=238
color=(1,0.4,0.1,1)

[/cave4]

___________


[mount2_night/]

texture=backsky1.jpg
width=512
height=256
wind=1
speed=0.01
vertical=172
noblend=true
color={1,0.6,0.7,1}

texture=backmount2.tga
speed=0.05
vertical=0
vertdelta=-5
color={0.7,0.6,0.5,1}

texture=grass.tga
speed=0.3
vertical=-250
vertdelta=5
color=(0.7,0.6,0.6,1)

texture=grass.tga
speed=0.5
vertical=-270
vertdelta=-20
zastup_down=20
color=(0.8,0.7,0.7,1)

[/mount2_night]


