home *** CD-ROM | disk | FTP | other *** search
/ Tripas 5 / TRIPAS 005.iso / Wos.EXE / base / maps / intro_start.scr < prev    next >
Encoding:
Text File  |  1999-02-24  |  15.3 KB  |  800 lines

  1. //---------------------------------------------------------------------------------
  2. // Intro Cinematic Scripting
  3. //---------------------------------------------------------------------------------
  4. // Most of this sequence is controlled by the threads camera/camera2 that call the
  5. // necessary commands cronologically. Should be pretty easy to understand, since
  6. // it's very straight forward :)
  7. // This has changed from the demo, had to make it localization friendly :)
  8. // Also added the Cinematic flag so that skipping a cinematic becomes easier and
  9. // waitforplayer.
  10.  
  11. // This level is a cinematic and can be skipped
  12. cinematic
  13.  
  14. skipthread skiplevel_thread
  15.  
  16. // define the dialog file used for the intro cinematic
  17. setdialogscript dialog/dialog_introcinema.scr
  18.  
  19. //wait until player gets spawned (.2 seconds or something after the server started)
  20. waitforplayer
  21.  
  22. music aux1 none
  23. wait .1
  24.  
  25. // initialize level setup, continue after that thread has been finished
  26. thread initialize_thread
  27. local.waitforthread = parm.previousthread
  28. waitForThread local.waitforthread
  29. fadein 3.1 0 0 0
  30. wait 4.5
  31.  
  32. //main camera thread
  33. thread camera_thread
  34. end
  35.  
  36.  
  37. //---
  38. initialize_thread:
  39.  
  40. fadeout .1 0 0 0
  41. wait 1
  42. hud 0
  43. freezeplayer
  44. cueplayer
  45. @translate1 trans_angle 270
  46. @translate1 trans_mag 32
  47. $cam fixedposition
  48. $cam lookat $blade
  49. $cam2 moveto $jcidle
  50. $cam2 fixedposition
  51. $cam2 lookat $jc
  52. cuecamera $cam2
  53. $blade2 animate
  54. $blade2 hide
  55. $blade2 nextanim heligun
  56. $helifollow hide
  57. $helifollow notsolid
  58. $rotor bind $rotororigin
  59. $rotororigin bind $heli
  60. thread rotor1_thread
  61. $corridor_portal open
  62. $jc thread ignore_thread
  63. $jc2 thread ignore_thread
  64. $blade thread ignore_thread
  65. $hc1 thread ignore_thread
  66. $hc2 thread ignore_thread
  67. $hc3 thread ignore_thread
  68. $hc4 thread ignore_thread
  69. $jc anim intro_sit_idle
  70. $jc2 anim intro_idle
  71. $heligun_origin bind $heli
  72. $blade2 bind $heligun_origin
  73. $heligun bind $heligun_origin
  74. $pigeon1 animate
  75. $pigeon2 animate
  76. $pigeon3 animate
  77. $pigeon4 animate
  78. $pigeon5 animate
  79. $pigeon1 nextanim pigeon_idle
  80. $pigeon2 nextanim pigeon_idle
  81. $pigeon3 nextanim pigeon_idle
  82. $pigeon4 nextanim pigeon_idle
  83. $pigeon5 nextanim pigeon_idle
  84. $lookatme hide
  85. $lookatme2 hide
  86. $jc2 hide
  87. $pigeon1 time .1
  88. $pigeon2 time .1
  89. $pigeon3 time .1
  90. $pigeon4 time .1
  91. $pigeon5 time .1
  92. $legdepigeon1 time .1
  93. $legdepigeon2 time .1
  94. $heli time .1
  95. $pigeon1 moveto $pigeon1start
  96. $pigeon2 moveto $pigeon2start
  97. $pigeon3 moveto $pigeon3start
  98. $pigeon4 moveto $pigeon4start
  99. $pigeon5 moveto $pigeon5start
  100. $heli moveto $start
  101. waitFor $pigeon1
  102. waitFor $pigeon2
  103. waitFor $pigeon3
  104. waitFor $pigeon4
  105. waitFor $pigeon5
  106. waitFor $heli
  107. end
  108.  
  109.  
  110. //execute those commands if cinematic is skipped
  111. //---
  112. skiplevel_thread:
  113.  
  114. releaseplayer
  115. thread LevelComplete
  116. map intro
  117. end
  118.  
  119.  
  120. // This does not only control the camera, but also most of the other stuff going on
  121. //---
  122. camera_thread:
  123.  
  124. wait 4
  125. $redlight lightstyle "Lssaa"
  126. music aux2 none
  127. trigger $alarm
  128. wait .4
  129. $jc thread jc_thread
  130. $chair time .6
  131. $chair moveNorth 16
  132. waitFor $chair
  133. wait .4
  134. $blade thread blade_thread
  135. cuecamera $cam
  136. wait 2
  137. trigger $alarm2
  138. music aux3 none
  139. $redlight2 lightstyle "LRssaa"
  140. wait 1.5
  141. $jc hide
  142. $jc2 show
  143. $cam2 moveto $jcwatch1
  144. $cam2 lookat $lookatme
  145. cuecamera $cam2
  146. wait .5
  147. thread officedoor_thread
  148. thread other1_thread
  149.  
  150. thread dialog::intro_alarm1
  151. local.wait = parm.previousthread
  152. waitForThread local.wait
  153.  
  154. cuecamera $cam
  155.  
  156. thread dialog::intro_alarm2
  157. local.waitforthread = parm.previousthread
  158. waitForThread local.waitforthread
  159.  
  160. $cam2 moveto $jcwatch2
  161. $cam2 lookat $lookatme
  162. cuecamera $cam2
  163.  
  164. thread dialog::intro_alarm3
  165. local.waitforthread = parm.previousthread
  166. waitForThread local.waitforthread
  167.  
  168. cuecamera $cam
  169. thread translate_thread
  170.  
  171. thread dialog::intro_alarm4
  172. local.waitforthread = parm.previousthread
  173. waitForThread local.waitforthread
  174.  
  175. $cam2 moveto $jcwatch3
  176. $cam2 lookat $lookatme
  177. cuecamera $cam2
  178.  
  179. thread dialog::intro_alarm5
  180. local.waitforthread = parm.previousthread
  181. waitForThread local.waitforthread
  182.  
  183. $cam speed 2
  184. $cam nofixedposition
  185. $cam follow $campath1
  186. $cam watch $blade
  187. cuecamera $cam
  188. thread elev_thread
  189.  
  190. thread dialog::intro_alarm6
  191. local.waitforthread = parm.previousthread
  192. waitForThread local.waitforthread
  193.  
  194. $cam follow $blade
  195.  
  196. $cam2 moveto $jcwatch4
  197. $cam2 lookat $lookatme
  198. cuecamera $cam2
  199.  
  200. thread dialog::intro_alarm7
  201. local.waitforthread = parm.previousthread
  202. waitForThread local.waitforthread
  203.  
  204. thread other2_thread
  205. cuecamera $cam
  206.  
  207. thread dialog::intro_alarm8
  208. local.waitforthread = parm.previousthread
  209. waitForThread local.waitforthread
  210.  
  211. $cam2 moveto $jccamstart
  212. $cam2 nofixedposition
  213. $cam2 follow $jccamstart $helifollow
  214. cuecamera $cam2
  215.  
  216. wait 1.5
  217. $jc2 thread jc2_thread
  218. thread sound_thread
  219. wait 1
  220. thread rotor2_thread
  221. wait 3
  222. thread dialog::intro_alarm9
  223. $helifollow bind $heli
  224. $heli speed 1.5
  225. $heli followpath $start
  226. wait 5
  227. $cam2 moveto $cam2start
  228. $cam2 speed 1.8
  229. $cam2 follow $cam2start $blade2
  230. wait 1.5
  231. thread pigeon3_thread
  232. wait 2
  233. fadeout 4 0 0 0
  234. wait 3
  235. thread pigeon2_thread
  236. wait 2
  237. releaseplayer
  238. thread LevelComplete
  239. map intro
  240. end
  241.  
  242. //---
  243. LevelComplete:
  244.  
  245. thread global/universal_script.scr::ClearInventory
  246. // Send over the information needed to load the proper intermission
  247. loadintermission "layouts/im_layouts/intro_start_to_intro"
  248. intermissionlayout local.IMString
  249. end
  250.  
  251. //---
  252. other1_thread:
  253.  
  254. wait 1
  255. music aux4 none
  256. wait 2
  257. $redlight lightstyle "La"
  258. $redlight2 lightstyle "Lm"
  259. trigger $alarm
  260. trigger $alarm2
  261. end
  262.  
  263. //---
  264. other2_thread:
  265.  
  266. trigger $heliidle_sound
  267. $blade runto $bladepath4
  268. waitFor $blade
  269. thread out_door_thread
  270. $heli playsound vehicle/helicopt/idleloop.wav 4 1
  271. $blade runto $bladepath5
  272. waitFor $blade
  273. $blade runto $bladepath6
  274. waitFor $blade
  275. $blade anim "1hand_idle3"
  276. wait 4
  277. $blade runto $bladepath7
  278. waitFor $blade
  279. wait 5
  280. $blade hide
  281. $blade remove
  282. $blade2 show
  283. end
  284.  
  285.  
  286. //---
  287. sound_thread:
  288. $heli playsound vehicle/helicopt/powerup&loop.wav 4 1
  289. waitForSound vehicle/helicopt/powerup&loop.wav
  290. $heli playsound vehicle/helicopt/flyloop.wav 2 1
  291. end
  292.  
  293.  
  294. // override standard AI behaviour for all characters
  295. //---
  296. ignore_thread:
  297.  
  298. local.self ignoreall
  299. pause
  300. goto ignore_thread
  301. end
  302.  
  303.  
  304. // Blade's character thread
  305. //---
  306. blade_thread:
  307.  
  308. $blade ignoreall
  309. $blade anim 1hand_idle1
  310. wait 1.8
  311. $blade anim 1hand_idle2
  312. wait 1.8
  313. $blade anim 1hand_idle1
  314. end
  315. wait 28.5
  316. $blade walkto $bladepath1
  317. waitFor $blade
  318. $blade walkto $bladepath2
  319. waitFor $blade
  320. $blade runto $bladepath3
  321. waitFor $blade
  322. $blade runto $bladepath4
  323. waitFor $blade
  324. $blade runto $bladepath5
  325. waitFor $blade
  326. $blade runto $bladepath6
  327. waitFor $blade
  328. $blade anim 1hand_idle3
  329. wait 4
  330. $blade runto $bladepath7
  331. waitFor $blade
  332. wait 5
  333. $blade hide
  334. $blade remove
  335. $blade2 show
  336. end
  337.  
  338.  
  339. //---
  340. jc_thread:
  341.  
  342. $jc anim intro_sit_to_stand
  343. end
  344.  
  345.  
  346. //---
  347. jc2_thread:
  348.  
  349. $jc2 anim intro_walkover
  350. wait 1.4
  351. $jc2 anim intro_idle_window
  352. wait 7.5
  353. $jc2 anim intro_wave
  354. end
  355.  
  356.  
  357. // Have you ever danced with the devil in the pale moonlight?
  358. //---
  359. hc1_thread:
  360.  
  361. wait 2
  362. $hc1 lookat $blade
  363. wait 1.5
  364. $hc1 walkto $hc1path2
  365. waitFor $hc1
  366. $hc1 lookat $blade
  367. $hc1 walkto $hc1path3
  368. waitFor $hc1
  369. $hc1 lookat $heli
  370. end
  371.  
  372.  
  373. //---
  374. hc2_thread:
  375.  
  376. $hc2 walkto $hc2path2
  377. waitFor $hc2
  378. $hc2 walkto $hc2path3
  379. waitFor $hc2
  380. $hc2 lookat $heli
  381. end
  382.  
  383.  
  384. //---
  385. hc3_thread:
  386.  
  387. $hc3 runto $hc3path1
  388. waitFor $hc3
  389. $hc3 runto $hc3path2
  390. waitFor $hc3
  391. end
  392.  
  393.  
  394. //---
  395. hc4_thread:
  396.  
  397. wait 3
  398. $hc4 runto $hc4path
  399. waitFor $hc4
  400. end
  401.  
  402.  
  403. //---
  404. rotor1_thread:
  405.  
  406. $rotor bind $rotororigin
  407. $rotororigin bind $heli
  408. wait .1
  409. $rotororigin time 2.2
  410. $rotororigin rotateY 90
  411. end
  412.  
  413.  
  414. //---
  415. rotor2_thread:
  416.  
  417. $rotororigin time 3
  418. $rotororigin rotateYup 360
  419. waitFor $rotororigin
  420. $rotororigin time 2
  421. $rotororigin rotateYup 360
  422. waitFor $rotororigin
  423. $rotororigin time 1.5
  424. $rotororigin rotateYup 360
  425. waitFor $rotororigin
  426. $rotororigin time 1.2
  427. $rotororigin rotateYup 360
  428. waitFor $rotororigin
  429. $rotororigin time 0.9
  430. $rotororigin rotateYup 360
  431. waitFor $rotororigin
  432. $rotororigin time 0.7
  433. $rotororigin rotateYup 360
  434. waitFor $rotororigin
  435. $rotororigin time .5
  436. $rotororigin rotateYup 360
  437. waitFor $rotororigin
  438. $rotororigin rotateY 720
  439. end
  440.  
  441.  
  442. //---
  443. elev_thread:
  444.  
  445. wait 2
  446. trigger $elevsound
  447. $elev_portal open
  448. $elev_door_right time .5
  449. $elev_door_left time .5
  450. $elev_glassdoor time .8
  451. $elev_door_right playsound environment/doors/pneu/smlpnu.wav 2 1
  452. $elev_door_right moveSouth 96
  453. $elev_door_left moveNorth 96
  454. wait .5
  455. $elev_glassdoor playsound environment/doors/metal/mtldoor1.wav 2 3
  456. $elev_glassdoor moveUp 128
  457. waitFor $elev_door_right
  458. waitFor $elev_door_left
  459. waitFor $elev_glassdoor
  460. wait 1.5
  461. $blade runto $bladepath1
  462. waitFor $blade
  463. $blade runto $bladepath2
  464. waitFor $blade
  465. end
  466.  
  467.  
  468. // stop translating textures to create illusion of elevator stopping
  469. //---
  470. translate_thread:
  471.  
  472. wait 5
  473. local.translate = 32
  474.  
  475. translate_loop:
  476. local.translate iflessequal 4 goto translate_end
  477. local.translate *= 0.8
  478. @translate1 trans_mag local.translate
  479. wait .1
  480. goto translate_loop
  481. end
  482.  
  483. translate_end:
  484. @translate1 trans_mag 2
  485. wait .1
  486. @translate1 trans_mag 0
  487. end
  488.  
  489.  
  490. // Lethal Weapon 4 rules!
  491. //---
  492. out_door_thread:
  493.  
  494. $hc2 thread hc2_thread
  495. wait 1.2
  496. thread pigeon_thread
  497. $hc1 thread hc1_thread
  498. $out_door_portal open
  499. $out_door_left time .5
  500. $out_door_right time .5
  501. $out_door_right playsound environment/doors/pneu/smlpnu.wav 2 1
  502. $out_door_left moveWest 96
  503. $out_door_right moveEast 96
  504. waitFor $out_door_left
  505. waitFor $out_door_right
  506. end
  507.  
  508.  
  509. //---
  510. officedoor_thread:
  511.  
  512. $hc3 thread hc3_thread
  513. $hc4 thread hc4_thread
  514. wait 1
  515.  
  516. $office_portal open
  517. $officedoor_left time .5
  518. $officedoor_right time .5
  519. $officedoor_right playsound environment/doors/pneu/smlpnu.wav 2 3
  520. $officedoor_left moveSouth 96
  521. $officedoor_right moveNorth 96
  522. waitFor $officedoor_left
  523. waitFor $officedoor_right
  524. wait 3
  525. $officedoor_left playsound environment/doors/pneu/smlpnu.wav 2 1
  526. $officedoor_right moveSouth 96
  527. $officedoor_left moveNorth 96
  528. waitFor $officedoor_right
  529. waitFor $officedoor_left
  530. $office_portal close
  531. end
  532.  
  533.  
  534. // Pigeons are scriptmodels
  535. //---
  536. pigeon_thread:
  537.  
  538. wait 1
  539. $pigeon1 speed 10
  540. $pigeon2 speed 10
  541. $pigeon1 followpath $pigeon1start
  542. wait .3
  543. $pigeon2 followpath $pigeon2start
  544. $pigeon1 nextanim pigeon_takeoff
  545. $pigeon2 nextanim pigeon_takeoff
  546. wait 1
  547. $pigeon1 nextanim pigeon_flyfast
  548. $pigeon2 nextanim pigeon_flyfast
  549. wait 2
  550. $pigeon1 nextanim pigeon_fly
  551. $pigeon2 nextanim pigeon_fly
  552. wait .5
  553. $pigeon1 nextanim pigeon
  554. $pigeon2 nextanim pigeon
  555. wait .7
  556. $pigeon1 nextanim pigeon_walkA
  557. $pigeon2 nextanim pigeon_walkA
  558. wait .7
  559. $pigeon1 nextanim pigeon_idleA
  560. $pigeon2 nextanim pigeon_idleA
  561. end
  562.  
  563.  
  564. //---
  565. pigeon2_thread:
  566.  
  567. $pigeon1 speed 15
  568. $pigeon2 speed 15
  569. $pigeon3 speed 15
  570. $pigeon4 speed 15
  571. $pigeon5 speed 15
  572. $pigeon1 followpath $pigeon1start2 normalangles
  573. $pigeon1 nextanim pigeon_takeoff
  574. wait .1
  575. $pigeon3 followpath $pigeon3start normalangles
  576. $pigeon3 nextanim pigeon_takeoff
  577. wait .1
  578. $pigeon4 followpath $pigeon4start normalangles
  579. $pigeon4 nextanim pigeon_takeoff
  580. wait .1
  581. $pigeon2 followpath $pigeon2start2 normalangles
  582. $pigeon2 nextanim pigeon_takeoff
  583. wait .1
  584. $pigeon5 followpath $pigeon5start normalangles
  585. $pigeon5 nextanim pigeon_takeoff
  586. wait .2
  587. $pigeon1 nextanim pigeon_flyfast
  588. wait .1
  589. $pigeon3 nextanim pigeon_flyfast
  590. wait .1
  591. $pigeon4 nextanim pigeon_takeoff
  592. wait .1
  593. $pigeon2 nextanim pigeon_takeoff
  594. wait .1
  595. $pigeon5 nextanim pigeon_takeoff
  596. wait 1.6
  597. $pigeon1 nextanim pigeon_fly
  598. wait .1
  599. $pigeon3 nextanim pigeon_fly
  600. wait .1
  601. $pigeon4 nextanim pigeon_takeoff
  602. wait .1
  603. $pigeon2 nextanim pigeon_takeoff
  604. wait .1
  605. $pigeon5 nextanim pigeon_takeoff
  606. wait 7
  607. $pigeon1 remove
  608. $pigeon2 remove
  609. $pigeon3 remove
  610. $pigeon4 remove
  611. $pigeon5 remove
  612. end
  613.  
  614.  
  615. //---
  616. pigeon3_thread:
  617.  
  618. wait .6
  619. $ledgepigeon1 speed 60
  620. $ledgepigeon2 speed 60
  621. $ledgepigeon1 nextanim pigeon_takeoff
  622. $ledgepigeon2 nextanim pigeon_takeoff
  623. $ledgepigeon1 moveSouth 8 96
  624. $ledgepigeon1 moveEast 32
  625. $ledgepigeon2 moveEast 32
  626. $ledgepigeon1 moveUp 24
  627. $ledgepigeon2 moveUp 24
  628. waitFor $ledgepigeon1
  629. waitFor $ledgepigeon2
  630. $ledgepigeon1 nextanim pigeon_fly
  631. $ledgepigeon2 nextanim pigeon_fly
  632. $ledgepigeon1 speed 130
  633. $ledgepigeon2 speed 130
  634. $ledgepigeon1 moveEast 1024
  635. $ledgepigeon2 moveEast 1024
  636. $ledgepigeon1 moveUp 32
  637. //$ledgepigeon2 moveUp 32
  638. $ledgepigeon1 moveNorth 96
  639. $ledgepigeon2 moveNorth 128
  640. waitFor $ledgepigeon1
  641. waitFor $ledgepigeon2
  642. end
  643.  
  644.  
  645. //---
  646. heligun_rotate_thread:
  647.  
  648. $heligun_origin time 2
  649.  
  650. loop:
  651. $heligun_origin rotateYup 10
  652. waitFor $heligun_origin
  653. wait .5
  654. $heligun_origin rotateYdown 15
  655. waitFor $heligun_origin
  656. wait .8
  657. $heligun_origin rotateYup 5
  658. waitFor $heligun_origin
  659. wait 3
  660. goto loop
  661. end
  662.  
  663. //-------------------------
  664. // Would you die for this?
  665. // www.ocrana.de
  666. //-------------------------
  667.  
  668.  
  669.  
  670. // Mission computer
  671. //start:
  672. //wait 5
  673. //local.missioncon string "%missioncon"
  674. //local.missioncon conlayout "jcx jcy string \"poop?\""
  675. //end
  676.  
  677.  
  678. //unused heli stuff
  679. //---
  680. //heli_thread:
  681.  
  682. local.helispeed = 50
  683. local.helirange = 4
  684. //$heli speed 100
  685. //$heli bind $heliorigin
  686. $heli speed 1
  687. $heli followpath $start
  688. wait 10
  689. end
  690.  
  691. //heli_loop:
  692. local.helispeed ifequal 50 thread heli_rotate1_thread
  693. $heliorigin speed local.helispeed
  694. $heliorigin moveUp local.helirange
  695. $heliorigin moveEast local.helirange
  696. waitFor $heliorigin
  697. local.helispeed ifgreaterequal 350 local.helispeed = 350
  698. local.helispeed ifgreaterequal 350 goto heliend
  699. local.helirange ifgreaterequal 80 local.helirange = 80
  700. local.helispeed += 50
  701. local.helirange *= 1.75
  702. goto heli_loop
  703. end
  704.  
  705. heliend:
  706. thread heli_rotate1_thread
  707. $heliorigin speed 600
  708. $heliorigin moveEast 256
  709. $heliorigin moveUp 92
  710. waitFor $heliorigin
  711. thread heli_rotate2_thread
  712. $heliorigin moveEast 384
  713. $heliorigin moveUp 96
  714. waitFor $heliorigin
  715. thread heli_rotate3_thread
  716. $heliorigin moveEast 256
  717. $heliorigin moveUp 32
  718. $heliorigin moveNorth 48
  719. waitFor $heliorigin
  720. thread heli_rotate4_thread
  721. $heliorigin moveEast 256
  722. $heliorigin moveUp 16
  723. $heliorigin moveNorth 96
  724. $heliorigin rotateYup 10
  725. $heliorigin rotateZdown 10
  726. waitFor $heliorigin
  727. $heliorigin moveEast 256
  728. $heliorigin moveUp 24
  729. $heliorigin moveNorth 96
  730. $heliorigin rotateYup 10
  731. waitFor $heliorigin
  732. $heliorigin moveEast 256
  733. $heliorigin moveUp 32
  734. $heliorigin moveNorth 96
  735. $heliorigin rotateYup 10
  736. waitFor $heliorigin
  737. $heliorigin moveEast 192
  738. $heliorigin moveUp 32
  739. $heliorigin moveNorth 256
  740. $heliorigin rotateYup 10
  741. waitFor $heliorigin
  742. $heliorigin moveEast 128
  743. $heliorigin moveUp 32
  744. $heliorigin moveNorth 256
  745. $heliorigin rotateYup 10
  746. waitFor $heliorigin
  747. $heliorigin moveEast 192
  748. $heliorigin moveUp 32
  749. $heliorigin moveNorth 512
  750. $heliorigin rotateYup 7
  751. waitFor $heliorigin
  752. end
  753.  
  754. //---
  755. //heli_rotate1_thread:
  756.  
  757. $heli time 0.6
  758. $heli rotateXup 5
  759. waitFor $heli
  760. end
  761.  
  762. //---
  763. //heli_rotate2_thread:
  764.  
  765. $heli time 0.6
  766. $heliorigin rotateYup 4
  767. $heliorigin rotateZdown 4
  768. waitFor $heli
  769. end
  770.  
  771. //---
  772. //heli_rotate3_thread:
  773.  
  774. $heli time 0.6
  775. $heliorigin rotateYup 4
  776. $heliorigin rotateZdown 4
  777. $heli rotateXdown 1
  778. waitFor $heli
  779. end
  780.  
  781. //---
  782. //heli_rotate4_thread:
  783.  
  784. $heli time 0.6
  785. $heliorigin rotateYup 10
  786. $heliorigin rotateZdown 10
  787. $heli rotateXdown 2
  788. waitFor $heli
  789. end
  790.  
  791. // sound precache
  792. precache:
  793.   cachesound environment/doors/metal/mtldoor1.wav
  794.   cachesound environment/doors/pneu/smlpnu.wav
  795.   cachesound vehicle/helicopt/flyloop.wav
  796.   cachesound vehicle/helicopt/idleloop.wav
  797.   cachesound vehicle/helicopt/powerup&loop.wav
  798. end
  799.  
  800.