source: AE/packages/NextRelease/81000TCTF3/bsl/tctf_iii/tctf_ii_cutscene.bsl@ 642

Last change on this file since 642 was 540, checked in by iritscen, 15 years ago

Fixed capitalization :-p

File size: 11.0 KB
Line 
1#
2# tctf_cutscene.bsl
3#
4
5func void
6Intro(
7 void)
8{
9 fade_out 0 0 0 0
10 cm_interpolate IntroCam01 0
11 sleep f14
12 begin_cutscene weapon
13 marketing_line_off=1
14 letterbox 1
15 sleep f60
16 invincible=1
17 obj_create 401 402
18 obj_create 404 407
19 fade_in 90
20 #Outside shot of TCTF
21 cm_interpolate IntroCam01 0
22 playback 0 IntroKonokoSet
23 sleep f300
24 #Griffin and Guy talking
25 chr_create 1201 start
26 chr_create 1202 start
27 playback 1202 IntroTCTF01
28 #make this box animation last as long as conversation
29 chr_envanim 1201 IntroGriffinBox01
30 chr_animate 1201 COMGUYsit_idle1 1800
31 #Conversation between the two
32 cm_interpolate IntroCam02 0
33 sound_dialog_play c14_50_01scigoon1
34 cinematic_start (COPtalking, 180, 180, 15, 1, 20, false)
35 sound_dialog_play_block pause
36 cm_interpolate IntroCamGriffin 0
37 sound_dialog_play c14_50_02griffin
38 cinematic_start (GRIFtalking, 180, 180, 16, 3, 20, true)
39 sound_dialog_play_block pause
40 #TCTF walks out
41 sound_music_start atm_low_perc2 0.8
42 cm_interpolate IntroCam02 0
43 playback 1202 IntroTCTF02
44 sound_dialog_play c14_50_03scigoon1
45 sleep f240
46 cinematic_stop (COPtalking, 15, 20)
47 cinematic_stop (GRIFtalking, 15, 20)
48 sleep f60
49 door_open 70
50 door_jam 70
51 sleep f100
52 #KONOKO on roof
53 playback 0 IntroKonoko01
54 cm_interpolate IntroCamInside01 0
55 cm_interpolate_block IntroCamInside02 400
56 sleep f400
57 cm_anim both IntroCamRoof
58 sleep f210
59 #Konoko falls into view
60 cm_anim both IntroCamFall01
61 chr_envanim 0 IntroKonBox01 norotation
62 chr_animate 0 KONOKOlev18_IntroFall01 140
63 #Griffin gets surprised
64 chr_delete 1202
65 cm_anim_block both IntroCamStand01
66 chr_envanim 1201 IntroGriffinBox02 norotation
67 chr_animate 1201 GRIFINlev18_IntroStand 110
68 env_anim 401 401
69 sleep f88
70 #Konoko enters office
71 playback 0 IntroKonoko02
72 cm_interpolate_block IntroCamKonAim01 0
73 cm_interpolate_block IntroCamKonAim02 350
74 sleep f140
75 cinematic_start(KONangryfront, 180, 180, 18, 6, 30, true)
76 sound_dialog_play c14_50_04konoko
77 sound_dialog_play_block pause
78 cinematic_stop (KONangryfront, 18, 30)
79 #Conversation with Griffin
80 playback 1201 IntroGriffin
81 cm_interpolate IntroCamGriffin02 0
82 cinematic_start(GRIFtalkangry, 180,180,18,6,30, true)
83 sound_dialog_play c14_50_05griffin
84 sound_dialog_play_block pause
85 cinematic_stop (GRIFtalkangry, 18, 30)
86 #Griffin's office goes down
87 sound_music_volume atm_low_perc2 0.0 0.5
88 sound_music_stop atm_low_perc2
89 music_intro
90 env_show 403 0
91 obj_create 403 403
92 cm_anim both IntroCamEscape01
93 chr_envanim 1201 IntroGriffinBox03 norotation
94 env_setanim 401 IntroChair02
95 env_anim 402 407
96 cutscene_sync mark
97 sound_ambient_start c14_46_11grifdesk
98 sleep f16
99 playback 0 IntroKonokoAim fromhere
100 cm_anim_block both IntroCamEscape02
101 cm_wait
102 cm_reset
103 obj_kill 401 407
104 # look out Stefan is editing scripts; yo foolios need to turn back on the laser sight :O)
105 marketing_line_off=0
106 end_cutscene
107 invincible=0
108 chr_delete 1201
109 door_unjam 70
110 door_close 70
111 # who is a foolio? the foo or the foo who follows him?
112 s1
113}
114
115
116func void
117GrifSpawn(
118 void)
119{
120 ai2_spawn ZomGrif
121 chr_invincible ZomGrif 1
122 sleep f2
123 ai2_passive ZomGrif 1
124 ai2_setmovementmode ZomGrif walk
125 playback ZomGrif ZomGrifDraw
126}
127
128func void create_zomshin(void)
129{
130 ai2_spawn ZomShin
131 ai2_passive ZomShin 1
132 chr_shadow ZomShin 0
133 chr_invincible ZomShin 1
134 chr_unstoppable ZomShin 1
135 chr_nocollision ZomShin 1
136 chr_neutral ZomShin 1
137 chr_lock_active ZomShin
138}
139
140func void
141Base(
142 void)
143{
144 begin_cutscene
145 #place Griffin here earlier
146 #chr_neutral ZomGrif 1
147 sleep f20
148 #playback ZomGrif BaseGriffin01
149 cm_interpolate BaseCam01 180
150 sleep f210
151 #place Konoko
152 playback 0 BaseKonoko01
153 cm_interpolate BaseCam02 0
154 cm_interpolate_block BaseCam04 500
155 sound_dialog_play c14_51_01konoko
156 cinematic_start(KONangryfront, 180,180,19,7,20, true)
157 sound_dialog_play_block pause
158 cinematic_stop (KONangryfront, 19, 20)
159 cm_interpolate BaseCam01 0
160 cm_interpolate_block BaseCam03 600
161 sound_dialog_play c14_51_02griffin
162 cinematic_start(GRIFtalkangry, 180,180,20,9,20, true)
163 sound_dialog_play_block pause
164 cutscene_sync mark
165 sound_ambient_start c15_04_23_effects
166 sound_dialog_play c14_51_03griffin
167 #Shinzom comes out of ground
168 create_zomshin
169 chr_envanim ZomShin ChairShinBox01
170 obj_create 171 174
171 env_anim 171 174
172 obj_shade 171 174 .5 .5 .5
173 cm_anim both ChairCamZomUp
174 #chr_create ZomShin start
175 #chr_neutral ZomShin 1
176 sleep f270
177 particle zombiespark pulse
178
179 cm_wait
180
181 particle zombient start
182 #hide Chair object, show chair gunk
183 env_show 171 1
184 env_show 172 1
185 env_show 173 1
186 env_show 174 1
187 obj_kill 171 174
188 cm_interpolate BaseCamShin01 0
189 playback ZomShin BaseShin
190 cm_interpolate_block BaseCamShin02 300
191 sound_dialog_play_block
192 cinematic_stop (GRIFtalkangry, 20, 20)
193 sound_dialog_play c14_51_04shinatama
194 cinematic_start(SHINZOMlistening, 180,180,19,7,20, false)
195 sound_dialog_play_block
196 cinematic_stop (SHINZOMlistening, 19, 20)
197 sleep f30
198 particle Forcefield do start
199 sound_ambient_start zomshin_amb_loop 0.1
200 sound_ambient_volume zomshin_amb_loop 1.0 1.0
201 cm_interpolate BaseCam02 0
202 sound_dialog_play c14_51_05konoko
203 cinematic_start(KONscared, 180,180,20,9,20, true)
204 sound_dialog_play_block
205 cinematic_stop (KONscared, 20, 20)
206 playback ZomShin BaseShin
207 cm_interpolate_block BaseCamShin02 0
208 sound_dialog_play c14_51_06shinatama
209 cinematic_start(SHINZOMlistening, 180,180,19,7,20, false)
210 particle zombiesteam start
211 sound_dialog_play_block pause
212 cinematic_stop (SHINZOMlistening, 19, 20)
213# cm_reset
214# trig_show 9
215# trig_activate 9
216 end_cutscene
217 music_zom
218 ai2_passive ZomShin 1
219 ai2_makeignoreplayer ZomGrif 1
220 zombie_round_2
221# ai2_allpassive 1
222# remove line below after zomshin puzzle is fixed
223# Zom
224}
225
226func void fade_out_zom_amb(void)
227{
228 sound_ambient_volume zomshin_amb_loop 0.0 1.0
229 sleep 60
230 sound_ambient_stop zomshin_amb_loop
231}
232
233func void Zom(void)
234{
235 env_show 1010 0
236 particle Forcefield do stop
237 fork fade_out_zom_amb
238 begin_cutscene
239 marketing_line_off=1
240 #Shinatama will already be created
241 #show the destruction of the turrets and the forcefield around Griffin
242 #cm_interpolate ZomCamGrif01 0
243 ai2_setmovementmode ZomGrif walk
244 playback ZomGrif ZomGrifDrawSet
245 #sleep f120
246 #Shinatama gets up out of chair
247 chr_shadow ZomShin 1
248 chr_invincible ZomShin 0
249 chr_unstoppable ZomShin 0
250 chr_envanim ZomShin ZomShinBox01 norotation
251 chr_animate ZomShin SHINZOMlev18_Free
252 cm_anim both ZomCamFree01
253 sleep f90
254 cutscene_sync mark
255 sound_ambient_start c_shin_escape
256 cm_wait
257 #Griffin says "what are you doing?"
258 cm_interpolate ZomCamGrif01 0
259 sound_dialog_play c14_52_01griffin
260 cinematic_start(GRIFtalkangry, 180,180,19,7,20, false)
261 sound_dialog_play_block
262 cinematic_stop(GRIFtalkangry, 19,20)
263 #Shinatama approaches Griffin
264 cm_interpolate ZomCamShinStart 0
265 playback ZomShin ZomShinSet
266 chr_animate ZomShin SHINZOMwalk1 180
267 chr_nocollision ZomShin 0
268 sleep f175
269 #Griffin says GET BACK OR I'll SHOOT
270 #cm_interpolate ZomCamGrif01 0
271 #playback ZomGrif ZomGrifDrawSet
272 #sleep f120
273 #Shin keeps coming
274 #cm_interpolate ZomCamShinApproach 0
275 playback ZomShin ZomShinWalk
276 chr_animate ZomShin SHINZOMwalk1 600
277 #sleep f120
278 #Griffin draws weapon
279 cm_interpolate ZomCamGrif01 0
280 playback ZomGrif ZomGrifDrawSet
281 sleep f30
282 #sound_dialog_play c14_52_01bgriffin
283 playback ZomGrif ZomGrifDraw
284 sleep f60
285 #konoko drops weapon
286 playback 0 ZomKonokoDrop
287 #Shinatama Approaches Griffin
288 cm_interpolate ZomCamBoth 0
289 sleep f180
290 #Griffin shoots
291 cm_interpolate ZomCamGrifShoot 0
292 playback ZomGrif ZomGrifShoot
293 sleep f50
294 #Shinatama gets hit
295 cm_interpolate ZomCamShinDie 0
296 chr_animate ZomShin SHINZOMshot 126
297 sound_ambient_start c_shin_die 1.0
298 sleep f120
299 #Show Griffin over Shinatama
300 cm_interpolate ZomCamDead 0
301 playback ZomGrif ZomGriffinKilled
302 chr_animate ZomShin SHINZOMfallen_front 1000
303 sleep f10
304 cm_interpolate ZomCamKonokoBehind 270
305 playback 0 ZomKonokoBehind
306 sleep f280
307 #Griffin turns and gets thrown
308 # CB: we force omnipotent off because it breaks this cutscene (you kill
309 # griffin prematurely)
310 omnipotent = 0
311 chr_invincible ZomGrif 0
312 ai2_kill ZomShin
313 chr_neutral ZomGrif 0
314 cm_interpolate ZomCamThrow 0
315 playback ZomGrif ZomGriffinTurn
316 playback 0 ZomKonokoThrow
317 sleep f140
318 #Knoko holds him down
319 cm_interpolate ZomCamKonokoAim02 0
320 chr_neutral ZomGrif 1
321 chr_envanim ZomGrif ZomGriffinBox01 norotation
322 chr_envanim 0 ZomKonokoBox01 norotation
323 chr_animate 0 KONOKOlev18_ZomAim 300
324 chr_animate ZomGrif GRIFINlev18_ZomAim 500
325 sound_dialog_play c14_52_02konoko
326 cinematic_start(KONangryfront, 180,180,19,7,20, false)
327 sound_dialog_play_block pause
328 #Looking down at griffin
329 #chr_envanim 0 ZomKonokoBox01 norotation
330 #chr_envanim ZomGrif ZomGriffinBox01 norotation
331 #chr_animate 0 KONOKOlev18_ZomAim 300
332 #chr_animate ZomGrif GRIFINlev18_ZomAim 500
333 #cm_interpolate ZomCamKonokoAim01 0
334 #KONoko gets off Griffin
335 #cm_interpolate ZomCamKonokoAim02 0
336 chr_envanim 0 ZomKonokoBox02 norotation
337 chr_envanim ZomGrif ZomGriffinBox01 norotation
338 chr_animate ZomGrif GRIFINlev18_ZomAim 500
339 chr_animate 0 KONOKOlev18_ZomUp 120
340 #sound_dialog_play c14_52_04konoko
341 #Griffin gets up put the gun down
342 sleep f100
343 cm_interpolate ZomCamGriffinUp 0
344 chr_envanim ZomGrif ZomGriffinBox02 norotation
345 chr_animate ZomGrif GRIFINlev18_ZomUp
346 sound_dialog_play c14_52_03griffin
347 cinematic_start(GRIFbeatup, 180, 180, 20, 9, 20, true)
348 sound_dialog_play_block pause
349 #Konoko I'm a rogue agent, very dangerous
350 playback 0 ZomKonokoFace
351 cm_interpolate ZomCamKonokoFace 0
352 sound_dialog_play c14_52_04konoko
353 sound_dialog_play_block pause
354 #Griffin says youre a monster
355 cm_interpolate ZomCamGriffinFace 0
356 playback ZomGrif ZomGriffinFace
357 sound_dialog_play c14_52_05griffin
358 sound_dialog_play_block pause
359 #for you, badly
360 cm_interpolate ZomCamKonokoFace 0
361 sound_dialog_play c14_52_06konoko
362 sound_dialog_play_block pause
363 #Griffin says youre a monster
364 cm_interpolate ZomCamGriffinFace 0
365 sound_dialog_play c14_52_07griffin
366 sound_dialog_play_block pause
367 cinematic_stop(GRIFbeatup, 20, 20)
368 cinematic_stop(KONangryfront, 19, 20)
369 #Give player back control
370 cm_reset
371 end_cutscene
372 ai2_allpassive 1
373 chr_set_health ZomGrif 1
374 marketing_line_off=0
375 trigvolume_enable trigger_volume_35 1
376 objective_set(5)
377}
378
379func void
380OutroKill(
381 void)
382{
383 sound_music_start mus_wls 1.0
384 #begin_cutscene jello
385 sleep f40
386 sound_dialog_play c14_53_01konoko
387 cinematic_start(KONintense, 180,180,19,8,20, false)
388 sound_dialog_play_block
389 cinematic_stop (KONintense, 19, 20)
390# fade_out 0 0 0 120
391 sleep f120
392 end_cutscene
393# win
394}
395
396
397func void
398OutroNoKill(
399 void)
400{
401 begin_cutscene jello
402 cm_detach
403 ai2_takecontrol 1
404 ai2_lookatchar 0 ZomGrif
405 ai2_lookatchar ZomGrif 0
406 sound_music_start mus_sad1
407 sound_dialog_play c14_54_01konoko
408 cinematic_start(KONlistening, 180,180,19,8,20, false)
409 sleep f120
410 cm_interpolate BaseCam01 180
411 sound_dialog_play_block
412 cinematic_stop (KONlistening, 19, 20)
413# fade_out 0 0 0 120
414 sleep f120
415 end_cutscene
416# win
417}
Note: See TracBrowser for help on using the repository browser.