ФЭНДОМ


Статья с похожим названием - Rain
Время от времени в режиме Прогулка\Город-день небо темнеет, прохожие достают зонты и идет дождь. Установка стандартная.

ПерспективыПравить

Ждать дождя приходится очень долго.

Как это работаетПравить

Изменением погоды управляет скрипт Rain, который по идее можно вставить в любую миссию.

Скрипт
dim_act 1
dim_flt 7
dim_frm 45
///programmed by atrox (c)
///sergey.brusov@gmail.com
findframe 0, "light03"
findframe 1, "mesto_dest"
findframe 2, "dest_barel1"
findframe 3, "dest_drevo1"
findframe 4, "dest_auto1"
findframe 5, "dest_metal1"
findframe 6, "destdoor1"
findframe 7, "plech1"
findframe 8, "potok1"
findframe 9, "pradlo1"
findframe 10, "dest_poryv"
findframe 11, "strecha1"
findframe 12, "stromy1"
findframe 13, "destsub1"
findframe 14, "velkydest"
findframe 15, "dest_hala"
findframe 16, "dest_schody"
findframe 17, "dest_barel2"
findframe 18, "dest_drevo2"
findframe 19, "dest_auto2"
findframe 20, "destdoor2"
findframe 21, "plech2"
findframe 22, "potok2"
findframe 23, "pradlo2"
findframe 24, "room2"
findframe 25, "strecha2"
findframe 26, "stromy2"
findframe 27, "destsub2"
findframe 28, "ambidest_2"
findframe 29, "dest_drevo3"
findframe 30, "dest_auto3"
findframe 31, "destdoor3"
findframe 32, "plech3"
findframe 33, "potok3"
findframe 34, "strecha3"
findframe 35, "stromy3"
findframe 36, "ambitown_dest"
findframe 37, "dest_drevo4"
findframe 38, "dest_auto4"
findframe 39, "destdoor4"
findframe 40, "plech4"
findframe 41, "potok4"
findframe 42, "strecha4"
findframe 43, "stromy4"
findframe 44, "hmla"

label 1
rnd 1,4
if flt[1]=0,-1,213
wait 990000
let flt[0] = flt[0] + 1
goto 2
label 213
if flt[1]=1,-1,214
wait 1200000
let flt[0] = flt[0] + 1
goto 2
label 214
if flt[1]=2,-1,215
wait 660000
let flt[0] = flt[0] + 1
goto 2
label 215
if flt[1]=3,-1,216
wait 900000
label 2
frm_seton 0, 0
weather_setparam ON, 1
weather_setparam LEN, 0.6
weather_setparam WIDTH, 0.03
weather_setparam MAX_DIST, 100
weather_setparam MAX_HEIGHT, 60
weather_setparam DIR_X, 0
weather_setparam DIR_Y, -0.98
let flt[0]=20
let flt[1]=10
frm_seton 1, 1
frm_seton 2, 1
frm_seton 3, 1
frm_seton 4, 1
frm_seton 5, 1
frm_seton 6, 1
frm_seton 7, 1
frm_seton 8, 1
frm_seton 9, 1
frm_seton 10, 1
frm_seton 11, 1
frm_seton 12, 1
frm_seton 13, 1
label 3
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]+10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]+20
if flt[0]=3000,-1,3
wait 60000
frm_seton 1, 0
frm_seton 2, 0
frm_seton 3, 0
frm_seton 4, 0
frm_seton 6, 0
frm_seton 7, 0
frm_seton 8, 0
frm_seton 9, 0
frm_seton 10, 0
frm_seton 11, 0
frm_seton 12, 0
frm_seton 13, 0
frm_seton 14, 1
frm_seton 15, 1
frm_seton 16, 1
frm_seton 17, 1
frm_seton 18, 1
frm_seton 19, 1
frm_seton 20, 1
frm_seton 21, 1
frm_seton 22, 1
frm_seton 23, 1
frm_seton 24, 1
frm_seton 25, 1
frm_seton 26, 1
frm_seton 27, 1
label 4
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]+10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]+20
if flt[0]=6000,-1,4
weather_setparam LEN, 0.7
weather_setparam WIDTH, 0.06
wait 60000
frm_seton 14, 0
frm_seton 16, 0
frm_seton 18, 0
frm_seton 19, 0
frm_seton 20, 0
frm_seton 21, 0
frm_seton 22, 0
frm_seton 25, 0
frm_seton 26, 0
frm_seton 28, 1
frm_seton 29, 1
frm_seton 30, 1
frm_seton 31, 1
frm_seton 32, 1
frm_seton 33, 1
frm_seton 34, 1
frm_seton 35, 1
label 5
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]+10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]+20
if flt[0]=8000,-1,5
weather_setparam LEN, 0.8
weather_setparam WIDTH, 0.09
wait 60000
frm_seton 28, 0
frm_seton 29, 0
frm_seton 30, 0
frm_seton 31, 0
frm_seton 32, 0
frm_seton 33, 0
frm_seton 34, 0
frm_seton 35, 0
frm_seton 36, 1
frm_seton 37, 1
frm_seton 38, 1
frm_seton 39, 1
frm_seton 40, 1
frm_seton 41, 1
frm_seton 42, 1
frm_seton 43, 1
frm_seton 44, 1
label 6
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]+10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]+20
if flt[0]=10000,-1,6
weather_setparam LEN, 0.9
weather_setparam WIDTH, 0.1
wait 120000
frm_seton 36, 0
frm_seton 37, 0
frm_seton 38, 0
frm_seton 39, 0
frm_seton 40, 0
frm_seton 41, 0
frm_seton 42, 0
frm_seton 43, 0
frm_seton 28, 1
frm_seton 29, 1
frm_seton 30, 1
frm_seton 31, 1
frm_seton 32, 1
frm_seton 33, 1
frm_seton 34, 1
frm_seton 35, 1
label 7
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]-10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]-20
if flt[0]=8000,-1,7
weather_setparam LEN, 0.7
weather_setparam WIDTH, 0.06
wait 30000
frm_seton 28, 0
frm_seton 29, 0
frm_seton 30, 0
frm_seton 31, 0
frm_seton 32, 0
frm_seton 33, 0
frm_seton 34, 0
frm_seton 35, 0
frm_seton 14, 1
frm_seton 15, 1
frm_seton 16, 1
frm_seton 17, 1
frm_seton 18, 1
frm_seton 19, 1
frm_seton 20, 1
frm_seton 21, 1
frm_seton 22, 1
frm_seton 23, 1
frm_seton 24, 1
frm_seton 25, 1
frm_seton 26, 1
frm_seton 27, 1
label 8
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]-10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]-20
if flt[0]=6000,-1,8
weather_setparam LEN, 0.6
weather_setparam WIDTH, 0.03
wait 30000
frm_seton 14, 0
frm_seton 15, 0
frm_seton 17, 0
frm_seton 18, 0
frm_seton 19, 0
frm_seton 20, 0
frm_seton 21, 0
frm_seton 22, 0
frm_seton 23, 0
frm_seton 24, 0
frm_seton 25, 0
frm_seton 26, 0
frm_seton 27, 0
frm_seton 1, 1
frm_seton 2, 1
frm_seton 3, 1
frm_seton 4, 1
frm_seton 5, 1
frm_seton 6, 1
frm_seton 7, 1
frm_seton 8, 1
frm_seton 9, 1
frm_seton 10, 1
frm_seton 11, 1
frm_seton 12, 1
frm_seton 13, 1
label 9
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]-10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]-20
if flt[0]=3000,-1,9
wait 30000
label 10
weather_setparam SPEED, flt[1]
let flt[1]=flt[1]-10
wait 500
weather_setparam MAX_CNT, flt[0]
let flt[0]=flt[0]-20
if flt[0]=0,-1,10
frm_seton 0, 1
frm_seton 1, 0
frm_seton 2, 0
frm_seton 3, 0
frm_seton 4, 0
frm_seton 5, 0
frm_seton 6, 0
frm_seton 7, 0
frm_seton 8, 0
frm_seton 9, 0
frm_seton 10, 0
frm_seton 11, 0
frm_seton 12, 0
frm_seton 13, 0
frm_seton 15, 0
frm_seton 16, 0
frm_seton 17, 0
frm_seton 23, 0
frm_seton 24, 0
frm_seton 27, 0
frm_seton 44, 0
weather_setparam ON, 0
goto 1

Обнаружено использование расширения AdBlock.


Викия — это свободный ресурс, который существует и развивается за счёт рекламы. Для блокирующих рекламу пользователей мы предоставляем модифицированную версию сайта.

Викия не будет доступна для последующих модификаций. Если вы желаете продолжать работать со страницей, то, пожалуйста, отключите расширение для блокировки рекламы.

Также на ФЭНДОМЕ

Случайная вики