source: nikanabo/current/bsl/original/IGMD/Airport/airport_cutscene.bsl@ 1049

Last change on this file since 1049 was 185, checked in by geyser, 18 years ago
File size: 4.6 KB
Line 
1#
2# airport_cutscene.bsl
3#
4
5func
6airport_cs_intro
7{
8 #creates the cars, van
9 obj_create 633 633
10 obj_create 6331 6331
11 obj_create 647 647
12 obj_create 6471 6471
13 obj_create 960 960
14 obj_create 9601 9602
15 obj_create 2 7
16 fade_out 0 0 0 0
17 cm_interpolate Camout01 0
18 sleep f7
19
20 begin_cutscene
21
22 cm_jello 0
23 #fade_out 0 0 0 0
24 letterbox 1
25 fade_in 120
26 fork camcontrol
27
28 sound_music_start mus_asian 0.5
29 music_script_start();
30
31 sleep 120
32 fork intro_cars
33 #van start
34 env_anim 2 7
35
36 fork shinatama_comm
37
38 sleep 855
39 chr_nocollision 0 1
40 #konoko on bike start
41 chr_envanim 0 IntroKonokoBox01
42 chr_animate 0 KONOKOcycle_ride 500
43 obj_create 10 12
44 env_anim 10 12
45 sleep 6
46 chr_create 100 start
47 ai2_spawn IntroStriker01
48 ai2_spawn IntroStriker02
49
50 chr_forceholster IntroStriker02 1
51
52 sleep 1
53 playback 100 IntroMuro01
54 playback IntroStriker01 IntroComguy01
55 playback IntroStriker02 IntroStriker01
56 sleep 498
57 #kill van object
58 obj_kill 2 7
59 #konoko off bike
60 chr_envanim 0 IntroKonokoBox02 norotation
61 chr_animate 0 KONOKOlev4_intro
62
63 sound_music_volume mus_asian .25 0.5
64
65 cinematic_start(KONtalkangryfront, 180, 180, 15, 3, 10, false)
66 sleep 60
67 sound_dialog_play c04_14_02konoko
68 sleep 120
69 cinematic_stop (KONtalkangryfront, 16, 20)
70 playback 100 IntroMuro02
71 playback IntroStriker01 IntroComguy02
72 playback IntroStriker02 IntroStriker02
73 sleep 60
74 cinematic_start(MUROtalking, 180, 180, 15, 1, 15, false)
75 sleep f50
76 sound_dialog_play c04_14_01muro
77 sound_dialog_play_block pause
78 cinematic_stop (MUROtalking, 15, 30)
79
80 sound_music_volume mus_asian 0.8 2.0
81
82 playback 0 IntroKonoko01
83 chr_nocollision 0 0
84 obj_kill 10 12
85 env_show 10 1
86 env_show 11 1
87 env_show 12 1
88
89 chr_forceholster IntroStriker02 0
90
91 sleep 60
92 set_objective_1
93 set_target_1
94
95 save_point_1
96
97 sleep 260
98 chr_delete 100
99}
100
101func
102camcontrol
103{
104 cm_anim both Camout01
105 sleep f80
106 sound_ambient_start c03_44_03truckby
107 cm_anim_block both Camout02
108 sound_ambient_start c03_49_16_truck
109 cm_anim_block both Camout03
110 sound_ambient_start c03_49_16_motorcycle
111 cm_anim_block both Camout04
112 cm_wait
113 sleep 2
114 cm_interpolate Camout05 0
115 sleep 1
116 cm_interpolate Camout06 120
117 sleep 300
118 cm_reset
119 cm_jello 1
120 letterbox 0
121 end_cutscene
122}
123
124func
125intro_cars
126{
127 sleep 633
128 env_anim 633 633
129 env_anim 6331 6331
130 sleep 14
131 env_anim 647 647
132 env_anim 6471 6471
133 sleep 203
134 sleep 110
135 env_anim 960 960
136 env_anim 9601 9602
137 sleep 560
138 obj_kill 633 633
139 obj_kill 6331 6331
140 obj_kill 647 647
141 obj_kill 6471 6471
142 obj_kill 960 960
143 obj_kill 9601 9602
144}
145
146func shinatama_comm
147 {
148 sleep 90
149 sound_music_volume mus_asian 0.35 1.0
150 sound_dialog_play c00_01_104shinatama
151 cinematic_start (SHINtalking, 180, 180, 15, 1, 20, false)
152 sound_dialog_play_block pause
153 cinematic_stop (SHINtalking, 15, 20)
154 sound_music_volume mus_asian 0.5 1.0
155 }
156
157func
158Booth(string wazzzup)
159{
160 begin_cutscene weapon
161 #make Konoko run to a flag
162 ai2_takecontrol 1
163 ai2_movetoflag 0 1091
164 cm_interpolate BoothCamMuroWalk 240
165 ai2_spawn BoothMuro01
166 playback BoothMuro01 BoothMuroWalk
167 #Muro just stands there and talks for a while
168 sleep f180
169 cinematic_start(MUROtalking, 180, 180, 19, 7, 20, false)
170 sound_dialog_play c04_17_01muro
171 sound_dialog_play_block pause
172 #Konoko looks to see Strikers
173 ai2_takecontrol 0
174 cm_interpolate BoothCamKonokoLook 0
175 playback 0 BoothKonokoLook
176 ai2_spawn BoothStriker01
177 ai2_spawn BoothStriker02
178 sleep 30
179 playback BoothStriker01 BoothStriker01
180 playback BoothStriker02 BoothStriker02
181 sleep 50
182 #Strikers rush in
183 cm_interpolate BoothCamStrike01 0
184 cm_interpolate_block BoothCamStrike02 180
185 sleep f60
186 sound_dialog_play c04_17_02muro
187 sleep 140
188 #Muro walks out the door
189 playback BoothMuro01 BoothMuroLeave
190 sleep 30
191 cm_interpolate BoothCamLeave01 0
192 cm_interpolate_block BoothCamLeave02 300
193 sleep f30
194 sleep f50
195 sound_dialog_play c04_17_03muro
196 sound_dialog_play_block pause
197 sleep f30
198
199 sound_music_start mus_asian 0.8
200 music_script_start
201 trigvolume_enable stop_booth_music_tv 1
202
203 cinematic_stop (MUROtalking, 15, 20)
204 sleep 120
205 cm_reset
206 fork FixDoors
207
208 particle door2_locklight01 do stop
209 particle door7_locklight01 do stop
210 door_lock 7
211 set_target_blank
212
213 chr_delete TerminalTwo_Striker_1
214 chr_delete TerminalTwo_Striker_2
215 chr_delete Tarmac_Striker_2
216 chr_delete Tarmac_Striker_4
217
218 chr_delete BoothMuro01
219 end_cutscene
220}
221
222func void stop_booth_music(string who)
223{
224 sound_music_stop mus_asian
225}
226
227func
228outro(string wazzup)
229{
230 begin_cutscene
231 #cm_interpolate OutroCam01 0
232 #playback 0 OutroKonoko
233 #sleep 400
234 fade_out 0 0 0 60
235 sleep f120
236 win
237}
238
239
240
Note: See TracBrowser for help on using the repository browser.