
world worlds\L09.w

// hide

hide heli01
hide b2
hide hilu001



// start

black_out
combat_mode_off

super_line L9S01 -comment dajemy_supera

sound_ambient sounds\ambienty\ambient_podworko.wav


activate marine001
activate marine002
activate marine003
activate partner

set_warzone warzone000 -distance 7 -text L09L01 -waypoint w1
set L09_hum_stoi
wait 2

fade_in 1

wait 1
checkpoint zero
wait 1


use wsiada
wait 0.5 -waypoint *
unset_all_warzones

// gracz wsiada
activate gun001_g
gun_forbid_dismounting

gun_forbid_mounting gun002_g


wait 5

unset L09_hum_stoi
set L09_hum_jedzie

bezier_move hum001 hum001_bzr
bezier_move hum002 hum002_bzr

wait 1.5

dialogue L09_start hero partner marine003



use dojechali

set_warzone warzone099 -distance 15
set_warzone warzone100 -distance 40

set L09_hum_stoi
unset L09_hum_jedzie

combat_mode_on


dialogue L09_blokada hero partner marine003
wait_end_dialogue

gun_dismount out001
gun_forbid_mounting gun001_g // zabraniam ponownego przyklejenia do guna

character_phase marine003 hum_kierowca_wysiada09
set_anim d5 open_close


wait 3
checkpoint jeden
wait 2

dialogue L09_sprawdzmy_to hero partner marine003
wait_end_dialogue

sound sounds\plamy\pustynia_2.wav // tlo

wait 0.5 -waypoint w2

goto w2 -distance 15
wait 0.5 -waypoint *

// enemies

activate res098 -goto gtm098
activate res099 -goto gtm099

wait 2
activate res100 -goto gtm100
activate res100a
activate res101 -goto gtm101
activate res101a
activate res102 -goto gtm102
activate res102a

character_phase marine003 estimate


enemies_dead 60

wait 2

dialogue L09_ida hero partner marine003
wait_end_dialogue

move_character marine003 marine003_gtm001 -bezier marine003_bzr001 -phase_on_target estimate

wait 1 -waypoint w100a -objective L08O01

sound sounds\plamy\pustynia_1.wav // tlo

goto w100a -distance 7
wait 0.5 -waypoint w100b
character_phase marine003 estimate

goto w100b -distance 15



// 1 akcja pod wiezowcem

character_phase marine003 estimate

set wymus_muzyke


activate res126
activate res121 -goto gtm121
activate res122 -goto gtm122
activate res123 -goto gtm123
activate res123a

wait 2
activate res124 -goto gtm124
activate res125 -goto gtm125


enemy_dead res123
dialogue L09_czysto hero partner marine003
wait_end_dialogue


wait 0.5 -waypoint w101c

activate res127 -goto gtm127
activate res120 -goto gtm120





// tunel w wiezowcu
goto w101a -distance 15

move_character marine003 marine003_gtm002 -phase_on_target estimate

set_warzone warzone101 -distance 25
set_warzone warzone100a -distance 22
unset_warzone warzone100


activate res128 -goto gtm128
wait 1
activate res129 -goto gtm129
wait 2
activate res130 -goto gtm130
activate res131 -goto gtm131
activate res132


enemies_dead 60

move_character marine003 marine003_gtm003 -bezier marine003_bzr003 -phase_on_target estimate


// 3 akcja wyjscie na ulice

activate res133 -goto gtm133
wait 1 -waypoint *

activate res134 -goto gtm134
activate res135 -goto gtm135
activate res136 -goto gtm136
activate res137 -goto gtm137
activate res138

unhide hilu001

enemy_dead res134
enemy_dead res135

activate res143 -goto gtm143


// odpalam pojazd
activate res300
activate res301
bezier_move hilu001 hilu001_bzr


enemy_dead res143


activate res140 -goto gtm134
activate res141 -goto gtm135
activate res142 -goto gtm142

enemies_dead 100

move_character marine003 marine003_gtm004 -bezier marine003_bzr004 -phase_on_target stoi_celuje

wait 1
unset wymus_muzyke
wait 0.5 -waypoint w101b





// dialog na ulicy

goto w101b -distance 8

wait 1 -waypoint *
checkpoint dwa
wait 2

set_warzone warzone101a -distance 15


dialogue L09_ulica hero partner marine003
wait_end_dialogue
wait 0.5 -waypoint w101e

sound sounds\plamy\rooms_02.wav // tlo

move_character marine003 marine003_gtm005 -bezier marine003_bzr005 -phase_on_target stoi_celuje


// za budynkiem

goto w101e -distance 8
unset_warzone warzone101
wait 0.5 -waypoint *



// radio

character_phase marine003 m2_stoi_radio_wyciaga
wait 7

dialogue L09_radio1 hero partner marine003
wait_end_dialogue
wait 2
dialogue L09_radio2 hero partner marine003
wait_end_dialogue
wait 3
dialogue L09_radio3 hero partner marine003
wait_end_dialogue


character_phase marine003 m2_stoi_radio_opuszcza
wait 1
hide vhf
wait 2


dialogue L09_po_radiu hero partner marine003
wait_end_dialogue

wait 1
move_character marine003 marine003_gtm006 -phase_on_target estimate


// gracz w domku

set_warzone warzone102 -distance 15
unset_warzone warzone100a

goto w101 -distance 3 -waypoint w101

sound sounds\plamy\dach.wav // tlo

goto w101d -distance 2 -waypoint w101d
wait 0.5 -objective L03O02

activate res144 -goto gtm144
activate res145 -goto gtm145
activate res146
activate res147
activate res148 -goto gtm148
activate res149 -goto gtm149
activate res152

goto w102 -distance 3 -waypoint w102
wait 0.5 -waypoint *


dialogue L09_w_domku hero partner marine003

enemy_dead res145 
activate res150 -goto gtm150
activate res151 -goto gtm151
activate res153 -goto gtm153
activate res154 -goto gtm154

enemies_dead 60


// wszyscy przed budynkiem zgineli

move_character marine003 marine003_gtm007 -bezier marine003_bzr007 -phase_on_target stoi_celuje


activate res155 -goto gtm144

// heli01 oblatuje teren
unhide heli01
activate heli01_start

enemies_dead 60

goto warzone103 -distance 32 -waypoint w103
set_warzone warzone103 -distance 35


// hero wchodzi do domku

goto w103 -distance 12

character_phase marine003 m3_sygnal_idz
wait 2
dialogue L09_wchodz hero partner marine003

goto w103 -distance 3 -objective L09L02
wait 1 -waypoint w104


wait 1
checkpoint trzy
wait 2

sound sounds\plamy\pustynia_2.wav // tlo

move_character marine003 marine003_gtm008 -bezier marine003_bzr008 -phase_on_target stoi_celuje

goto w104 -distance 8 -waypoint w104b


//
// podworka
//

goto w104a -distance 12
move_character marine003 marine003_gtm009 -bezier marine003_bzr009 -phase_on_target estimate

goto warzone104 -distance 32
set_warzone warzone104 -distance 35
set_warzone warzone105 -distance 35
unset_warzone warzone102
unset_warzone warzone103


activate res156 -goto gtm156
activate res157 -goto gtm157
activate res158 -goto gtm158
activate res159 -goto gtm159
activate res160

goto w104b -distance 5 -waypoint w105
move_character marine003 marine003_gtm010 -bezier marine003_bzr010 -phase_on_target estimate



activate res161
activate res162
activate res163 -goto gtm163
activate res164 -goto gtm164


goto w104c -distance 8
move_character marine003 marine003_gtm011 -phase_on_target estimate


activate res165
activate res166
activate res167 -goto res167
activate res168
activate res169 -goto res169


goto w104d -distance 5
move_character marine003 marine003_gtm012 -bezier marine003_bzr012 -phase_on_target estimate


enemies_dead 60



wait 1
checkpoint cztery
wait 2


// rynek

goto w105 -distance 8 
wait 0.5 -waypoint w106


activate res172 -goto gtm172
activate res173 -goto gtm173
activate res174 -goto gtm174
activate res175 -goto gtm175
activate res176 -goto gtm176
activate res177 -goto gtm177
activate res178 -goto gtm178

enemies_dead 80


move_character marine003 marine003_gtm013 -bezier marine003_bzr013 -phase_on_target estimate

goto w106 -distance 20


// drugi heli
unhide b2
bezier_move b2 b2_bzr -waypoint *
activate pilot


wait 3

dialogue L09_koniec hero partner marine003

use koniec

wait 2

start_world worlds\L10.w





