source: AE/packages/VanillaBSL/IGMD/EnvWarehouse/warehouse_cutscene.bsl@ 393

Last change on this file since 393 was 367, checked in by gumby, 16 years ago
File size: 10.0 KB
Line 
1#
2# warehouse_cutscene.bsl
3#
4
5########################
6func void
7Kon(
8 void)
9{
10 cm_interpolate KonCamFoot01 0
11 cm_interpolate_block KonCamFoot02 300
12 sleep f260
13 #cm_interpolate KonCamChest01 0
14 #cm_interpolate_block KonCamChest02 180
15 #sleep f120
16 cm_interpolate KonCamBack01 0
17 cm_interpolate_block KonCamBack02 180
18 sleep f150
19 cm_interpolate KonCamSide01 0
20 cm_interpolate_block KonCamSide02 210
21 sleep f190
22 cm_interpolate KonCamFinish01
23 cm_interpolate_block KonCamFinish02 200
24 sleep 345
25 fade_out 0 0 0 15
26 sleep 15
27 cm_reset
28 fade_in 15
29 sleep 15
30}
31
32############################
33
34func void
35animate(string me)
36{
37 #chr_animate me KONCOMpunch_fw
38}
39
40func void swing(void)
41{
42 how_far_along = 0;
43 fade_out 0 0 0 30
44 sleep 30
45 splash_screen warehouse_splash_screen
46 swing_cutscene
47}
48
49func void jumping_sounds(void)
50{
51 sleep 97
52 # first hit on ledge
53 sound_impulse_play kon_land_con
54}
55
56func void
57swing_cutscene(
58 void)
59{
60 fade_out 0 0 0 0
61 sleep 15
62 how_far_along = 0;
63 begin_cutscene
64 cutscene_sync off
65 ai2_spawn kerr
66 ai2_spawn griffin
67 playback kerr KerrSet
68 playback griffin GriffinSet
69 cm_interpolate GriffinCam 0
70 sleep 30
71 chr_changeteam char_0 Konoko
72 chr_inv_reset 0
73 chr_giveweapon 0 w1_tap
74 chr_forceholster 0 1
75 cm_interpolate GriffinCam 0
76 fade_in 30
77 sleep 60
78 #griffin talks
79 cinematic_start (GRIFnametag, 180, 180, 15, 1, 20, false)
80 sound_dialog_play c01_01_01griffin
81 sound_dialog_play_block pause
82 sound_dialog_play c01_01_02shinatama
83 cinematic_start (SHINnametagM, 180, 180, 16, 3, 20, true)
84 sound_dialog_play_block pause
85 cinematic_stop (SHINnametagM, 16, 20)
86 cm_interpolate OfficeCam02 0
87 cm_interpolate_block OfficeCam01 900
88 sleep 15
89 sound_dialog_play c01_01_03kerr
90 cinematic_start (KERRnametagM, 180, 180, 16, 3, 20, true)
91 sound_dialog_play_block pause
92 sound_dialog_play c01_01_04griffin
93 sound_dialog_play_block pause
94 playback 0 KonokoSet
95 sleep 10
96 cinematic_stop (KERRnametagM, 16, 20)
97 #camera of Konoko
98 #cm_reset
99 cm_interpolate KonokoCam01 0
100 cm_interpolate_block KonokoCam02 360
101 cinematic_start (KONnametagM, 180, 180, 16, 3, 20, true)
102 chr_animate 0 KONOKOwatch_idle 3000
103 sleep 10
104 sound_dialog_play c01_01_05griffin
105 sound_dialog_play_block pause
106 #cinematic_start (KONnametagM, 180, 180, 16, 3, 20, true)
107 sleep 30
108 sound_dialog_play c01_01_06konoko
109 sound_dialog_play_block pause
110 sleep 20
111 cinematic_stop (KONnametagM, 16, 20)
112 sleep 15
113 #griffin cam
114 #sleep 30
115 cm_interpolate GriffinCam 0
116 sleep 30
117 sound_dialog_play c01_01_07griffin
118 sound_dialog_play_block pause
119 sound_dialog_play c01_01_08shinatama
120 cinematic_start (SHINnametagM, 180, 180, 16, 3, 20, true)
121 sound_dialog_play_block pause
122 cinematic_stop (SHINnametagM, 16, 20)
123 #office cam
124 cm_interpolate OfficeCam01 0
125 cm_interpolate_block OfficeCam02 900
126 sound_dialog_play c01_01_09kerr
127 cinematic_start (KERRnametagM, 180, 180, 16, 3, 20, true)
128 sound_dialog_play_block pause
129 sound_dialog_play c01_01_10griffin
130 sound_dialog_play_block pause
131 #cinematic_stop (KERRnametagM, 16, 20)
132 cinematic_stop (GRIFnametag, 15, 20)
133 sleep 60
134 #KerrCam
135 cm_interpolate KerrCam 0
136 #cinematic_start (KERRnametagM, 180, 180, 16, 3, 20, true)
137 sleep 40
138 sound_dialog_play c01_01_11kerr
139 sound_dialog_play_block pause
140 cutscene_sync on
141 sleep 40
142 cinematic_stop (KERRnametagM, 16, 20)
143 cm_anim both Cam4
144 cutscene_sync mark
145 chr_envanim 0 KonBipedBox02 norotation
146 chr_animate 0 KONOKOlev1_intro
147 fork jumping_sounds
148 env_anim 20 20
149 sleep f180
150 sound_ambient_start c00_20_07window
151 sleep f154
152 playback 0 SwingKonokoSet
153 # hit on the floor
154 sound_impulse_play kon_land_con
155 sleep 30
156 cm_reset
157 sleep f30
158# end_cutscene
159 letterbox 0
160 chr_full_health 0
161 give_powerup ammo
162 give_powerup ammo
163 give_powerup ammo
164 chr_delete griffin
165 chr_delete kerr
166 s1
167 yhealth
168}
169
170func void chung_music_start(void)
171{
172 sound_music_start atm_low1 0.7
173}
174
175# we stop this music when we spawn the lsi striker (a tad after actually)
176func void chung_music_stop(void)
177{
178 sound_music_stop atm_low1
179}
180
181
182func void
183Chung(
184 void)
185{
186 begin_cutscene
187
188 chung_music_start
189
190 sleep 30
191 cm_jello 1
192 sound_dialog_play_block pause
193 sound_dialog_play c01_02_01konoko
194 sound_dialog_play_block pause
195 sleep 60
196 chr_animate 0 KONOKOwatch_start 60
197 sleep 40
198 cinematic_start (KONnametag, 180, 180, 15, 1, 20, false)
199 cinematic_start (GRIFnametagM, 180, 180, 16, 3, 20, true)
200 sleep 19
201 chr_animate 0 KONOKOwatch_idle 3000
202 sound_dialog_play c01_02_02konoko
203 sound_dialog_play_block pause
204 sound_dialog_play c01_02_03griffin
205 sound_dialog_play_block pause
206 sleep 30
207 sound_dialog_play c01_02_04konoko
208 sound_dialog_play_block pause
209 sleep 60
210 sound_dialog_play c01_02_05griffin
211 sound_dialog_play_block pause
212 chr_animate 0 KONOKOwatch_stop
213 cinematic_stop (KONnametag, 15,20)
214 cinematic_stop (GRIFnametagM, 16,20)
215 sleep 15
216 cm_reset
217 end_cutscene
218 trigvolume_enable gotLSI_tv 1
219 target_set(1,0)
220 input 1
221}
222
223func void
224outro(
225 void)
226{
227 chr_delete WH_Thug_A
228 chr_delete WH_Striker_B
229 chr_delete WH_Striker_D
230 begin_cutscene
231 #forklift raises into position
232 obj_create 101 109
233 env_show 101 0
234 env_show 102 0
235 env_show 103 0
236 env_show 104 0
237 env_show 105 0
238 env_show 106 0
239 env_show 107 0
240 env_show 108 0
241 env_show 109 0
242 env_anim 101 109
243 cm_anim both OutroCam01
244 cutscene_sync mark
245 sound_ambient_start c00_38_24_forklifta
246 sound_ambient_start c00_38_24_truck
247 playback 0 OutroKonokoWalk
248 cm_wait
249 #Konoko enters booth
250 cm_anim both OutroCam02
251 chr_envanim 0 OutroKonokoBox01 norotation
252 chr_animate 0 KONOKOlev1_Outro1
253 cm_wait
254 #Forklift starts down
255 cm_anim both OutroCam03
256 chr_envanim 0 OutroKonokoBox02
257 chr_animate 0 KONOKOlev1_Outro2 770
258 env_setanim 101 TwoForkLift01
259 env_setanim 102 TwoForkLift02
260 env_setanim 103 TwoForkLift03
261 env_setanim 104 TwoForkLift04
262 env_setanim 105 TwoForkLift05
263 env_setanim 106 TwoForkLift06
264 env_setanim 107 TwoForkLift07
265 env_setanim 108 TwoForkLift08
266 env_setanim 109 TwoForkLift09
267 env_show 201 0
268 env_show 202 0
269 env_show 203 0
270 env_show 204 0
271 env_show 205 0
272 env_show 206 0
273 env_show 207 0
274 obj_create 201 207
275 env_anim 201 207
276 cutscene_sync mark
277 sound_ambient_start c00_38_24_forkliftb
278 cm_anim_block both OutroCam04
279 cm_anim_block both OutroCam05
280 cutscene_sync mark
281 sound_ambient_start c00_52_13_crash_doors
282 cm_anim_block both OutroCam06
283 cm_wait
284 door_unlock 48
285 particle bigdoor_locklight02 do start
286 ai2_spawn OutroTCTF01
287 ai2_spawn OutroTCTF02
288 ai2_spawn OutroTCTF03
289 sleep 21
290 playback 0 OutroKonokoWalk
291 ai2_setmovementmode OutroTCTF01 run
292 ai2_setmovementmode OutroTCTF02 run
293 ai2_setmovementmode OutroTCTF03 run
294 cm_interpolate OutroCam07 0
295 cm_interpolate_block OutroCam08 240
296 playback OutroTCTF01 OutroTCTF01
297 playback OutroTCTF02 OutroTCTF02
298 playback OutroTCTF03 OutroTCTF03
299 sleep 230
300 playback 0 OutroKonokoJump
301 sleep 120
302 cm_interpolate OutroCam09 0
303 sleep 120
304 cm_reset
305 cm_orbit .1
306 chr_animate 0 KONOKOwatch_start 60
307 sleep 40
308 cinematic_start (KONnametag, 180, 180, 15, 1, 20, false)
309 cinematic_start (GRIFnametagM, 180, 180, 16, 3, 20, true)
310 sleep 19
311 chr_animate 0 KONOKOwatch_idle 3000
312 sound_dialog_play c01_03_01konoko
313 sound_dialog_play_block pause
314 sound_dialog_play c01_03_02griffin
315 sound_dialog_play_block pause
316 ai2_spawn griffin
317 playback griffin GriffinSet
318 sound_dialog_play c01_03_03konoko
319 sound_dialog_play_block pause
320 #griffin Cam
321 cm_interpolate GriffinCam 0
322 cm_interpolate_block GriffinCam01 500
323 sound_dialog_play c01_03_04griffin
324 sound_dialog_play_block pause
325 sound_dialog_play c01_03_05konoko
326 sound_dialog_play_block pause
327 cinematic_stop (KONnametag, 15, 20)
328 sleep 20
329 sound_dialog_play c01_03_06shinatama
330 cinematic_start (SHINtalking, 180, 180, 15, 1, 20, false)
331 sound_dialog_play_block pause
332 cinematic_stop (SHINtalking, 15, 20)
333 sleep 20
334 #konoko camera
335 chr_animate 0 KONOKOwatch_idle 3000
336 cm_reset
337 sleep 20
338 sound_dialog_play c01_03_07griffin
339 sound_dialog_play_block pause
340 sound_dialog_play c01_03_08konoko
341 cinematic_start (KONnametag, 180, 180, 15, 1, 20, false)
342 sound_dialog_play_block pause
343 sleep 15
344 chr_animate 0 KONOKOwatch_stop
345 cinematic_stop (KONnametag, 15,20)
346 cinematic_stop (GRIFnametagM, 16,20)
347 fade_out 0 0 0 120
348 sleep 120
349 win
350}
351
352func void
353camcontrol(
354 void)
355{
356 cm_anim both OutroCam03
357 cm_anim both OutroCam04
358 cm_anim both OutroCam05
359 cm_anim both OutroCam06
360 cm_wait
361 end_cutscene
362}
363
364func void
365OutroLose(
366 void)
367{
368 begin_cutscene weapon
369 ai2_spawn LoseTCTF01
370 ai2_spawn LoseTCTF02
371 ai2_spawn LoseTCTF03
372 sleep f30
373 fade_out 0 0 0 15
374 door_unlock 48
375 particle bigdoor_locklight02 do start
376 sleep f15
377 playback 0 OutroLoseKonoko
378 ai2_setmovementmode LoseTCTF01 run
379 ai2_setmovementmode LoseTCTF02 run
380 ai2_setmovementmode LoseTCTF03 run
381 playback LoseTCTF01 OutroLoseTCTF01
382 playback LoseTCTF02 OutroLoseTCTF02
383 playback LoseTCTF03 OutroLoseTCTF03
384 sleep f25
385 fade_in 20
386 ##show tctf guys stormin the place
387 cm_interpolate OutroLoseCam01 0
388 cm_interpolate_block OutroLoseCam011 120
389 sleep f150
390 ##show and Hide truck stuff
391 env_show 201 0
392 env_show 202 0
393 env_show 203 0
394 env_show 204 0
395 env_show 205 0
396 env_show 206 0
397 env_show 207 0
398 obj_create 201 207
399 ##Truck starts up
400 env_setanim 201 Losetruckwheel01
401 env_setanim 202 Losetruckwheel02
402 env_setanim 203 Losetruckwheel03
403 env_setanim 204 Losetruckwheel04
404 env_setanim 205 Losetruckwheel05
405 env_setanim 206 Losetruckback
406 env_setanim 207 Losetruckcab
407 cm_anim both OutroLoseCam02
408 cutscene_sync mark
409 sound_ambient_start truckleave
410 ###Truck leaves
411 cm_anim_block both OutroLoseCam03
412 playback LoseTCTF01 OutroLoseRoll
413 playback LoseTCTF02 OutroLoseDie
414 playback LoseTCTF03 OutroLoseDodge
415 sleep f20
416 cutscene_sync mark
417 sound_ambient_start gar_dr_up
418 ###
419 sleep f105
420 chr_set_health LoseTCTF02 0
421 #door_jam 48
422 sleep f105
423 cutscene_sync mark
424 sound_ambient_start gar_dr_down
425 cm_wait
426 sleep f30
427 fade_out 0 0 0 90
428 sleep f90
429 lose
430}
431
432
433
434
435
436
Note: See TracBrowser for help on using the repository browser.