source: nikanabo/current/bsl/original/IGMD/neuro/neuro_cutscene.bsl@ 662

Last change on this file since 662 was 185, checked in by geyser, 18 years ago
File size: 22.5 KB
Line 
1#
2# neuro_cutscene.bsl
3#
4
5func void
6neuro_cs_intro(
7 void)
8{
9 fade_out 0 0 0 0
10 env_show 271 0
11 env_show 272 0
12 obj_create 271 272
13 cm_interpolate IntroCamOut01 0
14 sleep f14
15 obj_shade 271 272 .4 .4 .2
16 begin_cutscene
17 sleep f1
18 sound_music_start mus_low1 1.0
19 #fork music_force_stop
20 #Camera shot outside
21 cm_interpolate IntroCamOut01 0
22 ai2_spawn IntroTCTF01
23 playback IntroTCTF01 IntroSecSet
24 fade_in 60
25 sleep f100
26 playback IntroTCTF01 IntroSecStart
27 sleep f200
28 #Lobby shot
29 cm_interpolate IntroCamIn01 0
30 sleep f180
31 sound_dialog_play c13_47_03blackops
32 cinematic_start (TCTFtalking, 180, 180, 20, 9, 20, true)
33 sleep f60
34 #Security lets guy in
35 cm_interpolate IntroCamSecSet 0
36 playback IntroTCTF01 IntroSecSet
37 sleep f150
38 sound_dialog_play c13_47_04opsguard2
39 cinematic_start (BOPSface, 180, 180, 15, 1, 20, false)
40 sleep f150
41 cinematic_stop (BOPSface, 15, 20)
42 cinematic_stop (TCTFtalking, 20, 20)
43 #Door opens
44 ai2_spawn IntroTCTF02
45 cm_interpolate IntroCamDoorOpen 0
46 playback IntroTCTF01 IntroSecSet
47 playback IntroTCTF02 IntroSecWalk
48 env_anim 271 272
49 sound_ambient_start c12_42_00door
50 sleep f240
51 #camera inside looking down
52 cm_interpolate IntroCamTopDown 0
53 playback 0 IntroKonCrouch
54 chr_animate 0 KONOKOcrouch_idle 1000
55 sleep f300
56 #camera showing security talking
57 playback IntroTCTF01 IntroSecMonitor01
58 #cm_interpolate IntroCamBothTalk 0
59 #sleep f180
60 #Security goes over to monitors
61 cm_interpolate IntroCamMonitorMid 0
62 playback IntroTCTF02 IntroSecMonitor02
63 #next line was 180
64 sleep f120
65 sound_dialog_play c13_47_01opsguard1
66 cinematic_start (TCTFtalking, 180, 180, 20, 9, 20, true)
67 sleep f60
68 #konoko jumps down behind Security
69 cm_interpolate IntroCamKonDrop 0
70 sleep f120
71 chr_envanim 0 IntroKonBox01 norotation
72 chr_animate 0 KONOKOlev14_IntroJump
73 #Konoko hides from guys
74 chr_envanim_block 0 IntroKonBox02 norotation
75 cm_anim both IntroCamHide
76 sound_dialog_play c13_47_02opsguard2
77 cinematic_start (BOPSface, 180, 180, 15, 1, 20, false)
78 sleep f100
79 chr_animate 0 KONOKOlev14_IntroHide
80 sound_dialog_play_block pause
81 cinematic_stop (BOPSface, 15, 20)
82 cinematic_stop (TCTFtalking, 20, 20)
83 #Show doors closing
84 cm_wait
85 cm_interpolate IntroCamDoors 0
86 env_setanim 271 IntroDoorRt01
87 env_setanim 272 IntroDoorLt01
88 sound_ambient_start c13_04_03doorclose
89 sleep f120
90 #Konoko makes a run for it
91 env_setanim 271 IntroDoorRt01
92 env_setanim 272 IntroDoorLt01
93 cm_anim both IntroCamKonRun
94 chr_envanim 0 IntroKonBox03 norotation
95 chr_animate 0 KONOKOlev14_IntroRun
96 sound_music_stop mus_low1
97 #Konoko dives through closing door and sec turns around
98 cm_anim_block both IntroCamKonDive
99 chr_envanim 0 IntroKonBox04 norotation
100 chr_animate 0 KONOKOlev14_IntroDive
101 playback IntroTCTF01 IntroSecEnd
102 chr_envanim IntroTCTF02 IntroSecBox01 norotation
103 chr_animate IntroTCTF02 SECURIlev14_IntroTurn
104 #reset cam outside
105 cm_wait
106 playback 0 IntroKonstart
107 sleep f10
108 cm_reset
109 chr_delete IntroTCTF01
110 chr_delete IntroTCTF02
111 obj_kill 271 272
112 env_show 271 1
113 env_show 272 1
114 env_shade 271 272 .4 .4 .2
115 fork Setup_Intro
116 fork set_objective_1
117 end_cutscene
118}
119
120
121func void
122spawn_kerr(
123 void)
124{
125 ai2_spawn ScanKerr01
126 ai2_passive ScanKerr01 1
127 chr_unstoppable KerrKerr 1
128 chr_delete KerrKerr
129}
130
131
132func void
133scanner_start(
134 void)
135{
136 var int number_near = 0;
137
138 number_near = number_near + trigvolume_count(68);
139 number_near = number_near + trigvolume_count(69);
140 number_near = number_near + trigvolume_count(70);
141 number_near = number_near + trigvolume_count(71);
142
143 if (number_near eq 0)
144 {
145 trigvolume_enable trigger_volume_13 0
146 doscanscene
147 }
148}
149
150##############################
151
152func void wait_and_play_xtr5(void)
153{
154 sleep 60
155 sound_music_start mus_xtr5 1.0
156}
157
158
159func void
160doscanscene(
161 void)
162{
163 sound_ambient_start lab_amb1 0.1
164 sound_ambient_volume lab_amb1 1 2
165 fork Scan_Guards
166 has_probed = 1
167 begin_cutscene
168 #hide scanner gunk
169 env_show 51 0
170 env_show 52 0
171 env_show 53 0
172 env_show 54 0
173 env_show 55 0
174 env_show 56 0
175 env_show 57 0
176 env_show 58 0
177 env_show 59 0
178 obj_create 51 59
179 #create this character before konoko gets into the scanner room
180 cm_interpolate ScanCamDocTalk 200
181 #patrol Konoko to flag 1009
182 ai2_takecontrol 1
183 ai2_movetoflag 0 1009
184 sleep f200
185 #Konoko talks
186 ai2_takecontrol 0
187 playback 0 ScanKonokoSet
188 sound_dialog_play c13_64_01konoko
189 cinematic_start (KONlistening, 180, 180, 19, 7, 20, false)
190 sound_dialog_play_block pause
191 sleep f15
192 #Doctor says Go Sit in That Chair
193 cm_interpolate ScanCamDocTalk 0
194 sound_dialog_play c13_65_01kerr
195 cinematic_start (KERRtalking, 180, 180, 20, 9, 20, true)
196 sound_dialog_play_block pause
197 sleep f25
198 #Is this necessary?
199 cm_interpolate ScanCamBoth 0
200 sound_dialog_play c13_65_02konoko
201 sound_dialog_play_block pause
202 sleep f10
203 sound_dialog_play c13_65_03kerr
204 sound_dialog_play_block pause
205 cinematic_stop (KERRtalking, 20, 20)
206 #Konoko walk to chair & doctor walks to booth
207 playback 0 ScanKonokoWalk
208 cm_interpolate ScanCamKonWalk 0
209 playback ScanKerr01 ScanDoctorWalk
210 sleep f120
211 sound_dialog_play c13_65_04konoko
212 sleep f140
213 cinematic_stop (KONlistening, 19, 20)
214 #chair drops
215 cm_interpolate ScanCamChairDown 0
216 sleep f30
217 cutscene_sync mark
218 sound_ambient_start c18_01_29_effectsa
219 sleep f30
220 env_setanim 53 Scan_chair01
221 env_setanim 54 Scan_chair02
222 env_setanim 55 Scan_chair03
223 sleep f30
224 sleep f150
225 #Doctor enters booth
226 cm_interpolate ScanCamBoothIn 0
227 sleep f200
228 #show doctor in booth
229 playback ScanKerr01 ScanDocBooth
230 cm_interpolate ScanCamBooth 0
231 chr_envanim 0 ScanKonBox04
232 chr_animate 0 KONOKOlev14_scan 500
233 sound_dialog_play c13_65_05kerr
234 cinematic_start (KERRtalking, 180, 180, 20, 9, 20, true)
235 sound_dialog_play_block pause
236 cinematic_stop (KERRtalking, 20, 20)
237 sleep f30
238 #scanner starts
239 env_setanim 51 Scan_arm01
240 env_setanim 52 Scan_arm02
241 env_setanim 53 Scan_chair0101
242 env_setanim 54 Scan_chair0201
243 env_setanim 55 Scan_chair0301
244 env_setanim 56 Scan_tube01
245 env_setanim 57 Scan_tube02
246 env_setanim 58 Scan_tube03
247 env_setanim 59 Scan_tube04
248 chr_envanim 0 ScanKonBox01
249 chr_animate 0 KONOKOlev14_scan 2000
250 cm_interpolate ScanCamScan01 0
251 sleep f60
252 cutscene_sync mark
253 sound_ambient_start c18_01_29_effectsb
254 sleep f120
255 cm_interpolate_block ScanCamScan02 300
256 #Konoko gets scanned
257 chr_envanim_block 0 ScanKonBox02
258 chr_animate 0 KONOKOlev14_scan 2000
259 cm_interpolate ScanCamScan03 0
260 cm_interpolate_block ScanCamScan04 360
261 particle brainscan do start
262 sound_ambient_start scanner
263 sleep f120
264 sound_ambient_volume scanner .5 2
265 sleep f60
266 #Doctor in booth
267 sound_dialog_play c13_65_07kerr
268 cinematic_start (KERRtalking, 180, 180, 20, 9, 20, true)
269 cm_interpolate_block ScanCamBoothOut 0
270 sleep f10
271 sound_dialog_play c13_65_08konoko
272 cinematic_start (KONdeepthought, 180, 180, 19, 7, 20, false)
273 sound_dialog_play_block pause
274 #Doctrof rom inside booth
275 cm_interpolate ScanCamBooth 0
276 sound_dialog_play c13_65_09kerr
277 sound_dialog_play_block pause
278 #konoko scanned
279 chr_envanim 0 ScanKonBox02
280 chr_animate 0 KONOKOlev14_scan 2000
281 cm_interpolate ScanCamScan02 0
282 cm_interpolate_block ScanCamScan01 1000
283 sound_dialog_play c13_65_10konoko
284 sound_dialog_play_block pause
285 sound_dialog_play c13_65_11kerr
286 sound_dialog_play_block pause
287 sound_dialog_play c13_65_12konoko
288 sound_dialog_play_block pause
289 cm_interpolate ScanCamBoothOut02 0
290 cm_interpolate_block ScanCamBoothOut 900
291 sound_dialog_play c13_65_13kerr
292 sound_dialog_play_block pause
293 cm_interpolate ScanCamScan04 0
294 cm_interpolate_block ScanCamScan03 800
295 sound_dialog_play c13_65_14konoko
296 sound_dialog_play_block pause
297 sleep f75
298 cm_interpolate ScanCamBoothOut 0
299 cm_interpolate_block ScanCamBoothOut02 900
300 sound_dialog_play c13_65_15kerr
301 sound_dialog_play_block pause
302 sleep f25
303 sound_dialog_play c13_65_16konoko
304 sound_dialog_play_block pause
305 sleep f20
306 #Doc in Booth
307 sound_dialog_play c13_65_17kerr
308 sleep f100
309 #Scanner stops
310 particle brainscan do stop
311 cutscene_sync_mark
312 sound_ambient_stop scanner
313 env_setanim 51 Scan_arm0102
314 env_setanim 52 Scan_arm0202
315 env_setanim 53 Scan_chair0102
316 env_setanim 54 Scan_chair0202
317 env_setanim 55 Scan_chair0302
318 env_setanim 56 Scan_tube0102
319 env_setanim 57 Scan_tube0202
320 env_setanim 58 Scan_tube0302
321 env_setanim 59 Scan_tube0402
322 chr_envanim 0 ScanKonBox03
323 chr_animate 0 KONOKOlev14_scan 730
324 cm_interpolate ScanCamScan01 0
325 cutscene_sync mark
326 sound_ambient_start c18_01_29_effectsc
327 cm_interpolate_block ScanCamScanStop 300
328 sleep f700
329 cinematic_stop (KONdeepthought, 19, 20)
330 cinematic_stop (KERRtalking, 20, 20)
331 #Doctor comes out of booth
332 playback ScanKerr01 ScanDocWalkOut
333 cm_interpolate ScanCamBoothOut 0
334 sleep f60
335 playback 0 ScanKonDone
336 sleep f150
337 sleep f80
338 #Konoko and Doc meet to talk
339 cm_interpolate ScanCamBoth02 0
340 cm_interpolate_block ScanCamBoth03 300
341 sleep f120
342 sound_dialog_play c13_65_18konoko
343 cinematic_start (KONlistening, 180, 180, 19, 7, 20, false)
344 sleep f240
345 #Doc talks
346 playback ScanKerr01 ScanDoctorSet
347 cm_interpolate ScanCamDocTalk 0
348 cm_interpolate_block ScanCamDocTalk02 1100
349 sound_dialog_play c13_65_19kerr
350 cinematic_start (KERRtalking, 180, 180, 20, 9, 20, true)
351 sound_dialog_play_block pause
352 sound_dialog_play c13_65_20konoko
353 sound_dialog_play_block pause
354 sound_dialog_play c13_65_21kerr
355 sound_music_start mus_sad1 0.8
356 sound_dialog_play_block pause
357 #KOnoko talks
358 playback 0 ScanKonokoSet
359 cm_interpolate ScanCamKonTalk 0
360 cm_interpolate_block ScanCamKonTalk03 600
361 sound_dialog_play_block pause
362 sound_dialog_play c13_65_22konoko
363 sound_dialog_play_block pause
364 sleep f25
365 sound_dialog_play c13_65_23kerr
366 sound_dialog_play_block pause
367 #Both talk
368 cm_interpolate ScanCamTalkBoth 0
369 cm_interpolate_block ScanCamTalkBoth02 800
370 sound_dialog_play_block pause
371 sound_dialog_play c13_65_24konoko
372 sound_dialog_play_block pause
373 sleep f55
374 sound_dialog_play c13_65_25kerr
375 sound_dialog_play_block pause
376 sleep f40
377 #Konoko cam
378 cm_interpolate ScanCamKonTalk04 0
379 cm_interpolate_block ScanCamKonTalk 1000
380 sound_dialog_play c13_65_26konoko
381 sound_dialog_play_block pause
382 #KerrCam
383 cm_interpolate ScanCamDocTalk02 0
384 cm_interpolate_block ScanCamDocTalk03 800
385 sound_dialog_play c13_65_27kerr
386 sound_dialog_play_block pause
387 #BothCam
388 cm_interpolate ScanCamTalkBoth02 0
389 cm_interpolate_block ScanCamTalkBoth 1000
390 sound_dialog_play c13_65_28konoko
391 sound_dialog_play_block pause
392 sleep f25
393 sound_dialog_play c13_65_29kerr
394 sound_dialog_play_block pause
395 sound_dialog_play c13_65_30konoko
396 sound_dialog_play_block pause
397 sleep f20
398 sound_dialog_play c13_65_31kerr
399 sound_dialog_play_block pause
400 sleep f20
401 sound_dialog_play c13_65_32konoko
402 sound_dialog_play_block pause
403 sleep f20
404 #KerrCam
405 cm_interpolate ScanCamDocTalk 0
406 cm_interpolate_block ScanCamDocTalk03 1000
407 sound_dialog_play c13_65_33kerr
408 sound_dialog_play_block pause
409 sleep f20
410 #Konoko cam
411 cm_interpolate ScanCamKonTalk02 0
412 cm_interpolate_block ScanCamKonTalk 800
413 sound_dialog_play c13_65_34konoko
414 sound_dialog_play_block pause
415 #BothCam
416 cm_interpolate ScanCamTalkBoth02 0
417 cm_interpolate_block ScanCamTalkBoth 800
418 sound_dialog_play c13_65_35kerr
419 sound_dialog_play_block pause
420 sound_dialog_play c13_65_36konoko
421 sound_dialog_play_block pause
422 sleep f20
423 #show scanner gunk and hide scanner objects
424 env_show 51 1
425 env_show 52 1
426 env_show 53 1
427 env_show 54 1
428 env_show 55 1
429 env_show 56 1
430 env_show 57 1
431 env_show 58 1
432 env_show 59 1
433 obj_kill 51 59
434 sound_dialog_play_block pause
435 sound_dialog_play c13_65_37kerr
436 sound_dialog_play_block pause
437# #Ambush sequence starts
438 #dOORS start to open
439 sound_music_stop mus_sad1
440 door_open 7
441 ai2_spawn ScanOps01
442 ai2_setmovementmode ScanOps01 run
443 playback ScanOps01 AmbushTCTFenter
444 sleep f60
445 #Konoko and Doctor hear doors opening
446 cm_interpolate AmbushCamTurn 0
447 playback ScanKerr01 AmbushDoctorTurn
448 sleep f10
449 chr_animate 0 KONCOMstartle_lt1
450 sleep f60
451 #TCTF is shown entering
452 playback ScanOps01 AmbushTCTFenter011
453 cinematic_stop (KONlistening, 19, 20)
454 cinematic_stop (KERRtalking, 20, 20)
455 cm_interpolate AmbushCamTCTFenter02 160
456 sleep f120
457 sound_dialog_play c13_65_38opsguard1
458 cinematic_start (BOPSface, 180, 180, 15, 1, 20, false)
459 particle_temp_start
460 sound_dialog_play_block
461 cinematic_stop (BOPSface, 15, 20)
462 #TCTF shoots gun
463 playback ScanOps01 AmbushTCTFshoot fromhere
464 sleep f40
465 particle_temp_kill
466 #Doctor takes bullets for konoko
467 #chr_envanim 0 AmbushKonBox02 norotation
468 #chr_animate 0 KONOKOlev14_Ambush01
469 #chr_envanim ScanKerr01 AmbushKerrBox02 norotation
470 #chr_animate ScanKerr01 DOClev14_Ambush01
471 #cm_anim both AmbushCamDie01
472 #sleep f30
473 #other angle of above
474 slowmo 120
475 cm_anim both AmbushCamDie02
476 chr_envanim 0 AmbushKonBox02 norotation
477 chr_animate 0 KONOKOlev14_Ambush01
478 chr_envanim ScanKerr01 AmbushKerrBox02 norotation
479 chr_animate ScanKerr01 DOClev14_Ambush01
480 cm_anim both AmbushCamDie02
481 sleep f22
482 particle_temp_stop
483 particle ScanMerc pulse
484 sleep f1
485 particle scanexplode create
486 sound_dialog_play kerr_dth1
487
488 fork wait_and_play_xtr5
489
490 #TCTF says you're next
491 cm_wait
492 ai2_kill ScanKerr01
493 #chr_set_health ScanKerr01 0
494 cm_interpolate ScanCamSynDie 0
495 playback 0 ScanKonDie
496 sleep f120
497 #konoko says let's get it on gameplay resumes
498 cm_interpolate ScanCamKonDie 0
499 sound_dialog_play c13_65_39konoko
500 cinematic_start (KONangryfront, 180, 180, 19, 7, 20, true)
501 sound_dialog_play_block pause
502 cinematic_stop (KONangryfront, 20, 20)
503 cm_reset
504 fork set_objective_3
505 trigvolume_enable trigger_volume_13 0
506
507 # CB: set up the monologue for konoko telling herself about her next objective
508 prepare_vat_monologue();
509
510 end_cutscene
511 env_show 823 0
512 save_point_3
513
514 sound_ambient_volume lab_amb1 0 4
515
516 sleep 120
517 post_scan_music_start
518}
519
520func void
521KerrSpawn(void)
522{
523 ai2_spawn KerrKerr
524 #playback KerrKerr KerrKerrSet
525 ai2_passive KerrKerr 1
526}
527
528func void
529Kerr(void)
530{
531 if(trigvolume_count(36) eq 0)
532 {
533 sound_music_start mus_sad1 0.8
534 begin_cutscene
535 #ai2_spawn KerrKerr
536 ai2_takecontrol 1
537 ai2_movetoflag 0 1261 setfacing
538 playback KerrKerr KerrKerrSet
539 cm_interpolate KerrCamKerr 180
540 sleep f100
541 #Konoko says Hi Uncle
542 sound_dialog_play c13_64_01konoko
543 cinematic_start (KONlistening, 180, 180, 19, 9, 20, true)
544 sound_dialog_play_block pause
545 #Kerr says what are you doing here?
546 cm_interpolate KerrCamKerr 180
547 sound_dialog_play c13_64_02kerr
548 cinematic_start (KERRtalking, 180, 180, 16, 1, 20, false)
549 sound_dialog_play_block pause
550 #Konoko says I need your help
551 playback 0 KerrKonSet
552 cm_interpolate KerrCamLt02 0
553 cm_interpolate_block KerrCamLt01 800
554 sound_dialog_play c13_64_03konoko
555 sound_dialog_play_block pause
556 #Kerr says yep, you do
557 sound_dialog_play c13_64_04kerr
558 sound_dialog_play_block pause
559 sleep f20
560 #Konoko says I'm on it
561 sound_dialog_play c13_64_05konoko
562 sound_dialog_play_block pause
563 sleep f30
564 #Kerr says meet me in lab
565 sound_dialog_play c13_64_06kerr
566 sound_dialog_play_block pause
567 cinematic_stop (KONlistening, 20, 20)
568 cinematic_stop (KERRtalking, 15, 20)
569 cm_reset
570 letterbox 0
571 playback KerrKerr KerrKerrGive fromhere
572 sleep f90
573 chr_animate KerrKerr COMGUYact_give
574 chr_animate 0 KONOKOact_give
575 sleep f90
576 give_powerup hypo
577 sleep f2
578 give_powerup hypo
579 ai2_takecontrol 0
580 fork set_objective_2
581 end_cutscene
582 trigvolume_enable Kerr_trig 0
583 trigvolume_enable Kerr_trig_copy 0
584 console_activate 13
585 save_point_2
586 sound_music_volume mus_sad1 0 2
587 kerr_console_music
588 }
589}
590
591
592func void Acid01(string char)
593{
594 var bool eggman;
595
596 eggman = chr_is_player(char);
597
598 if (eggman eq 0)
599 {
600 chr_animate(char, KONOKOacid);
601 sleep 10
602 chr_set_health(char, 0);
603 }
604
605 if (eggman eq 1)
606 {
607 chr_animate(char, KONOKOacid);
608 trigvolume_enable LastVat 0
609 cm_interpolate AcidCam01 500
610 sleep 5
611 input 0
612 invincible=1
613 sleep 525
614 chr_animate(char, KONOKOlev14_grinder);
615 chr_envanim(char, GrinderKonBox01, norotation);
616 sleep f60
617 sound_ambient_start c13_47_11_bonecrunch
618 sleep f10
619 sound_impulse_play konoko_gruesome_death
620 sleep f75
621 chr_set_health(char, 0);
622 }
623}
624
625
626func void Acid02(string char)
627{
628 var bool eggman;
629
630 eggman = chr_is_player(char);
631
632 if (eggman eq 0)
633 {
634 chr_animate(char, KONOKOacid);
635 sleep f10
636 chr_set_health(char, 0);
637 }
638
639 if (eggman eq 1)
640 {
641 chr_animate(char, KONOKOacid);
642 input 0
643 trigvolume_enable LastVat 0
644 cm_interpolate AcidCam01 400
645 sleep f5
646 invincible=1
647 sleep f430
648 chr_animate(char, KONOKOlev14_grinder);
649 chr_envanim(char, GrinderKonBox01, norotation);
650 sleep f60
651 sound_ambient_start c13_47_11_bonecrunch
652 sleep f10
653 sound_impulse_play konoko_gruesome_death
654 sleep f75
655 chr_set_health(char, 0);
656 }
657}
658
659
660
661func void Acid03(string char)
662{
663 var bool eggman;
664
665 eggman = chr_is_player(char);
666
667 if (eggman eq 0)
668 {
669 chr_animate(char, KONOKOacid);
670 sleep f10
671 chr_set_health(char, 0);
672 }
673
674 if (eggman eq 1)
675 {
676 input 0
677 trigvolume_enable LastVat 0
678 chr_animate(char, KONOKOacid);
679 cm_interpolate AcidCam01 200
680 sleep f5
681 invincible=1
682 sleep 230
683 chr_animate(char, KONOKOlev14_grinder);
684 chr_envanim(char, GrinderKonBox01, norotation);
685 sleep f60
686 sound_ambient_start c13_47_11_bonecrunch
687 sleep f10
688 sound_impulse_play konoko_gruesome_death
689 sleep f75
690 chr_set_health(char, 0);
691 }
692}
693
694
695
696func void acid04(string char)
697{
698 var bool eggman;
699
700 eggman = chr_is_player(char);
701
702 if (eggman eq 0)
703 {
704 chr_animate(char, KONOKOacid);
705 sleep f10
706 chr_set_health(char, 0);
707 }
708
709 if (eggman eq 1)
710 {
711 cm_detach
712 input 0
713 trigvolume_enable LastVat 0
714 chr_animate(char, KONOKOacid);
715 sleep f5
716 invincible=1
717 sleep 40
718 cm_interpolate GrinderCamEnd 0
719 sleep f10
720 chr_animate(char, KONOKOlev14_grinderend);
721 chr_envanim(char, EndGrinderKonBox01, norotation);
722 sleep f60
723 sound_ambient_start c13_47_11_bonecrunch
724 sleep f10
725 sound_impulse_play konoko_gruesome_death
726 sleep f75
727 chr_set_health(char, 0);
728 }
729}
730
731
732
733
734
735func void
736EndScan(
737 void)
738{
739 sound_dialog_play c13_66_01konoko
740 cinematic_start (KONtalkangryfront, 180, 180, 19, 7, 20)
741 sound_dialog_play_block
742 sleep f60
743 cinematic_stop (KONtalkangryfront, 19, 20)
744}
745
746
747func void
748CraneTalk(
749 void)
750{
751 sound_dialog_play c13_66_03konoko
752 cinematic_start (KONtalkangryfront, 180, 180, 19, 7, 20)
753 sound_dialog_play_block
754 sleep f60
755 cinematic_stop (KONtalkangryfront, 19, 20)
756}
757
758func void
759BeginVat(
760 void)
761{
762 sound_dialog_play c13_66_02konoko
763 cinematic_start (KONtalkangryfront, 180, 180, 19, 7, 20)
764 sound_dialog_play_block
765 sleep f60
766 cinematic_stop (KONtalkangryfront, 19, 20)
767}
768
769
770func void
771Outro(
772 void)
773{
774 if(final_check eq 0)
775 {
776 dprint OUTRO_1
777 begin_cutscene
778 trigvolume_enable LastVat 0
779 ai2_takecontrol 1
780 ai2_movetoflag 0 222
781 sleep f200
782 Outro2
783 }
784
785 if(final_check ne 0)
786 {
787 Outro2
788 }
789}
790
791func void
792Outro2(
793 void)
794{
795 dprint OUTRO_2
796 begin_cutscene
797 trigvolume_enable LastVat 0
798 ai2_takecontrol 1
799 #dialog talking about how to get to the crane
800 #Konoko runs to Crane
801 cm_interpolate OutroCam01 0
802 sound_dialog_play c13_66_04konoko
803 cinematic_start (KONintense, 180, 180, 19, 7, 20)
804 sound_dialog_play_block
805 chr_envanim 0 OutroKonBox01 norotation
806 env_anim 71 74
807 cm_anim both OutroCam01
808 cutscene_sync mark
809 sound_ambient_start c13_59_22_crane
810 sleep f150
811 chr_animate 0 KONOKOlev14_Run
812 #Konoko jumps to Crane
813 cm_anim_block both OutroCamJump
814 chr_envanim 0 OutroKonBox02 norotation
815 chr_animate 0 KONOKOlev14_Jump
816 env_setanim 71 cranehook_jump
817 env_setanim 72 cranerope_jump
818 #Konoko tucks over shredders
819 cm_anim_block both OutroCamTuck
820 chr_envanim 0 OutroKonBox03 norotation
821 chr_animate 0 KONOKOlev14_Tuck
822 env_setanim 71 cranehook_tuck
823 env_setanim 72 cranerope_tuck
824 sleep f160
825 sound_dialog_play c13_66_05konoko
826 #Konoko dives into acid
827 chr_nocollision 0 1
828 cm_anim_block both OutroCamDive
829 chr_envanim 0 OutroKonBox04 norotation
830 chr_animate 0 KONOKOlev14_Dive
831 env_setanim 71 cranehook_dive
832 env_setanim 72 cranerope_dive
833 sleep f90
834 cinematic_stop (KONintense, 20, 20)
835 sleep f60
836 particle OutroSplash create
837 sound_ambient_start c14_15_12_splash
838 sleep f120
839 sound_ambient_start c14_16_18_bubbles
840 sleep f80
841
842
843
844 ### CB: this is the two-guys-at-the-acid-pool script
845# playback OutroTCTF1 OutroTCTFSwat01
846# playback OutroTCTF2 OutroTCTFLite01
847# sleep f100
848# cm_interpolate OutroCamWater01 0
849# sleep f120
850# sound_dialog_play c13_67_01opsguard1
851# cinematic_start (TCTFtalking, 180, 180, 19, 7, 20, false)
852# sound_dialog_play_block
853# sound_dialog_play c13_67_02opsguard2
854# cinematic_start (BOPSface, 180, 180, 20, 9, 20, true)
855# sound_dialog_play_block
856# #TCTFguys from birds eye
857# cm_interpolate OutroCamWater02 0
858# #sound_dialog_play c13_67_03opsguard3
859# #sound_dialog_play_block
860# #sound_dialog_play c13_67_04opsguard1
861# #sound_dialog_play_block
862# sleep f30
863# sound_dialog_play c13_67_05opsguard2
864# sound_dialog_play_block
865# cinematic_stop (BOPSface, 20, 20)
866# cinematic_stop (TCTFtalking, 19, 20)
867
868
869
870
871
872
873 ### CB: this is the same script with a third character added
874 ai2_spawn OutroTCTF1
875 ai2_spawn OutroTCTF2
876 ai2_spawn OutroTCTF3
877 playback OutroTCTF1 OutroTCTFSwat01
878 playback OutroTCTF2 OutroTCTFLite01
879 sleep f40
880 playback OutroTCTF3 OutroTCTFLite02
881 sleep f60
882 cm_interpolate OutroCamWater01 0
883 sleep f120
884 sound_dialog_play c13_67_01opsguard1
885 cinematic_start (TCTFtalking, 180, 180, 19, 7, 20, false)
886 sound_dialog_play_block
887 sound_dialog_play c13_67_02opsguard2
888 cinematic_start (BOPSface, 180, 180, 20, 9, 20, true)
889 sound_dialog_play_block
890 sound_dialog_play c13_67_03opsguard3
891 sound_dialog_play_block
892 cinematic_stop (BOPSface, 20, 20)
893 cinematic_stop (TCTFtalking, 19, 20)
894
895 #TCTFguys from birds eye
896 cm_interpolate OutroCamWater02 0
897 sleep f40
898 cinematic_start (TCTFtalking, 180, 180, 20, 9, 20, true)
899 sound_dialog_play c13_67_04opsguard1
900 sound_dialog_play_block
901 sleep f30
902 cinematic_start (BOPSface, 180, 180, 19, 7, 20, false)
903 sound_dialog_play c13_67_05opsguard2
904 sound_dialog_play_block
905 sleep f140
906 cinematic_stop (BOPSface, 19, 20)
907 cinematic_stop (TCTFtalking, 20, 20)
908
909
910
911
912 sleep f140
913 win
914}
915
Note: See TracBrowser for help on using the repository browser.