source: AE/packages/VanillaBSL/IGMD/dream_lab/dream_lab_cutscene.bsl@ 583

Last change on this file since 583 was 529, checked in by iritscen, 15 years ago

Folding BSL widescreen fixes into VanillaBSL because that's where they need to be.

File size: 9.8 KB
Line 
1#
2# dreamlab_cutscene.bsl
3#
4
5func void stop_xtr2_in_15(void)
6{
7 sleep 720
8 sound_music_stop mus_xtr2
9}
10
11
12func void
13intro(
14 void)
15{
16 fade_out 0 0 0 0
17 obj_create 131 132
18 cm_interpolate IntroCamOpen 0
19 sleep f14
20 begin_cutscene
21 env_show 231 0
22 env_show 232 0
23 sleep f90
24 chr_envanim 0 IntroKonBox01 norotation
25 chr_animate 0 KONOKOlev13_Sit 8000
26 cm_interpolate IntroCamOpen 0
27 fade_in 120
28 sleep f180
29 #Konoko opens up laptop
30 cm_anim both IntroCamOpen
31 sound_dialog_play c12_42_01konoko
32 sound_music_start atm_cl16 0.75
33 sleep f285
34 chr_envanim 0 IntroKonBox01 norotation
35 chr_animate 0 KONOKOlev13_Open
36 env_anim 131 132
37 #Konoko puts in disk
38 cm_wait
39 obj_create 481 481
40 cm_anim both IntroCamDisk
41 chr_envanim 0 IntroKonBox01 norotation
42 chr_animate 0 KONOKOlev13_Disk
43 env_anim 481 481
44 sleep f83
45 obj_kill 481 481
46 cm_wait
47 #Konoko reads
48 chr_envanim 0 IntroKonBox01 norotation
49 chr_animate 0 KONOKOlev13_Sit 8000
50 cm_anim both ImageCam01
51 sound_dialog_play c12_43_01hasegawa
52 sleep f100
53 obj_create 101 107
54 env_anim 101 101
55 sleep f80
56 fadefog
57 sound_dialog_play_block pause
58 sound_dialog_play c12_43_02hasegawa
59 sound_dialog_play_block pause
60 sleep f15
61 sound_dialog_play c12_43_03hasegawa
62 sleep 120
63 env_anim 102 102
64 sound_dialog_play_block pause
65 sleep f15
66 sound_dialog_play c12_43_04hasegawa
67 env_anim 103 103
68 obj_kill 101 101
69 sound_dialog_play_block pause
70 sleep f15
71 sound_dialog_play c12_43_05hasegawa
72 sound_dialog_play_block pause
73 chr_envanim 0 IntroKonBox01 norotation
74 chr_animate 0 KONOKOlev13_Sit 8000
75 sleep f10
76 env_anim 104 104
77 sleep f80
78 sound_dialog_play c12_43_06hasegawa
79 sound_dialog_play_block pause
80 sleep f60
81 sound_dialog_play c12_43_07hasegawa
82 sound_music_volume atm_cl16 0.0 6.0
83 sound_music_start atm_cl05 0.1
84 sound_music_volume atm_cl05 0.5 6.0
85
86 obj_kill 102 102
87 sound_dialog_play_block pause
88 sleep f15
89 sleep f50
90 env_anim 105 105
91 sound_dialog_play c12_43_08hasegawa
92 obj_kill 103 103
93 sound_dialog_play_block pause
94 sleep f45
95 sound_dialog_play c12_43_09hasegawa
96 env_anim 106 106
97 obj_kill 104 104
98 sound_dialog_play_block pause
99 sleep f60
100 sound_dialog_play c12_43_10hasegawa
101 env_anim 107 107
102 obj_kill 105 105
103 sound_dialog_play_block pause
104 sleep f120
105 #put gunshot and sobbing in here
106
107 sound_ambient_start gunshot
108 sound_music_stop atm_cl16
109 sound_music_volume atm_cl05 0.0 0.25
110
111 sleep 120
112
113 sound_music_stop atm_cl05
114 sound_music_start mus_xtr2 0.6
115
116 sleep 120
117 #sound_dialog_play hasegawa_cry
118 #sound_dialog_play_block pause
119 #sleep f90
120 #Konoko reads more
121 chr_envanim 0 IntroKonBox01 norotation
122 chr_animate 0 KONOKOlev13_Sit 8000
123 cm_interpolate IntroCamHighLeft 0
124 cm_interpolate_block IntroCamHighRight 1000
125 fork stop_xtr2_in_15
126 sound_dialog_play c12_43_11hasegawa
127 sound_dialog_play_block pause
128 #camera pans to see wall missing and Konoko looks up
129 env_show 200 0
130 env_show 227 0
131 env_show 201 0
132 env_show 999 0
133 chr_envanim 0 IntroKonBox01 norotation
134 chr_animate 0 KONOKOlev13_Sit 8000
135 cm_interpolate IntroCamLowLeft 0
136 obj_kill 106 106
137 obj_kill 107 107
138 gl_fog_end=1
139 gl_fog_start=.975
140 cm_interpolate_block IntroCamLook 800
141 sound_dialog_play c12_44_01konoko
142
143 particle fog_floor1 do start
144
145 sleep f360
146
147 ai2_spawn IntroMuro
148 chr_lock_active IntroMuro
149 ai2_passive IntroMuro 1
150 playback IntroMuro IntroMuroEnter
151 chr_nocollision IntroMuro 1
152 sound_dialog_play_block pause
153 cinematic_start (MUROevilgrin, 180, 180, 15, 1, 20, false)
154
155 sound_music_start mus_om01 .75
156
157 sound_dialog_play c12_44_02muro
158 chr_animate 0 KONOKOlev13_Look
159 sleep f75
160 #Konoko gets up
161 chr_envanim 0 IntroKonBox02 norotation
162 chr_animate 0 KONOKOlev13_Getup
163 cm_anim both IntroCamGetup
164 sound_dialog_play_block pause
165 sleep f60
166 sound_dialog_play c12_44_03konoko
167 cinematic_start (KONlistening, 180, 180, 20, 9, 20, true)
168 cm_wait
169 #Camera pans to show Konoko from behind
170 env_show 231 1
171 env_show 232 1
172 obj_kill 131 132
173 playback 0 IntroKonokoSet
174 cm_interpolate IntroCamDoor01 0
175 cm_interpolate_block IntroCamDoor02 180
176 sound_dialog_play_block pause
177 sound_dialog_play c12_44_04muro
178 sleep f240
179 cinematic_stop (KONlistening, 20, 20)
180 cinematic_stop (MUROevilgrin, 15, 20)
181 #gameplay resumes
182 cm_reset
183 end_cutscene
184 ai2_passive IntroMuro 1
185 chr_nocollision IntroMuro 0
186
187 save_point_1
188}
189
190
191
192func void
193murodeath(
194 void)
195{
196 dprint WE_KILLED_MURO
197
198 env_show 999 0
199 env_show 1010 0
200 gs_farclipplane_set 2000
201
202 # ensure that muro doesn't get knocked out of his "death" anim
203 chr_unstoppable IntroMuro 1
204
205 chr_animate IntroMuro COMCOMlev13_death 120
206 gl_fog_start_changeto .995 30
207 sleep f24
208 chr_delete IntroMuro
209
210 sound_music_volume mus_om01 0.0 1.0
211 sound_music_start atm_gr09 0.75
212
213 objective_set(1)
214
215 sleep 60
216 sound_music_stop mus_om01
217}
218
219
220func void
221griffindeath(
222 void)
223{
224 # ensure that griffin doesn't get knocked out of his "death" anim
225 chr_unstoppable griffin 1
226
227 chr_animate griffin COMCOMlev13_death 120
228 sleep f20
229 chr_delete griffin
230 door_unlock 3
231}
232
233func void
234fadefog(
235 void)
236{
237 gl_fog_start_changeto .8 45
238}
239
240
241func void
242murofog(
243 void)
244{
245 ai2_passive IntroMuro 0
246 env_show 201 1
247 env_show 999 1
248 env_show 250 0
249 env_show 252 0
250 gl_fog_start_changeto .95 12
251 sleep f12
252 gs_farclipplane_set 75
253}
254
255
256
257
258
259func void
260Griffin01(
261 void)
262{
263 begin_cutscene
264 door_lock 2
265 chr_lock_active griffin
266 playback griffin GrifGriffinSet
267 cm_interpolate GrifCamGriffin 200
268 #griffin talks
269 sleep f120
270 sound_dialog_play c12_45_01griffin
271 cinematic_start (GRIFtalkangry, 180, 180, 16, 3, 20, true)
272 playback 0 GrifKonokoSet
273 sound_dialog_play_block pause
274 cm_interpolate GrifCamKonoko01 0
275 cm_interpolate_block GrifCamKonoko02 800
276 sound_dialog_play c12_45_02konoko
277 cinematic_start (KONintense, 180, 180, 19, 7, 20, true)
278 sound_dialog_play_block pause
279 sound_dialog_play c12_45_03griffin
280 sound_dialog_play_block pause
281 cm_interpolate GrifCamBoth01 0
282 cm_interpolate_block GrifCamBoth02 800
283 sound_dialog_play c12_45_04konoko
284 sound_dialog_play_block pause
285 sound_dialog_play c12_45_05griffin
286 sound_dialog_play_block pause
287 cinematic_stop (KONintense, 20, 20)
288 cinematic_stop (GRIFtalkangry, 15, 20)
289 cm_reset
290 end_cutscene
291 save_point_2
292}
293
294func void
295Konoko01(
296 void)
297{
298 begin_cutscene weapon
299 chr_lock_active evilkonoko
300 playback evilkonoko KonKonoko01Set
301 cm_interpolate KonCamKon01 200
302 #griffin talks
303 sleep f120
304 sound_dialog_play c12_46_01badasskon
305 cinematic_start (KONevil, 180, 180, 15, 1, 20, true)
306 playback 0 KonKonokoSet
307 sound_dialog_play_block pause
308 cm_interpolate KonCamBoth01 0
309 cm_interpolate_block KonCamBoth02 1000
310 sound_dialog_play c12_46_02konoko
311 cinematic_start (KONintense, 180, 180, 20, 9, 20, true)
312 sound_dialog_play_block pause
313 sound_dialog_play c12_46_03badasskon
314 sound_dialog_play_block pause
315 sound_dialog_play c12_46_04konoko
316 sound_dialog_play_block pause
317 sound_dialog_play c12_46_05badasskon
318 sound_dialog_play_block pause
319 sound_dialog_play c12_46_06konoko
320 sound_dialog_play_block pause
321 sound_dialog_play c12_46_07badasskon
322 cinematic_stop (KONintense, 20, 20)
323 sound_dialog_play_block pause
324 cinematic_stop (KONevil, 15, 20)
325 cm_reset
326 chr_animate evilkonoko KONOKOpowerup 0
327 chr_set_health evilkonoko 400
328 sleep f245
329 end_cutscene
330 env_show 250 1
331 env_show 252 1
332}
333
334func void
335Konoko02(
336 void)
337{
338 begin_cutscene
339 chr_lock_active evilkonoko
340 playback evilkonoko Kon2Konoko02Set
341 cm_interpolate Kon2CamKon201 140
342 sleep f120
343 cm_interpolate Kon2CamKon202 180
344 #griffin talks
345 sleep f120
346 sound_dialog_play c12_46_01badasskon
347 cinematic_start (KONevil, 180, 180, 15, 1, 20, true)
348 playback 0 Kon2KonokoSet
349 sound_dialog_play_block pause
350 cm_interpolate Kon2Both01 0
351 cm_interpolate_block Kon2Both02 1000
352 sound_dialog_play c12_46_02konoko
353 cinematic_start (KONintense, 180, 180, 20, 9, 20, true)
354 sound_dialog_play_block pause
355 sound_dialog_play c12_46_03badasskon
356 sound_dialog_play_block pause
357 sound_dialog_play c12_46_04konoko
358 sound_dialog_play_block pause
359 sound_dialog_play c12_46_05badasskon
360 sound_dialog_play_block pause
361 sound_dialog_play c12_46_06konoko
362 sound_dialog_play_block pause
363 sound_dialog_play c12_46_07badasskon
364 cinematic_stop (KONintense, 20, 20)
365 sound_dialog_play_block pause
366 cinematic_stop (KONevil, 15, 20)
367 cm_reset
368 chr_animate evilkonoko KONOKOpowerup 0
369 chr_set_health evilkonoko 400
370 sleep f245
371 end_cutscene
372}
373
374
375func void
376Griffin02(
377 void)
378{
379 begin_cutscene
380 chr_lock_active griffin_2
381 playback griffin_2 Grif2GrifSet
382 cm_interpolate Kon2CamKon201 140
383 sleep f120
384 cm_interpolate Kon2CamKon202 180
385 #griffin talks
386 sleep f120
387 sound_dialog_play c12_45_01griffin
388 cinematic_start (GRIFtalkangry, 180, 180, 15, 1, 20, true)
389 playback 0 Kon2KonokoSet
390 sound_dialog_play_block pause
391 cm_interpolate Kon2Both01 0
392 cm_interpolate_block Kon2Both02 1000
393 sound_dialog_play c12_45_02konoko
394 cinematic_start (KONintense, 180, 180, 20, 9, 20, true)
395 sound_dialog_play_block pause
396 sound_dialog_play c12_45_03griffin
397 sound_dialog_play_block pause
398 sound_dialog_play c12_45_04konoko
399 sound_dialog_play_block pause
400 sound_dialog_play c12_45_05griffin
401 sound_dialog_play_block pause
402 cinematic_stop (KONintense, 20, 20)
403 cinematic_stop (GRIFtalkangry, 15, 20)
404 cm_reset
405 end_cutscene
406}
407
408
409func void delay_then_play_wakeup(void)
410{
411 sleep 5
412 sound_impulse_play konoko_wakeup
413
414}
415
416func void
417outro(
418 void)
419{
420 begin_cutscene
421 env_show 252 1
422 env_show 250 1
423 env_show 200 1
424 env_show 227 1
425 env_show 231 0
426 env_show 232 0
427 fade_out 0 0 0 10
428 sleep f10
429 delay_then_play_wakeup
430 ai2_spawn outro_konoko
431 chr_envanim outro_konoko OutroKonBox01 norotation
432 chr_animate outro_konoko KONOKOlev13_outro
433 cm_anim both OutroCam01
434 fade_in 5
435 sleep f240
436 fade_out 0 0 0 60
437 sleep 90
438 end_cutscene
439 win
440}
Note: See TracBrowser for help on using the repository browser.