home *** CD-ROM | disk | FTP | other *** search
/ Hráč 1997 December / Hrac_16_1997-12_cd.bin / DEMA / INCOMING / INCOMING.EXE / _SETUP.1 / mission2.mdl < prev    next >
Text File  |  1997-10-13  |  44KB  |  2,488 lines

  1. drag_coeff    0.01        
  2. gravity        2.2
  3.  
  4. ;-------------------------------------------------------
  5.  
  6. ;type "PLASMA BOLT 1"        alien heavy cannon        rate 14    tank 28 fa & battle
  7. ;type "TRACER SHOT 1"        player ssm                rate 32
  8. ;type "ROCKET 1"            player light rocket        rate 4
  9. ;type "GUIDED MISSILE"        player guided missile    rate 64 heli 32 jetftr
  10. ;type "GREEN LASER"            player fixed gun        rate 2
  11. ;type "GREEN ENERGY LASER"    player fixed gun        rate 16 on gun turrets
  12. ;type "PLASMA BOLT 2"        alien medium cannon        rate 11
  13. ;type "PLASMA BOLT 3"        alien light cannon        rate 8
  14. ;type "ROCKET 2"            player heavy rocket        rate 20
  15. ;type "RED LASER"            player heavy gun        rate 4
  16. ;type "BLUE LASER"            player medium gun        rate -
  17. ;type "PURPLE LASER"        player light gun        rate 2
  18. ;type "BOMB 1"                ?                        rate -
  19. ;type "ENERGY 1"            alien special weapon    rate 32
  20. ;type "PLASMA BOLT 4"        alien bomb                rate 4 nom 32 free attack
  21. ;type "DESIGNATOR"            satellite attack weapon    rate 128
  22.  
  23.  
  24. phasestart
  25.  
  26.  
  27. clear_flag all
  28.  
  29. critical_group "ccentre"
  30.                     
  31.  
  32. ;-------------------------------------------------------
  33. ;-------------player units
  34.  
  35. create "helicopter"
  36.     label "cichli"
  37. ;    position 14500 -122 14500
  38.     position 14500 -122 16400
  39.     forward 0.5 0 -0.8 up 0 1 0
  40.     armed_with "PURPLE LASER"    rate 2
  41.     secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
  42.     inert
  43.  
  44. create hero "hovercraft"
  45.     label "foil"
  46.     position 16982 on ground 14883
  47.     forward 0 0 1 up 0 1 0
  48.     armed_with "RED LASER"    rate 4
  49.     secondary_armed_with "ROCKET 1" rate 32 rounds 20
  50.     task
  51.         wait_until flag 0 set
  52.         playercontrols
  53.         kill
  54.     end
  55.  
  56. create "mobaaa"
  57.     label "nulquen"
  58.     position 14450 -1709 11100
  59.     forward -1 0 0 up 0 1 0
  60.     armed_with "GREEN LASER"    rate 2
  61.     inert
  62.  
  63. create "mobaaa"
  64.     label "overand"
  65.     position 14400 -1244 22500
  66.     forward 0.5 0 -0.8 up 0 1 0
  67.     armed_with "GREEN LASER"    rate 2
  68.     inert
  69.  
  70. create "mobrack"
  71.     label "overandS"
  72.     position 13650 -1244 22500
  73.     forward 0.5 0 0.8 up 0 1 0
  74.     armed_with "GUIDED MISSILE"    rate 64
  75.     task
  76.         slave_to "overand"
  77.     end
  78.  
  79. ;------------------------------------
  80. ;------------enemy turrets
  81.  
  82. ;create "alnadubs"
  83. ;    position 52500 on ground 44000
  84. ;    forward 1 0 0 up 0 1 0
  85. ;    armed_with "GREEN ENERGY LASER" rate 24
  86. ;    task
  87. ;        attack
  88. ;    end
  89.  
  90. ;create "alnadubs"
  91. ;    label "gun2"
  92. ;    position 46500 on ground 20000
  93. ;    forward 1 0 0 up 0 1 0
  94. ;    armed_with "GREEN ENERGY LASER" rate 4
  95. ;    task
  96. ;        attack
  97. ;    end
  98.  
  99. ;create "alnadubs"
  100. ;    position 55000 on ground 33000
  101. ;    forward 1 0 0 up 0 1 0
  102. ;    armed_with "GREEN ENERGY LASER" rate 24
  103. ;    task
  104. ;        attack
  105. ;    end
  106.  
  107. ;create "alnadubs"
  108. ;    label "gun6"
  109. ;    inert
  110. ;    position 46698 on ground 22914
  111. ;    forward 1 0 0 up 0 1 0
  112. ;    armed_with "GREEN ENERGY LASER" rate 24
  113. ;    task
  114. ;        attack
  115. ;    end
  116.  
  117. ;-----------------phase 1 enemy turrets
  118. create "alnadubs"
  119.     label "gun7"
  120.     position 40500 on ground 30000
  121.     forward -1 0 0 up 0 1 0
  122.     armed_with "GREEN ENERGY LASER" rate 32
  123.     task
  124.         attack
  125.     end
  126.  
  127. create "alnadubs"
  128.     label "gun8"
  129.     position 36500 on ground 37000
  130.     forward -1 0 0 up 0 1 0
  131.     armed_with "GREEN ENERGY LASER" rate 32
  132.     task
  133.         attack
  134.     end
  135.  
  136. ;-----------------turret shields---------------------------
  137. createstatic "sshield"
  138.     no_colide "gun7"
  139.     die_with "sssgen7"
  140.     position 40500 on ground 30000
  141.  
  142. createstatic "sshield"
  143.     no_colide "gun8"
  144.     die_with "sssgen8"
  145.     position 36500 on ground 37000
  146.  
  147. ;-----------------small shields---------------------------
  148. createstatic "sshield"
  149.     no_colide "ssgen2"
  150.     die_with "ssgen2"
  151.     position 36000 on ground 56500
  152.  
  153. createstatic "sshield"
  154.     no_colide "ssgen3"
  155.     die_with "ssgen3"
  156.     position 31000 on ground 54000
  157.  
  158. createstatic "sshield"
  159.     no_colide "ssgen4"
  160.     die_with "ssgen4"
  161.     position 37500 on ground 53500
  162.  
  163. createstatic "sshield"
  164.     no_colide "ssgen5"
  165.     die_with "ssgen5"
  166.     position 49500 on ground 26000
  167.  
  168. ;-----------------big shields---------------------------
  169. createstatic "bshield"
  170.     no_colide "bsgen3"
  171.     die_with "bsgen3"
  172.     position 55000 on ground 40000
  173.  
  174. createstatic "bshield"
  175.     no_colide "bsgen2"
  176.     die_with "bsgen2"
  177.     position 52000 on ground 18500
  178.  
  179. createstatic "bshield"
  180.     no_colide "bsgen1"
  181.     die_with "bsgen1"
  182.     position 51000 on ground 49400
  183.  
  184.  
  185. ;-------------------------------------------------------
  186. ;PHASE 1
  187. ;-------------------------------------------------------
  188.  
  189. phasemessage 92 60
  190. playcdslow
  191.  
  192. hud off
  193. camera
  194.     attached_to "hero"
  195.     position 600 -300 -600
  196.     pointing_at "hero"
  197.     dolly 0
  198.  
  199.  
  200. procedure "P1-bog"
  201.  
  202.     wait_until "bog" destroyed
  203.     pause 10
  204.     camera_task
  205.         cam_pos -100 -100 -1000 attached_to "bog"
  206.         cam_focus "bog"
  207.  
  208.         cam_goto 50 -100 -50
  209.         cam_goto -50 -100 -100
  210.  
  211.         pause 50
  212.         cam_mode cockpit
  213.     end
  214.  
  215. end_procedure terminate after 1 loops
  216. ;-----------------------------
  217. ;-------------cosmetic
  218.  
  219. create "aivtol"
  220.     position 18000 -1800 10000
  221.     forward 0 0 1 up 0 1 0 
  222.     task
  223.         goto 18000 -1800 17000       
  224.         goto 17500 -2200 20000
  225.         goto 14000 -3000 28000
  226.         kill
  227.     end
  228.  
  229. create "aivtol"
  230.     position 16000 -1600 8000
  231.     forward 0 0 1 up 0 1 0 
  232.     task
  233.         goto 16000 -1600 17000
  234.         goto 15500 -2000 20000
  235.         goto 12000 -2800 28000
  236.         kill
  237.     end
  238.  
  239. ;------------------------------
  240. set_waypoint "sssgen8"
  241.  
  242. create "attakhov"
  243.     position 18179.7 on ground 19646.9
  244.     forward 1 0 0 up 0 1 0
  245.     armed_with "RED LASER" rate 8
  246.     task
  247.         goto 24249.2 on ground 27127.4
  248.         goto 29508.2 on ground 28851.3
  249.         attack "sssgen8"
  250.         attack "gun8"
  251.         attack "sssgen7"
  252.         attack "gun7"
  253.         goto 18179.7 on ground 19646.9
  254.         kill
  255.        end
  256.  
  257. pause 100
  258.  
  259. create "attakhov"
  260.     position 18179.7 on ground 19646.9
  261.     forward 1 0 0 up 0 1 0
  262.     armed_with "RED LASER" rate 8
  263.     task
  264.         goto 24249.2 on ground 27127.4
  265.         goto 29508.2 on ground 28851.3
  266.         attack "sssgen7"
  267.         attack "gun7"
  268.         attack "sssgen8"
  269.         attack "gun8"
  270.         goto 18179.7 on ground 19646.9
  271.         kill
  272.  
  273.        end
  274.  
  275. camera cockpit
  276. set_flag 0
  277.  
  278.  
  279. wait_until distance_between waypoint and "hero" <10000
  280. end_procedure "P1-bog"
  281.  
  282. phasemessage 20 60
  283.  
  284. wait_until "sssgen8" destroyed 
  285. set_waypoint "sssgen7"
  286.  
  287. wait_until "sssgen7" destroyed 
  288. clear_waypoint
  289.  
  290. phasemessage 21 60
  291.  
  292. wait_until "gun7" destroyed
  293. and "gun8" destroyed
  294.  
  295. clear_waypoint
  296.  
  297. phasemessage 22 50
  298.  
  299. create "aivtol"
  300.     label "astrike1"
  301.     position 41500 -2800 15000
  302.     forward 0 0 1 up 0 1 0
  303.     armed_with "ROCKET 2" rate 1
  304.     task
  305.         goto 41500 -2800 28000
  306.         shoot "rad1"
  307.         goto 41500 -2800 32000
  308.         shoot "rad1"
  309.         set_flag 8
  310.         goto 38500 -3000 34000
  311.         set_flag 3
  312.         goto 10000 -4000 60000 
  313.         kill
  314.     end
  315.  
  316. create "aivtol"
  317.     label "astrike2"
  318.     position 40500 -2800 17000
  319.     forward 0 0 1 up 0 1 0
  320.     armed_with "ROCKET 2" rate 1
  321.     task
  322.         goto 40500 -2800 26000
  323.         shoot "rad1"
  324.         goto 40500 -2800 30000
  325.         shoot "rad1"
  326.         goto 36500 -3000 34000
  327.         set_flag 3
  328.         goto 10000 -4000 60000 
  329.         kill
  330.     end
  331.  
  332. camera_task
  333.     hud off
  334.     cam_pos 0 0 1000 attached_to "astrike1"
  335.     cam_focus "astrike2"
  336.  
  337.     cam_goto 1000 0 -1000
  338.     cam_focus "astrike1"
  339.     dolly 1
  340.     dollyspeed 0.1%
  341.  
  342.     cam_goto -1000 0 8000
  343. end
  344.  
  345. wait_until flag 8 set
  346. pause 40
  347. startwave 0 -50 0 relative to "rad1" 0
  348. pause 5
  349. startwave 0 -50 0 relative to "rad1" 0
  350. pause 5
  351. startwave 0 -50 0 relative to "rad1" 0
  352. pause 5
  353. startwave 0 -50 0 relative to "rad1" 0
  354.  
  355.  
  356.  
  357. wait_until flag 3 set
  358. set_waypoint "rad1"
  359. pause 50
  360.  
  361. camera cockpit
  362.  
  363. phasemessage 23 60
  364.  
  365. wait_until "rad1" destroyed
  366.  
  367. startwave 0 -150 0 relative to "rad1" 0
  368. pause 5
  369. startwave 0 -170 0 relative to "rad1" 0
  370. pause 5
  371. startwave 0 -190 0 relative to "rad1" 0
  372. pause 5
  373. startwave 0 -210 0 relative to "rad1" 0
  374.  
  375.  
  376.  
  377. phasemessage 91 60
  378.  
  379. pause 20
  380.  
  381. set_flag 10
  382.  
  383. hud off
  384. camera
  385.     attached_to "hero"
  386.     position 600 -300 -600
  387.     pointing_at "hero"
  388.     dolly 1
  389.     dollyspeed 0.1%
  390. pause 80
  391.  
  392. ;-------------------------------------------------------
  393. ;PHASE 2
  394. ;-------------------------------------------------------
  395.  
  396. phasestart
  397.  
  398. phasemessage 7 80
  399.  
  400. clear_flag all
  401. clear_waypoint
  402.  
  403. kill group "vtol"
  404.  
  405. kill group "aihuman"
  406.  
  407. switch_hero "nulquen"
  408.     task
  409.         wait_until flag 0 set
  410.         playercontrols
  411.     end
  412.  
  413. hud off
  414. camera
  415.     attached_to "hero"
  416.     position 600 -300 -600
  417.     pointing_at "hero"
  418.     dolly 0
  419.     pause 40
  420.     set_flag 0
  421.  
  422. camera cockpit
  423.  
  424.  
  425. ;-----------------------
  426. ;-----------------wave 1
  427.  
  428. procedure "a1"
  429.     create "lfighter"
  430.         position 11149.3 -2795.4 24777.3
  431.         towards "hero"
  432.         armed_with "PLASMA BOLT 3" rate 8
  433.         task
  434.             goto 15253.8 -735.4 16955
  435.             goto 14001.8 -2345.4 14158.9
  436.             goto 14723.5 -2915.4 10939.1
  437.             attack "hero"
  438.         end
  439.     pause 50
  440. end_procedure terminate after 4 loops
  441.  
  442. procedure "a2"
  443.     create "lfighter"
  444.         position 15934.9 -2825.4 22936.9
  445.  
  446.         towards "hero"
  447.         armed_with "PLASMA BOLT 3" rate 8
  448.         task
  449.             goto 13084.9 -1115.4 16496.9
  450.             goto 13744.9 -595.4 15106.9
  451.             goto 14001.8 -2000 14158.9
  452.             goto 14723.5 -2600 10939.1
  453.             attack "hero"
  454.         end
  455.     pause 50
  456. end_procedure terminate after 4 loops
  457. pause 10
  458.  
  459. wait_until number_of "aair" = 0
  460. end_procedure "a1"
  461. end_procedure "a2"
  462.  
  463. ;-----------------------
  464. ;-----------------wave 2
  465.  
  466. procedure "a1"
  467.     create "lfighter"
  468.         position 22589.4 -1447.12 15757.2
  469.         towards "hero"
  470.         armed_with "PLASMA BOLT 3" rate 8
  471.         task
  472.             goto 20742.9 -2477.12 15533.4
  473.             shoot "hero" bomb
  474.             goto 16851.3 -750 15061.7
  475.             goto 15354.4 -2517.12 12452.6
  476.             attack "hero"
  477.         end
  478.     pause 50
  479. end_procedure terminate after 4 loops
  480. pause 10
  481.  
  482. wait_until number_of "aair" = 0
  483. end_procedure "a1"
  484.  
  485. ;-----------------------
  486. ;-----------------wave 3
  487.  
  488. procedure "a1"
  489.     create "lfighter"
  490.         position 11149.3 -2795.4 24777.3
  491.         towards "hero"
  492.         armed_with "PLASMA BOLT 2" rate 8
  493.         task
  494.             do
  495.                 goto 14253.8 -735.4 15955
  496.                 attack group "replen"
  497.             until "hero" destroyed
  498. ;            attack "hero"
  499.         end
  500.     pause 50
  501. end_procedure terminate after 3 loops
  502.  
  503. wait_until proc "a1" terminated
  504. wait_until number_of "aair" <=2
  505.  
  506. procedure "a1"
  507.     create "lfighter"
  508.         position 22589.4 -1447.12 15757.2
  509.         towards "hero"
  510.         armed_with "PLASMA BOLT 2" rate 8
  511.         task
  512.             goto 20742.9 -2477.12 15533.4
  513.             shoot "hero" bomb
  514.             goto 16851.3 -750 15061.7
  515.             goto 15354.4 -2517.12 12452.6
  516.             attack "hero"
  517.         end
  518.     pause 50
  519. end_procedure terminate after 4 loops
  520.  
  521.  
  522. wait_until number_of "aair" =0
  523. end_procedure "a1"
  524.  
  525. ;-----------------------
  526. ;-----------------wave 4
  527.  
  528. procedure "a1"
  529.     create "hfighter"
  530.         position 11076.3 -1132 9753.88
  531.  
  532.         towards "hero"
  533.         armed_with "PLASMA BOLT 3" rate 8
  534.         task
  535.             goto 11685.3 -2042 10008.3
  536.             goto 12801.7 -2782 10474.9
  537.             shoot "hero" bomb
  538.             attack "hero"
  539.         end
  540.     pause 50
  541. end_procedure terminate after 4 loops
  542. pause 10
  543.  
  544. wait_until number_of "fighters" =0
  545. end_procedure "a1"
  546.  
  547.  
  548. ;-----------------
  549.  
  550. phasemessage 91 60
  551.  
  552. pause 20
  553.  
  554. set_flag 10
  555.  
  556. hud off
  557. camera
  558.     attached_to "hero"
  559.     position 600 -300 -600
  560.     pointing_at "hero"
  561.     dolly 1
  562.     dollyspeed 0.1%
  563. pause 80
  564.  
  565. ;-------------------------------------------------------
  566. ;PHASE 3
  567. ;-------------------------------------------------------
  568.  
  569. phasestart
  570.  
  571. phasemessage 24 60
  572. playcdfast
  573.  
  574. clear_flag all
  575.  
  576. ;set_task "foil"
  577. ;    position 16982 on ground 14883
  578. ;    forward 0 0 1 up 0 1 0
  579. ;    secondary_armed_with "TRACER SHOT 1" rate 32 rounds 20
  580. ;    end
  581. ;set_inert "foil"
  582.  
  583. switch_hero "cichli"
  584.     task
  585.         wait_until flag 0 set
  586.          playercontrols
  587.     end
  588.  
  589.  
  590. camera_task
  591.     hud off
  592.     cam_pos 600 -200 -600 attached_to "hero"
  593.     cam_focus "hero"
  594.     dolly 0
  595.     set_flag 0
  596.  
  597.     cam_goto -600 -200 -600
  598.     wait_until distance_between "hero" and "replen1" > 500
  599.  
  600.     cam_mode cockpit
  601. end
  602.  
  603.  
  604. create "alnadubs"
  605.     label "gun4"
  606.     position 32500 on ground 59000
  607.     forward 1 0 0 up 0 1 0
  608.     armed_with "GREEN ENERGY LASER" rate 24
  609.     task
  610.         attack
  611.     end
  612.  
  613. create "alnadubs"
  614.     label "gun5"
  615.     position 31000 on ground 51000
  616.     forward 1 0 0 up 0 1 0
  617.     armed_with "GREEN ENERGY LASER" rate 24
  618.     task
  619.         attack
  620.     end
  621.  
  622.  
  623. critical_group "aihuman"
  624.  
  625. #------------------------
  626. #------create hover hanks
  627.  
  628. create "sloathov"
  629.     label "attack"
  630.     position 35385 on ground 45505
  631.     forward 0 0 1 up 0 1 0
  632.     armed_with "RED LASER" rate 7
  633.     task
  634.         wait_until flag 1 set
  635.         goto 34829.3 on ground 50211.6
  636.         goto 36643 on ground 52008.9
  637.         do
  638.             shoot "ssgen4" bomb
  639.         until "ssgen4" destroyed
  640.         do
  641.             shoot "abld4" bomb
  642.         until "abld4" destroyed
  643.  
  644.     end
  645.  
  646. create "sloathov"
  647.     position 36380 on ground 43810
  648.     forward 0 0 1 up 0 1 0
  649.     armed_with "RED LASER" rate 7
  650.     task
  651.         wait_until flag 1 set
  652.         goto 34829.3 on ground 50211.6
  653.         goto 34300 on ground 55666.2
  654.         do
  655.             shoot "ssgen2" bomb
  656.         until "ssgen2" destroyed
  657.         do
  658.             shoot "abld2" bomb
  659.         until "abld2" destroyed
  660.  
  661.  
  662.  
  663.     end
  664.  
  665. create "sloathov"
  666.     position 35691.8 on ground 41063.4
  667.     forward 0 0 1 up 0 1 0
  668.     armed_with "RED LASER" rate 7
  669.     task
  670.         wait_until flag 1 set
  671.         goto 34829.3 on ground 50211.6
  672.         goto 32904.6 on ground 53290.5
  673.         do
  674.             shoot "ssgen3" bomb
  675.         until "ssgen3" destroyed
  676.         do
  677.             shoot "abld3" bomb
  678.         until "abld3" destroyed
  679.     end
  680.  
  681. #------------------------------
  682. #------create alien hover hanks
  683.  
  684. procedure "a1"
  685.     create "atank"
  686.         position 30867 on ground 22602.8
  687.         armed_with "PLASMA BOLT 3" rate 16
  688.         task
  689.             goto 35644.4 on ground 22935.6
  690.             goto 40960.6 on ground 27364.7
  691.             attack group "aihuman"
  692.         end
  693.  
  694.     pause 50
  695. end_procedure terminate after 3 loops
  696. pause 10
  697.  
  698. #------------------------------------
  699. #------waypoint to closest enemy tank
  700. procedure "wp land"
  701.     set_waypoint nearest "aland"
  702. end_procedure
  703.  
  704.  
  705. wait_until proc "a1" terminated
  706. wait_until number_of "aland" <= 2
  707.  
  708.  
  709. create "lfighter"
  710.     position -17000 -3200 500 relative toxz "hero"
  711.     armed_with "PLASMA BOLT 3" rate 16
  712.     task
  713.         attack "hero"
  714.     end
  715.  
  716. create "lfighter"
  717.     position -17000 -3200 800 relative toxz "hero"
  718.     armed_with "PLASMA BOLT 3" rate 16
  719.     task
  720.         attack "hero"
  721.     end
  722.  
  723. procedure "a2"
  724.     wait_until number_of "aair"<3
  725.  
  726.     create "lfighter"
  727.         position 17000 -3200 500 relative toxz "hero"
  728.         armed_with "PLASMA BOLT 2" rate 16
  729.         task
  730.             attack group "aihuman"
  731.             attack "hero"
  732.         end
  733.  
  734.     pause 50
  735. end_procedure terminate after 8 loops
  736.  
  737. wait_until number_of "aland"=0
  738. end_procedure "wp land"
  739. clear_waypoint
  740.  
  741. wait_until number_of "aair"=0
  742. end_procedure "a2"
  743.  
  744. ;---------------all tanks gone
  745. ;---------------all aair  gone
  746. ;-----------------------------
  747.  
  748. phasemessage 21 60
  749.  
  750. set_waypoint "gun4"
  751. wait_until "gun4" destroyed
  752. set_waypoint "gun5"
  753.  
  754. wait_until "gun4" destroyed and "gun5" destroyed
  755. clear_waypoint
  756. set_flag 1
  757.  
  758. phasemessage 25 60
  759.  
  760. procedure "a1"
  761.     wait_until number_of "aair"<3
  762.  
  763.     create "lfighter"
  764.         position 17000 -3200 500 relative toxz "hero"
  765.         towards "hero"
  766.         armed_with "PLASMA BOLT 3" rate 16
  767.         task
  768.             attack "hero"
  769.         end
  770.  
  771.     pause 50
  772. end_procedure terminate after 6 loops
  773.  
  774. procedure "a2"
  775.     wait_until number_of "fighters"<3
  776.  
  777.     create "hfighter"
  778.         position -17000 -3200 500 relative toxz "hero"
  779.         towards "hero"
  780.         armed_with "PLASMA BOLT 3" rate 16
  781.         task
  782.             attack "hero"
  783.         end
  784.  
  785.     pause 50
  786. end_procedure terminate after 6 loops
  787.  
  788. pause 30
  789. phasemessage 2 60
  790.  
  791. wait_until proc "a1" terminated
  792. wait_until proc "a2" terminated
  793.  
  794. wait_until number_of "aair" =0
  795. wait_until number_of "fighters" =0
  796.  
  797. phasemessage 26 60
  798.  
  799. set_waypoint "ssgen2"
  800. wait_until "ssgen2"destroyed
  801. set_waypoint "abld2"
  802. wait_until "abld2"destroyed
  803.  
  804. set_waypoint "ssgen3"
  805. wait_until "ssgen3"destroyed
  806. set_waypoint "abld3"
  807. wait_until "abld3"destroyed
  808.  
  809. set_waypoint "ssgen4"
  810. wait_until "ssgen4"destroyed
  811. set_waypoint "abld4"
  812. wait_until "abld4"destroyed
  813.  
  814.  
  815. phasemessage 91 60
  816. clear_waypoint
  817.  
  818. uncritical_group "aihuman"
  819.  
  820.  
  821. pause 20
  822.  
  823. hud off
  824. camera
  825.     attached_to "hero"
  826.     position 600 -300 -600
  827.     pointing_at "hero"
  828.     dolly 1
  829.     dollyspeed 0.1%
  830. pause 80
  831.  
  832.  
  833. ;-------------------------------------------------------
  834. ;PHASE 4
  835. ;-------------------------------------------------------
  836.  
  837. phasestart
  838.  
  839. phasemessage 27 60
  840. playcdslow
  841.  
  842. clear_flag all
  843. clear_waypoint
  844.  
  845. kill group "aihuman"
  846.  
  847. create "vtol"
  848.     label "eutow"
  849.     position 15000 -3000 10000
  850.     armed_with "BLUE LASER" rate 2
  851.     secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
  852.  
  853. switch_hero "eutow"
  854.     task
  855. ;        setfuel 4000
  856.         wait_until flag 0 set
  857.         playercontrols
  858.     end
  859.  
  860. auto_aim "hero"
  861.  
  862. set_inert "cichli"
  863.  
  864. set_task "cichli"
  865.     position 14500 -122 14500
  866.     end
  867.  
  868. hud off
  869. camera
  870.     attached_to "hero"
  871.     position 600 -300 -600
  872.     pointing_at "hero"
  873.     dolly 0
  874. pause 40
  875. set_flag 0
  876.  
  877. camera cockpit
  878.  
  879. create "lgfighter"
  880.     position 37500 -80 32000
  881.     forward 1 0 0 up 0 1 0
  882.  
  883. create "lgfighter"
  884.     position 37500 -80 31000
  885.     forward 1 0 0 up 0 1 0
  886.  
  887. create "hgfighter"
  888.     position 39500 -80 32500
  889.     forward -1 0 0 up 0 1 0
  890.  
  891. create "lgfighter"
  892.     position 39500 -80 32000
  893.     forward -1 0 0 up 0 1 0
  894.  
  895. create "lgbomber"
  896.     position 39500 -80 31500
  897.     forward -1 0 0 up 0 1 0
  898.  
  899. create "lgbomber"
  900.     position 39500 -80 31000
  901.     forward -1 0 0 up 0 1 0
  902.  
  903. procedure "wp"
  904.     set_waypoint nearest "agrnd"
  905. end_procedure
  906.  
  907. procedure "a1"
  908.  
  909.     wait_until number_of "aair" < 4
  910.     create "lfighter"
  911.     position 60830.8 -3181.14 28794
  912.     task
  913.         patrol
  914.             point 47037.2 -3181.14 29216.3
  915.             point 32569.1 -3181.14 33421.1
  916.             point 32568.5 -3181.14 41738.2
  917.             point 40782.4 -3181.14 36217.7
  918.     end
  919.     pause 250
  920.  
  921. end_procedure terminate after 6 loops
  922.  
  923. wait_until number_of "agrnd" =0
  924. end_procedure "wp"
  925.  
  926. phasemessage 2 60
  927.  
  928. procedure "wp"
  929.     set_waypoint nearest "aair"
  930. end_procedure
  931.  
  932. wait_until proc "a1" terminated
  933. wait_until number_of "aair" =0
  934. clear_waypoint
  935. end_procedure "wp"
  936.  
  937.  
  938. phasemessage 91 60
  939.  
  940. pause 20
  941.  
  942. set_flag 10
  943.  
  944. hud off
  945. camera
  946.     attached_to "hero"
  947.     position 600 -300 -600
  948.     pointing_at "hero"
  949.     dolly 1
  950.     dollyspeed 0.1%
  951. pause 80
  952.  
  953.  
  954. ;-------------------------------------------------------
  955. ;PHASE 5
  956. ;-------------------------------------------------------
  957.  
  958. phasestart
  959.  
  960. phasemessage 28 60
  961.  
  962. clear_flag all
  963.  
  964. kill "eutow"
  965.  
  966. switch_hero "cichli"
  967.     task
  968.         position 14500 -122 16400
  969.         forward 0 0 1    up 0 1 0
  970.         wait_until flag 0 set
  971.         secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
  972.         playercontrols
  973.         position 14500 -122 16400
  974.     end
  975.  
  976. camera_task
  977.     hud off
  978.     cam_pos 600 -200 -600 attached_to "hero"
  979.     cam_focus "hero"
  980.     dolly 0
  981.     set_flag 0
  982.  
  983.     cam_goto -600 -200 -600
  984.     wait_until distance_between "hero" and "replen1" > 500
  985.  
  986.     cam_mode cockpit
  987. end
  988.  
  989. ;---------------------------------
  990. ;---------get me home please------
  991. create "momorack"
  992.     label "mobile1"
  993.     armed_with "RED LASER" rate 4
  994.     mission_critical
  995.     position 16000 on ground 17000
  996.     forward 0 0 1 up 0 1 0
  997.     task
  998.         goto 18000 on ground 21000
  999.         goto 15500 on ground 30000
  1000.         goto 9000 on ground 55000
  1001.         stop
  1002.         set_flag 1
  1003.     end
  1004.  
  1005.  
  1006. ;---------me too------------------
  1007. create "momobrad"
  1008.     label "mobile2"
  1009.     mission_critical
  1010.     position 17000 on ground 17500
  1011.     forward 0 0 1 up 0 1 0
  1012.     task
  1013.         goto 19000 on ground 21000
  1014.         goto 16500 on ground 30000
  1015.         goto 9900 on ground 55900
  1016.         stop
  1017.     end
  1018.  
  1019. procedure "wp"
  1020.     set_waypoint nearest "aihuman"
  1021. end_procedure
  1022.  
  1023. ;----------------------------------
  1024. ;-----------BADDIES
  1025. ;-----------first wave
  1026.  
  1027. set_flag 11
  1028.  
  1029. procedure "P5a"
  1030.  
  1031.     wait_until flag 11 set
  1032.     wait_until number_of "aair"<2
  1033.  
  1034.     create "lfighter"
  1035.         position 17000 -3200 500 relative toxz "mobile1"
  1036.         towards "hero"
  1037.         armed_with "PLASMA BOLT 2" rate 12
  1038.         task
  1039.             attack "mobile1"
  1040.             attack "mobile2"
  1041.         end
  1042.  
  1043.     clear_flag 11
  1044. ;    set_flag 12
  1045.     set_flag 14
  1046.     pause 50
  1047.  
  1048. end_procedure
  1049.  
  1050. procedure "P5b"
  1051.  
  1052.     wait_until number_of "fighters"<1
  1053. ;    wait_until flag 12 set
  1054.  
  1055.     create "hfighter"
  1056.         position -17000 -3200 500 relative toxz "mobile1"
  1057.         towards "hero"
  1058.         armed_with "PLASMA BOLT 2" rate 16
  1059.         task
  1060.             attack "mobile2"
  1061.             attack "mobile1"
  1062.         end
  1063.  
  1064. ;    clear_flag 12
  1065. ;    set_flag 13
  1066.     pause 50
  1067.  
  1068. end_procedure
  1069.  
  1070. procedure "P5c"
  1071.  
  1072.     wait_until number_of "bombers"<1
  1073. ;    wait_until flag 13 set
  1074.  
  1075.     create "lbomber"
  1076.         position 500 -3200 17000 relative toxz "hero"
  1077.         towards "hero"
  1078.         armed_with "PLASMA BOLT 2" rate 16
  1079.         task
  1080.             attack "hero"
  1081.         end
  1082.  
  1083. ;    clear_flag 13
  1084. ;    set_flag 14
  1085.     pause 50
  1086.  
  1087. end_procedure
  1088.  
  1089. procedure "P5d"
  1090.  
  1091.     wait_until flag 14 set
  1092.     wait_until number_of "aair"<2
  1093.  
  1094.     create "lfighter"
  1095.         position 500 -3200 -17000 relative toxz "hero"
  1096.         towards "hero"
  1097.         armed_with "PLASMA BOLT 2" rate 12
  1098.         task
  1099.             attack "mobile2"
  1100.             attack "mobile1"
  1101.         end
  1102.  
  1103.     clear_flag 14
  1104.     set_flag 11
  1105.  
  1106.     pause 50
  1107.  
  1108. end_procedure
  1109.  
  1110.  
  1111.  
  1112. ;----------------------------------
  1113. wait_until flag 1 set
  1114.  
  1115.  
  1116.  
  1117. end_procedure "wp"
  1118. end_procedure "P5a"
  1119. end_procedure "P5b"
  1120. end_procedure "P5c"
  1121. end_procedure "P5d"
  1122. clear_waypoint
  1123.  
  1124. wait_until number_of "aair"=0
  1125. wait_until number_of "bombers"=0
  1126. wait_until number_of "fighters"=0
  1127.  
  1128. mission_uncritical "mobile1"
  1129. mission_uncritical "mobile2"
  1130.  
  1131. phasemessage 91 60
  1132.  
  1133. set_inert "cichli"
  1134.  
  1135. pause 20
  1136.  
  1137. set_flag 10
  1138.  
  1139. hud off
  1140. camera
  1141.     attached_to "hero"
  1142.     position 600 -300 -600
  1143.     pointing_at "hero"
  1144.     dolly 1
  1145.     dollyspeed 0.1%
  1146. pause 80
  1147.  
  1148. ;-------------------------------------------------------
  1149. ;PHASE 6
  1150. ;-------------------------------------------------------
  1151.  
  1152. phasestart
  1153.  
  1154. phasemessage 29 80
  1155.  
  1156. clear_flag all
  1157. clear_waypoint
  1158.  
  1159. create "vtol"
  1160.     label "flutter"
  1161.     position 15000 -3000 30000
  1162.     forward 1 0 0 up 0 1 0
  1163.     armed_with "BLUE LASER" rate 2
  1164.     secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
  1165.  
  1166. switch_hero "flutter"
  1167.     task
  1168.         wait_until flag 0 set
  1169.         playercontrols
  1170.     end
  1171.  
  1172. auto_aim "hero"
  1173.  
  1174. hud off
  1175. camera
  1176.     attached_to "hero"
  1177.     position 600 -300 -600
  1178.     pointing_at "hero"
  1179. dolly 0
  1180. kill group "aihuman"
  1181.  
  1182. create "sloathov"
  1183.     label "P6hov1"                                                           
  1184.     position 21860 on ground 36600
  1185.     forward 1 0 0 up 0 1 0
  1186.     armed_with "ROCKET 2" rate 8
  1187.     task 
  1188.         goto 22650 on ground 27770
  1189.         goto 28306.8 on ground 23204.2
  1190.         goto 36086.7 on ground 22231.8
  1191.         goto 45128.7 on ground 21929.4
  1192.         goto 46875.1 on ground 19366.9
  1193.         set_flag 2
  1194.         do
  1195.             shoot "bsgen2" bomb
  1196.         until "bsgen2" destroyed
  1197.         do
  1198.             shoot "pad2" bomb
  1199.         until "pad2" destroyed
  1200.  
  1201.         goto 48037.5 on ground 24078.4
  1202.  
  1203.         do
  1204.             shoot "ssgen5" bomb
  1205.         until "ssgen5" destroyed
  1206.         do
  1207.             shoot "abld5" bomb
  1208.         until "abld5" destroyed
  1209.  
  1210.  
  1211.    end
  1212.  
  1213. create "sloathov"                                                           
  1214.     position 21690 on ground 37317
  1215.     forward 1 0 0 up 0 1 0
  1216.     armed_with "ROCKET 2" rate 8
  1217.     task 
  1218.         goto 22650 on ground 27770
  1219.         goto 28306.8 on ground 23204.2
  1220.         goto 36086.7 on ground 22231.8
  1221.         goto 45128.7 on ground 21929.4
  1222.         goto 48037.5 on ground 24078.4
  1223.         set_flag 2
  1224.         do
  1225.             shoot "ssgen5" bomb
  1226.         until "ssgen5" destroyed
  1227.         do
  1228.             shoot "abld5" bomb
  1229.         until "abld5" destroyed
  1230.  
  1231.         goto 46875.1 on ground 19366.9
  1232.  
  1233.         do
  1234.             shoot "bsgen2" bomb
  1235.         until "bsgen2" destroyed
  1236.         do
  1237.             shoot "pad2" bomb
  1238.         until "pad2" destroyed
  1239.  
  1240.    end
  1241.  
  1242. critical_group "aihuman"
  1243.  
  1244. pause 40
  1245. set_flag 0
  1246. camera cockpit
  1247.  
  1248.  
  1249. procedure "a1"
  1250.     create "lfighter"
  1251.         position 17000 0 0 relative to 29728.3 -3264 42862.6
  1252.         towards "hero"
  1253.         armed_with "PLASMA BOLT 3" rate 1
  1254.         task
  1255.             do
  1256.                 goto 25968.8 -1854 39992.2
  1257.                 shoot group "aihuman" bomb
  1258.                 pause 2
  1259.                 shoot group "aihuman" bomb
  1260.  
  1261.                 goto 22075.2 -1854 34692.9
  1262.                 shoot group "aihuman" bomb
  1263.                 pause 2
  1264.                 shoot group "aihuman" bomb
  1265.                 pause 2
  1266.                 shoot group "aihuman" bomb
  1267.  
  1268.                 goto 23531.4 -1854 29002.7
  1269.                 shoot group "aihuman" bomb
  1270.                 pause 2
  1271.                 shoot group "aihuman" bomb
  1272.                 pause 2
  1273.                 shoot group "aihuman" bomb
  1274.                 pause 2
  1275.                 shoot group "aihuman" bomb
  1276.                 goto 26433.3 -3322.04 25280.8
  1277.                 shoot group "aihuman" bomb
  1278.                 shoot group "aihuman" bomb
  1279.                 goto 39436.5 -1807.57 21918.6
  1280.                 shoot group "aihuman" bomb
  1281.                 pause 2
  1282.                 shoot group "aihuman" bomb
  1283.                 pause 2
  1284.                 shoot group "aihuman" bomb
  1285.                 pause 2
  1286.                 shoot group "aihuman" bomb
  1287.  
  1288.                 goto 46672.6 -5283.99 29082.1
  1289.  
  1290.             until number_of "aihuman" = 0
  1291.         end
  1292.  
  1293.     pause 200
  1294. end_procedure terminate after 4 loops
  1295.  
  1296. procedure "wp"
  1297.     set_waypoint nearest "aihuman"
  1298. end_procedure
  1299.  
  1300. wait_until flag 2 set
  1301. end_procedure "wp"
  1302. end_procedure "a1"
  1303. clear_waypoint
  1304. uncritical_group "aihuman"
  1305.  
  1306. procedure "a1"
  1307.     create "lfighter"
  1308.         position 17000 -3200 0 relative toxz "hero"
  1309.         towards "hero"
  1310.         armed_with "PLASMA BOLT 3" rate 8
  1311.         task
  1312.             attack "hero"
  1313.         end
  1314.  
  1315.     create "lfighter"
  1316.         position -17000 -3200 0 relative toxz "hero"
  1317.         towards "hero"
  1318.         armed_with "PLASMA BOLT 3" rate 8
  1319.         task
  1320.             attack "hero"
  1321.         end
  1322.  
  1323.     pause 200
  1324. end_procedure terminate after 3 loops
  1325.  
  1326. wait_until proc "a1" terminated
  1327. wait_until number_of "aair" = 0
  1328.  
  1329. set_waypoint "ssgen5"
  1330. wait_until "ssgen5" destroyed
  1331. set_waypoint "abld5"
  1332. wait_until "abld5" destroyed
  1333. set_waypoint "bsgen2"
  1334. wait_until "bsgen2" destroyed
  1335. set_waypoint "pad2"
  1336. wait_until "pad2" destroyed
  1337. clear_waypoint
  1338.  
  1339. phasemessage 91 60
  1340.  
  1341. pause 20
  1342.  
  1343. set_flag 10
  1344.  
  1345. hud off
  1346. camera
  1347.     attached_to "hero"
  1348.     position 600 -300 -600
  1349.     pointing_at "hero"
  1350.     dolly 1
  1351.     dollyspeed 0.1%
  1352. pause 80
  1353.  
  1354. ;-------------------------------------------------------
  1355. ;PHASE 7
  1356. ;-------------------------------------------------------
  1357. phasestart
  1358.  
  1359. phasemessage 24 60
  1360.  
  1361. clear_flag all
  1362.  
  1363. kill group "aihuman"
  1364.  
  1365. create "momorack_S"
  1366.     position 9000 on ground 55000
  1367.     label "StaticMobile1"
  1368.     armed_with "RED LASER" rate 8
  1369.     task
  1370.         wait_until flag 2 set
  1371.         attack
  1372.     end
  1373.  
  1374. create "wcrate2"
  1375.     label "rambo"
  1376.     position 15000 on ground 18000
  1377.     mission_critical
  1378.     task
  1379.         wait_until flag 3 set
  1380.         bepod
  1381.         set_flag 1
  1382.         take_to "StaticMobile1"
  1383.         set_flag 2
  1384.     end
  1385.  
  1386. switch_hero "cichli"
  1387.     task
  1388.         wait_until flag 0 set
  1389.         playercontrols
  1390.              break_task_if distance_between "cichli" and "rambo" <2000 and flag 3 set
  1391.          playercontrolswithrope from "rambo" to "StaticMobile1"
  1392.          playercontrols
  1393.     end
  1394.  
  1395.  
  1396. camera_task
  1397.     hud off
  1398.     cam_pos 600 -200 -600 attached_to "hero"
  1399.     cam_focus "hero"
  1400.     dolly 0
  1401.     set_flag 0
  1402.  
  1403.     cam_goto -600 -200 -600
  1404.     wait_until distance_between "hero" and "replen1" > 500
  1405.  
  1406.     cam_mode cockpit
  1407.  
  1408.     wait_until    distance_between "hero" and "rambo" <2000 and flag 3 set
  1409.     cam_pos 0 0 -2000 attached_to "rambo"
  1410.     cam_focus "hero"
  1411.     hud off
  1412.  
  1413.     pause 20
  1414.     cam_goto 1000 0 0
  1415.  
  1416.     wait_until flag 1 set
  1417.     cam_mode cockpit
  1418.  
  1419.     wait_until    distance_between "hero" and "StaticMobile1" <2000
  1420.     cam_pos 0 0 -2000 attached_to "StaticMobile1"
  1421.     cam_focus "hero"
  1422.     hud off
  1423.  
  1424.     pause 50
  1425.     cam_goto 1000 -200 1000
  1426.     wait_until flag 2 set
  1427.     cam_mode cockpit
  1428. end
  1429.  
  1430. ;------------------------------------
  1431. kill "flutter"
  1432.  
  1433. set_flag 11
  1434.  
  1435. procedure "P7a"
  1436.  
  1437.     wait_until number_of "aair"<6
  1438.     wait_until flag 11 set
  1439.  
  1440.     create "lfighter"
  1441.         position -17000 -3700 500 relative toxz "hero"
  1442.         towards "hero"
  1443.         armed_with "PLASMA BOLT 1" rate 32
  1444.         task
  1445.             attack "hero"
  1446.         end
  1447.  
  1448.     clear_flag 11
  1449.     set_flag 12
  1450.     pause 50
  1451.  
  1452. end_procedure terminate after 3 loops
  1453.  
  1454. procedure "P7b"
  1455.  
  1456.     wait_until number_of "aair"<6
  1457.     wait_until flag 12 set
  1458.  
  1459.     create "lfighter"
  1460.         position -17000 -3500 500 relative toxz "hero"
  1461.         towards "hero"
  1462.         armed_with "PLASMA BOLT 1" rate 32
  1463.         task
  1464.             attack "hero"
  1465.         end
  1466.  
  1467.     clear_flag 12
  1468.     set_flag 13
  1469.  
  1470.     pause 50
  1471.  
  1472. end_procedure terminate after 3 loops
  1473.             
  1474. procedure "P7c"
  1475.  
  1476.     wait_until number_of "aair"<6
  1477.     wait_until flag 13 set
  1478.  
  1479.     create "lfighter"
  1480.         position -17000 -3700 800 relative toxz "hero"
  1481.         towards "hero"
  1482.         armed_with "PLASMA BOLT 1" rate 32
  1483.         task
  1484.             attack "hero"
  1485.         end
  1486.  
  1487.     clear_flag 13
  1488.     set_flag 14
  1489.  
  1490.     pause 50
  1491.  
  1492. end_procedure terminate after 3 loops
  1493.  
  1494. procedure "P7d"
  1495.  
  1496.     wait_until number_of "aair"<6
  1497.     wait_until flag 14 set
  1498.  
  1499.     create "lfighter"
  1500.         position -17000 -3500 800 relative toxz "hero"
  1501.         towards "hero"
  1502.         armed_with "PLASMA BOLT 1" rate 32
  1503.         task
  1504.             attack "hero"
  1505.         end
  1506.  
  1507.     clear_flag 14
  1508.     set_flag 11
  1509.  
  1510.     pause 50
  1511.  
  1512. end_procedure terminate after 3 loops
  1513.  
  1514. pause 2
  1515.  
  1516.  
  1517.  
  1518. wait_until proc "P7a" terminated
  1519. wait_until proc "P7b" terminated
  1520. wait_until proc "P7c" terminated
  1521. wait_until proc "P7d" terminated
  1522. wait_until number_of "aair"=0
  1523. ;------------------------------------
  1524.  
  1525. set_flag 11
  1526. clear_flag 12
  1527. clear_flag 13
  1528. clear_flag 14
  1529.  
  1530. procedure "P7a"
  1531.  
  1532.     wait_until number_of "aair"<6
  1533.     wait_until flag 11 set
  1534.  
  1535.     create "lfighter"
  1536.         position 17000 -3700 500 relative toxz "hero"
  1537.         towards "hero"
  1538.         armed_with "PLASMA BOLT 1" rate 32
  1539.         task
  1540.             attack "hero"
  1541.         end
  1542.  
  1543.     clear_flag 11
  1544.     set_flag 12
  1545.     pause 50
  1546.  
  1547. end_procedure terminate after 3 loops
  1548.  
  1549. procedure "P7b"
  1550.  
  1551.     wait_until number_of "aair"<6
  1552.     wait_until flag 12 set
  1553.  
  1554.     create "lfighter"
  1555.         position 17000 -3500 500 relative toxz "hero"
  1556.         towards "hero"
  1557.         armed_with "PLASMA BOLT 1" rate 32
  1558.         task
  1559.             attack "hero"
  1560.         end
  1561.  
  1562.     clear_flag 12
  1563.     set_flag 13
  1564.  
  1565.     pause 50
  1566.  
  1567. end_procedure terminate after 3 loops
  1568.             
  1569. procedure "P7c"
  1570.  
  1571.     wait_until number_of "aair"<6
  1572.     wait_until flag 13 set
  1573.  
  1574.     create "lfighter"
  1575.         position 17000 -3700 800 relative toxz "hero"
  1576.         towards "hero"
  1577.         armed_with "PLASMA BOLT 1" rate 32
  1578.         task
  1579.             attack "hero"
  1580.         end
  1581.  
  1582.     clear_flag 13
  1583.     set_flag 14
  1584.  
  1585.     pause 50
  1586.  
  1587. end_procedure terminate after 3 loops
  1588.  
  1589. procedure "P7d"
  1590.  
  1591.     wait_until number_of "aair"<6
  1592.     wait_until flag 14 set
  1593.  
  1594.     create "lfighter"
  1595.         position 17000 -3500 800 relative toxz "hero"
  1596.         towards "hero"
  1597.         armed_with "PLASMA BOLT 1" rate 32
  1598.         task
  1599.             attack "hero"
  1600.         end
  1601.  
  1602.     clear_flag 14
  1603.     set_flag 11
  1604.  
  1605.     pause 50
  1606.  
  1607. end_procedure terminate after 3 loops
  1608.  
  1609. pause 2
  1610.  
  1611. wait_until proc "P7a" terminated
  1612. wait_until proc "P7b" terminated
  1613. wait_until proc "P7c" terminated
  1614. wait_until proc "P7d" terminated
  1615. wait_until number_of "aair"=0
  1616.  
  1617. phasemessage 30 60
  1618.  
  1619. ;------------------------------------
  1620. set_waypoint "rambo"
  1621.  
  1622. set_flag 3
  1623.  
  1624. wait_until flag 1 set
  1625. pause 20
  1626.  
  1627. set_volatile "StaticMobile1"
  1628. set_waypoint "StaticMobile1"
  1629.  
  1630. phasemessage 92 120
  1631.  
  1632. procedure "a1"
  1633.     create "skimmer"
  1634.         position 14328 on ground 37429.7
  1635. ;        armed_with "PLASMA BOLT 3" rate 32
  1636. ;        armed_with "ROCKET 1" rate 64
  1637.         armed_with "GUIDED MISSILE" rate 64
  1638.         task
  1639.             goto 13615.5 on ground 40795.1
  1640.             goto 12466 on ground 46224.7
  1641.             goto 10010.6 on ground 54056
  1642.             goto 10465 on ground 58475.9
  1643.             attack group "aihuman" 
  1644.             attack
  1645.         end
  1646.     pause 50
  1647. end_procedure terminate after 3 loops
  1648.  
  1649.  
  1650. create "momorack_S"
  1651.     position 9741.8 on ground 58868.5
  1652.     armed_with "RED LASER" rate 8
  1653.     task
  1654.         wait_until flag 2 set
  1655.         attack
  1656.     end
  1657.  
  1658. wait_until distance_between "hero" and waypoint <12000
  1659. phasemessage 31 50
  1660.  
  1661. wait_until flag 2 set
  1662. ;-----------------
  1663. ;-----crate droped
  1664.  
  1665. phasemessage 32 40
  1666. clear_waypoint
  1667.  
  1668. ;-----remove crate
  1669. kill "rambo"
  1670.  
  1671. set_flag 11
  1672. clear_flag 12
  1673. clear_flag 13
  1674. clear_flag 14
  1675.  
  1676. procedure "P7a"
  1677.  
  1678.     wait_until number_of "aair"<6
  1679.     wait_until flag 11 set
  1680.  
  1681.     create "lfighter"
  1682.         position 17000 -3700 500 relative toxz "hero"
  1683.         towards "hero"
  1684.         armed_with "PLASMA BOLT 1" rate 8
  1685.         task
  1686.             attack group "aihuman"
  1687.             attack
  1688.         end
  1689.  
  1690.     clear_flag 11
  1691.     set_flag 12
  1692.     pause 50
  1693.  
  1694. end_procedure terminate after 4 loops
  1695.  
  1696. procedure "P7b"
  1697.  
  1698.     wait_until number_of "aair"<6
  1699.     wait_until flag 12 set
  1700.  
  1701.     create "lfighter"
  1702.         position 800 -3700 17000 relative toxz "hero"
  1703.         towards "hero"
  1704.         armed_with "PLASMA BOLT 1" rate 16
  1705.         task
  1706.             attack "hero"
  1707.         end
  1708.  
  1709.     clear_flag 12
  1710.     set_flag 13
  1711.  
  1712.     pause 50
  1713.  
  1714. end_procedure terminate after 4 loops
  1715.             
  1716. procedure "P7c"
  1717.  
  1718.     wait_until number_of "aair"<6
  1719.     wait_until flag 13 set
  1720.  
  1721.     create "lfighter"
  1722.         position 17000 -3500 500 relative toxz "hero"
  1723.         towards "hero"
  1724.         armed_with "PLASMA BOLT 1" rate 16
  1725.         task
  1726.             attack "hero"
  1727.         end
  1728.  
  1729.     clear_flag 13
  1730.     set_flag 14
  1731.  
  1732.     pause 50
  1733.  
  1734. end_procedure terminate after 4 loops
  1735.  
  1736. procedure "P7d"
  1737.  
  1738.     wait_until number_of "aair"<6
  1739.     wait_until flag 14 set
  1740.  
  1741.     create "lfighter"
  1742.         position -17000 -3500 500 relative toxz "hero"
  1743.         towards "hero"
  1744.         armed_with "PLASMA BOLT 1" rate 8
  1745.         task
  1746.             attack group "aihuman"
  1747.             attack
  1748.         end
  1749.  
  1750.     clear_flag 14
  1751.     set_flag 11
  1752.  
  1753.     pause 50
  1754.  
  1755. end_procedure terminate after 4 loops
  1756.  
  1757. pause 60
  1758.  
  1759. phasemessage 2 30
  1760.  
  1761. wait_until proc "P7a" terminated
  1762. wait_until proc "P7b" terminated
  1763. wait_until proc "P7c" terminated
  1764. wait_until proc "P7d" terminated
  1765.  
  1766. wait_until number_of "aair"=0
  1767. wait_until number_of "aland"=0
  1768.  
  1769.  
  1770. phasemessage 91 60
  1771.  
  1772. pause 20
  1773.  
  1774. hud off
  1775. camera
  1776.     attached_to "hero"
  1777.     position 600 -300 -600
  1778.     pointing_at "hero"
  1779.     dolly 1
  1780.     dollyspeed 0.1%
  1781. pause 80
  1782.  
  1783. ;-------------------------------------------------------
  1784. ;PHASE 8
  1785. ;-------------------------------------------------------
  1786.  
  1787. phasestart
  1788.  
  1789. phasemessage 7 60
  1790. playcdfast
  1791.  
  1792. clear_flag all
  1793. clear_waypoint
  1794.  
  1795. kill group "aihuman"
  1796.  
  1797. kill group "agun"
  1798.  
  1799. set_volatile "overand"
  1800.  
  1801. switch_hero "overand"
  1802.     task
  1803.         wait_until flag 0 set
  1804.         playercontrols
  1805.     end
  1806.  
  1807. hud off
  1808. camera
  1809.     attached_to "hero"
  1810.     position 600 -300 -600
  1811.     pointing_at "hero"
  1812.     dolly 0
  1813. pause 40
  1814. set_flag 0
  1815.  
  1816. camera cockpit
  1817.  
  1818. set_inert "cichli"
  1819.  
  1820. set_task "cichli"
  1821.     position 8500 -132 56500
  1822.     end
  1823.  
  1824. ;==================================
  1825. ;-----------first wave
  1826.  
  1827. procedure "P8bonus"
  1828.     pause 500
  1829.     create "lbomber"
  1830.         position 31100 -4000 20530
  1831.         towards "hero"
  1832.         task
  1833.             goto -2180 -4100 17165
  1834.             kill
  1835.         end
  1836.     pause 500
  1837. end_procedure terminate after 4 loops
  1838.  
  1839.  
  1840.  
  1841. set_flag 11
  1842.  
  1843. procedure "P8a"
  1844.     wait_until flag 11 set
  1845.  
  1846.     create "lfighter"
  1847.         position 21499.1 -958.451 11371.9
  1848.         towards "hero"
  1849.         armed_with "PLASMA BOLT 1" rate 16
  1850.         task
  1851.             goto 18932.4 -1753.16 11347.4
  1852.             goto 17821.7 -1903.78 13880.5
  1853.             goto 19160.6 -2011.62 16604.4
  1854.             goto 13333.7 -2300 17865.7
  1855.             shoot "hero" bomb
  1856.             attack "hero"
  1857.         end
  1858.  
  1859.     pause 20
  1860.  
  1861.     clear_flag 11
  1862.     set_flag 12
  1863.  
  1864. end_procedure terminate after 3 loops
  1865.  
  1866.  
  1867. procedure "P8b"
  1868.     wait_until flag 12 set
  1869.  
  1870.     create "lfighter"
  1871.         position 21499.1 -958.451 11371.9
  1872.         towards "hero"
  1873.         armed_with "PLASMA BOLT 1" rate 16
  1874.         task
  1875.             goto 18932.4 -1753.16 11347.4
  1876.             goto 17821.7 -1903.78 13880.5
  1877.             goto 14966 -2009.12 14765.4
  1878.             goto 17793.8 -2000 19821.2
  1879.             shoot "hero" bomb
  1880.             attack "hero"
  1881.         end
  1882.  
  1883.     pause 20
  1884.  
  1885.     clear_flag 12
  1886.     set_flag 11
  1887. end_procedure terminate after 3 loops
  1888.  
  1889. wait_until proc "P8a" terminated
  1890. wait_until proc "P8b" terminated
  1891.  
  1892. wait_until number_of "aair" =0
  1893.  
  1894.  
  1895. ;==================================
  1896. ;-----------second wave
  1897.  
  1898. create "bomber"
  1899.     position 22195.7 -3500 4231.82
  1900.     towards "hero"
  1901.     armed_with "ENERGY 2" rate 1
  1902.     task
  1903.  
  1904.         do
  1905.             goto 16275.5 -3500 8970.29
  1906.             shoot bomb
  1907.             pause 2
  1908.             shoot bomb
  1909.             pause 2
  1910.             shoot bomb
  1911.             goto 13351.8 -3500 14483
  1912.             shoot bomb
  1913.             pause 2
  1914.             shoot bomb
  1915.             pause 2
  1916.             shoot bomb
  1917.             goto 19095.2 -3500 17420.9
  1918.             shoot bomb
  1919.             pause 2
  1920.             shoot "hero" bomb
  1921. ;            shoot "hero" bomb
  1922.             shoot bomb
  1923.             shoot bomb
  1924.         until "hero" destroyed
  1925.     end
  1926.  
  1927.  
  1928.  
  1929. set_flag 11
  1930. clear_flag 12
  1931.  
  1932. procedure "P8a"
  1933.     wait_until flag 11 set
  1934.  
  1935.     create "lfighter"
  1936.         position 22107.2 -1757 4433.22
  1937.         towards "hero"
  1938.         armed_with "PLASMA BOLT 1" rate 16
  1939.         task
  1940.             goto 20665.9 -1757 7189.11
  1941.             goto 18010.4 -1757 8835.98
  1942.             goto 16867.9 -2187 14343.7
  1943.             goto 12956.6 -2547 16665.4
  1944.             shoot "hero" bomb
  1945.             attack "hero"
  1946.         end
  1947.  
  1948.     pause 30
  1949.  
  1950.     clear_flag 11
  1951.     set_flag 12
  1952.  
  1953. end_procedure terminate after 2 loops
  1954.  
  1955.  
  1956. procedure "P8b"
  1957.     wait_until flag 12 set
  1958.  
  1959.     create "lfighter"
  1960.         position 22107.2 -1757 4433.22
  1961.         towards "hero"
  1962.         armed_with "PLASMA BOLT 1" rate 16
  1963.         task
  1964.             goto 20665.9 -1757 7189.11
  1965.             goto 20580.2 -1757 10179.9
  1966.             goto 16867.9 -2187 14343.7
  1967.             goto 18415.2 -2547 19520.1
  1968.             shoot "hero" bomb
  1969.             attack "hero"
  1970.         end
  1971.  
  1972.     pause 30
  1973.  
  1974.     clear_flag 12
  1975.     set_flag 11
  1976. end_procedure terminate after 2 loops
  1977.  
  1978.  
  1979. wait_until proc "P8a" terminated
  1980. wait_until proc "P8b" terminated
  1981.  
  1982.  
  1983. wait_until number_of "aair" =0
  1984. wait_until number_of "bombers" =0
  1985.  
  1986. ;==================================
  1987. ;-----------third wave
  1988.  
  1989.  
  1990. procedure "P8a"
  1991.  
  1992.     create "lfighter"
  1993.         position 21152.7 -1627 30451.1
  1994.  
  1995.         towards "hero"
  1996.         armed_with "PLASMA BOLT 3" rate 16
  1997.         task
  1998.             goto 19599 -3037 28728.2
  1999.             goto 17442.6 -3037 26336.9
  2000.             shoot "overandS" bomb
  2001.             attack "hero"
  2002.         end
  2003.  
  2004.     pause 50
  2005.  
  2006. end_procedure terminate after 2 loops
  2007.  
  2008. procedure "P8b"
  2009.  
  2010.     create "lfighter"
  2011.         position 4854.07 -1477 22298.7
  2012.  
  2013.  
  2014.         towards "hero"
  2015.         armed_with "PLASMA BOLT 3" rate 16
  2016.         task
  2017.             goto 6392.07 -2127 22037.7
  2018.             goto 9961.03 -2677 21431.9
  2019.             shoot "hero" bomb
  2020.             attack "hero"
  2021.         end
  2022.  
  2023.     pause 50
  2024.  
  2025. end_procedure terminate after 2 loops
  2026.  
  2027. wait_until proc "P8a" terminated
  2028. wait_until proc "P8b" terminated
  2029. wait_until number_of "aair" =0
  2030.  
  2031.  
  2032. wait_until number_of "aair" =0
  2033. end_procedure "P8bonus"
  2034.  
  2035. phasemessage 91 60
  2036.  
  2037. pause 20
  2038.  
  2039. hud off
  2040. camera
  2041.     attached_to "hero"
  2042.     position 600 -300 -600
  2043.     pointing_at "hero"
  2044.     dolly 1
  2045.     dollyspeed 0.1%
  2046. pause 80
  2047.  
  2048. ;-------------------------------------------------------
  2049. ;PHASE 9
  2050. ;-------------------------------------------------------
  2051.  
  2052. phasestart
  2053.  
  2054. phasemessage 2 60
  2055. playcdslow
  2056.  
  2057. clear_flag all
  2058. clear_waypoint
  2059.  
  2060. set_inert "bsgen3"
  2061. set_inert "bsgen1"
  2062.  
  2063.  
  2064. create "helicopter"
  2065.     label "gescom"
  2066.     position 34750 -600 46310
  2067.     towards 39350 -800 57590
  2068.     armed_with "BLUE LASER" rate 2
  2069.     secondary_armed_with "GUIDED MISSILE" rate 32 rounds 20
  2070.  
  2071. switch_hero "gescom"
  2072.     task
  2073.          playercontrols
  2074.     end
  2075.  
  2076. hud off
  2077. camera
  2078.     attached_to "hero"
  2079.     position 600 -300 -600
  2080.     pointing_at "hero"
  2081.     dolly 0
  2082.     pause 40
  2083. set_flag 0
  2084.  
  2085. camera cockpit
  2086.  
  2087. create "alnadubs"
  2088.     label "P9gun1"
  2089.     position 52500 on ground 44000
  2090.     forward 1 0 0 up 0 1 0
  2091.     armed_with "GREEN ENERGY LASER" rate 32
  2092.     task
  2093.         attack
  2094.     end
  2095.  
  2096. create "alnadubs"
  2097.     label "P9gun2"
  2098.     position 60750 on ground 39510
  2099.     forward 1 0 0 up 0 1 0
  2100.     armed_with "GREEN ENERGY LASER" rate 32
  2101.     task
  2102.         attack
  2103.     end
  2104.  
  2105. create "alnadubs"
  2106.     position 50083.9 on ground 61939.1
  2107.     armed_with "GREEN ENERGY LASER" rate 8
  2108.     task
  2109.         attack
  2110.     end
  2111.  
  2112. create "alnadubs"
  2113.     position 50552.9 on ground 56624.1
  2114.     armed_with "GREEN ENERGY LASER" rate 8
  2115.     task
  2116.         attack
  2117.     end
  2118.  
  2119.  
  2120.  
  2121. create "lfighter"
  2122.     position 51000 -80 35000
  2123.     forward -1 0 0 up 0 1 0
  2124.     armed_with "GUIDED MISSILE" rate 32
  2125.     task
  2126.         wait_until flag 5 set
  2127.         goto 53780 -4300 30250
  2128.         attack "hero"
  2129.     end
  2130.  
  2131. create "lfighter"
  2132.     position 51000 -80 36000
  2133.     forward -1 0 0 up 0 1 0
  2134.     armed_with "PLASMA BOLT 2" rate 16
  2135.     task
  2136.         wait_until flag 5 set
  2137.         pause 50
  2138.         goto 53780 -4300 30250
  2139.         attack "hero"
  2140.     end
  2141.  
  2142.  
  2143. create "lfighter"
  2144.     position 51000 -80 36500
  2145.     forward -1 0 0 up 0 1 0
  2146.     armed_with "ENERGY 2" rate 32
  2147.     task
  2148.         wait_until flag 5 set
  2149.         pause 100
  2150.         goto 53780 -4300 30250
  2151.         attack "hero"
  2152.     end
  2153.  
  2154.  
  2155. create "hfighter"
  2156.     position 53000 -80 35000
  2157.     forward 1 0 0 up 0 1 0
  2158.     armed_with "PLASMA BOLT 2" rate 16
  2159.     task
  2160.         wait_until flag 5 set
  2161.         pause 150
  2162.         goto 53780 -4300 30250
  2163.         attack "hero"
  2164.     end
  2165.  
  2166.  
  2167. create "hfighter"
  2168.     position 53000 -80 35500
  2169.     forward 1 0 0 up 0 1 0
  2170.     armed_with "PLASMA BOLT 2" rate 16
  2171.     task
  2172.         wait_until flag 5 set
  2173.         pause 200
  2174.         goto 53780 -4300 30250
  2175.         attack "hero"
  2176.     end
  2177.  
  2178.  
  2179. create "hfighter"
  2180.     position 53000 -80 36000
  2181.     forward -1 0 0 up 0 1 0
  2182.     armed_with "PLASMA BOLT 2" rate 16
  2183.     task
  2184.         wait_until flag 5 set
  2185.         pause 250
  2186.         goto 53780 -4300 30250
  2187.         attack "hero"
  2188.     end
  2189.  
  2190.  
  2191.  
  2192. procedure "P9a"
  2193.     create "lfighter"
  2194.         position 0 -4500 15000 relative toxz "hero"
  2195.         towards "hero"
  2196.         armed_with "PLASMA BOLT 3" rate 16
  2197.         task
  2198.             attack "hero"
  2199.         end
  2200.     pause 50
  2201. end_procedure terminate after 2 loops
  2202.  
  2203. procedure "P9b"
  2204.     create "lfighter"
  2205.         position 800 -4500 15000 relative toxz "hero"
  2206.         towards "hero"
  2207.         armed_with "PLASMA BOLT 3" rate 16
  2208.         task
  2209.             attack "hero"
  2210.         end
  2211.     pause 50
  2212. end_procedure terminate after 3 loops
  2213.  
  2214. create "lbomber"
  2215.     label "cure"
  2216.     position 57551.4 -796 52445.7
  2217.     towards 57364.8 -996 58771.4
  2218.     armed_with "ENERGY 1" rate 0
  2219.     task
  2220.         wait_until distance_between "hero" and 39350 -800 57590 <2500
  2221.         goto 57364.8 -996 58771.4
  2222.         do
  2223.             shoot "hero"
  2224.         until "hero" destroyed
  2225.     end
  2226.  
  2227. wait_until proc "P9a" terminated
  2228. wait_until proc "P9b" terminated
  2229.  
  2230. wait_until number_of "aair"<=3
  2231. kill "cure"
  2232.  
  2233. phasemessage 92 120
  2234.  
  2235. set_waypoint 39350 -800 57590
  2236.  
  2237. wait_until distance_between "hero" and waypoint < 2500
  2238.  
  2239. set_waypoint 57540 -800 58250
  2240. wait_until distance_between "hero" and waypoint < 2500
  2241. set_waypoint 57110 -800 46880
  2242. wait_until distance_between "hero" and waypoint < 2500
  2243.  
  2244. phasemessage 21 120
  2245.  
  2246. set_waypoint "P9gun1"
  2247. set_flag 5
  2248.  
  2249. procedure "P9a"
  2250.     wait_until number_of "aair" < 3
  2251.     create "lfighter"
  2252.         position 17000 -4500 500 relative toxz "hero"
  2253.         towards "hero"
  2254.         armed_with "PLASMA BOLT 2" rate 32
  2255.         task
  2256.             attack "hero"
  2257.         end
  2258.  
  2259.     pause 50
  2260. end_procedure terminate after 6 loops
  2261.  
  2262.  
  2263. wait_until "P9gun1" destroyed
  2264.  
  2265.  
  2266.  
  2267. set_waypoint "P9gun2"
  2268. wait_until "P9gun2" destroyed
  2269.  
  2270. clear_waypoint
  2271.  
  2272. phasemessage 2 60
  2273.  
  2274. wait_until number_of "aair"=0
  2275. and number_of "fighters" =0
  2276.  
  2277. set_volatile "bsgen3"
  2278. set_volatile "bsgen1"
  2279.  
  2280. phasemessage 91 60
  2281.  
  2282. pause 20
  2283.  
  2284. set_flag 10
  2285.  
  2286. hud off
  2287. camera
  2288.     attached_to "hero"
  2289.     position 600 -300 -600
  2290.     pointing_at "hero"
  2291.     dolly 1
  2292.     dollyspeed 0.1%
  2293. pause 80
  2294.  
  2295. ;-------------------------------------------------------
  2296. ;PHASE 10
  2297. ;-------------------------------------------------------
  2298.  
  2299. phasestart
  2300.  
  2301. phasemessage 33 60
  2302. playcdfast
  2303.  
  2304. clear_flag 0
  2305. clear_flag 10
  2306.  
  2307. kill "cichli"
  2308. kill group "agun"
  2309.  
  2310. create "plfight"
  2311.     label "P10hero"
  2312.     position 8500 -1500 56500
  2313.     armed_with "PLASMA BOLT 1" rate 4
  2314.     secondary_armed_with "DESIGNATOR" rate 128 rounds 10
  2315.  
  2316. pause 5
  2317. switch_hero "P10hero"
  2318.     task
  2319.         wait_until flag 0 set
  2320.         playercontrols
  2321.     end
  2322.  
  2323. hud off
  2324. camera
  2325.     attached_to "hero"
  2326.     position 600 -300 -600
  2327.     pointing_at "hero"
  2328.     dolly 0
  2329. pause 40
  2330. set_flag 0
  2331.  
  2332. camera cockpit
  2333. kill "gescom"
  2334.  
  2335. create "hbomber"
  2336.     label "mofo"
  2337.     position 50000 -3000 35000
  2338.     towards "hero"
  2339.     armed_with "ENERGY 2" rate 1
  2340.     task
  2341.         do
  2342.             goto 20000 -3000 20000
  2343.             shoot bomb
  2344.             pause 3
  2345.             shoot bomb
  2346.             pause 3
  2347.             shoot bomb
  2348.  
  2349.             goto 19000 -3000 19000
  2350.             shoot bomb
  2351.             pause 3
  2352.             shoot bomb
  2353.             pause 3
  2354.             shoot bomb
  2355.             goto 18000 -3000 18000
  2356.             shoot bomb
  2357.             pause 3
  2358.             shoot bomb
  2359.             pause 3
  2360.             shoot bomb
  2361.             goto 17000 -3000 17000
  2362.             shoot bomb
  2363.             pause 3
  2364.             shoot bomb
  2365.             pause 3
  2366.             shoot bomb
  2367.             goto 16000 -3000 16000
  2368.             shoot bomb
  2369.             pause 3
  2370.             shoot bomb
  2371.             pause 3
  2372.             shoot bomb
  2373.             goto 15000 -3000 15000
  2374.             shoot bomb
  2375.             pause 3
  2376.             shoot bomb
  2377.             pause 3
  2378.             shoot bomb
  2379.             goto 15000 -3000 14000
  2380.             shoot bomb
  2381.             pause 3
  2382.             shoot bomb
  2383.             pause 3
  2384.             shoot bomb
  2385.             goto 15000 -3000 13000
  2386.             shoot bomb
  2387.             pause 3
  2388.             shoot bomb
  2389.             pause 3
  2390.             shoot bomb
  2391.             goto 15000 -3000 12000
  2392.             shoot bomb
  2393.             pause 3
  2394.             shoot bomb
  2395.             pause 3
  2396.             shoot bomb
  2397.             goto 15000 -3000 11000
  2398.             shoot bomb
  2399.             pause 3
  2400.             shoot bomb
  2401.             pause 3
  2402.             shoot bomb
  2403.             goto 15000 -3000 10000
  2404.             shoot bomb
  2405.             goto 20000 -3000 5000
  2406.             shoot bomb
  2407.             goto 25000 -3000 5000
  2408.             shoot bomb
  2409.             goto 30000 -3000 10000
  2410.             shoot bomb
  2411.             goto 30000 -3000 15000
  2412.             shoot bomb
  2413.             goto 25000 -3000 20000
  2414.             shoot bomb
  2415.         until "hero" destroyed
  2416.     end
  2417.      
  2418. set_waypoint "mofo"
  2419.  
  2420.  
  2421. procedure "P10a"
  2422.     create "hfighter"
  2423.     position 17000 -4000 5000 relative toxz "mofo"
  2424.     armed_with "PLASMA BOLT 2" rate 11 
  2425.     task
  2426.         attack "hero"
  2427.     end
  2428.     pause 50
  2429. end_procedure terminate after 4 loops
  2430.  
  2431. wait_until proc "P10a" terminated
  2432. wait_until "mofo" destroyed
  2433.  
  2434. phasemessage 26 60
  2435.  
  2436. set_waypoint "bsgen3"
  2437.  
  2438. wait_until "bsgen3" destroyed
  2439. set_waypoint "pad1"
  2440.  
  2441. procedure "P10a"
  2442.     wait_until number_of "aair" < 8
  2443.  
  2444.     create "lfighter"
  2445.     position 55000 -1000 40000
  2446.     armed_with "PLASMA BOLT 2" rate 8 
  2447.     task
  2448.         attack "hero"
  2449.     end
  2450.  
  2451.     pause 15
  2452. end_procedure
  2453.  
  2454.  
  2455. wait_until "pad1" destroyed
  2456. end_procedure "P10a"
  2457.  
  2458. set_waypoint "bsgen1"
  2459. wait_until "bsgen1" destroyed
  2460.  
  2461. set_waypoint "base"
  2462. wait_until "base" destroyed
  2463. clear_waypoint
  2464.  
  2465. phasemessage 10 60
  2466.  
  2467. wait_until number_of "aair" =0
  2468.  
  2469. phasemessage 90 60
  2470.  
  2471. pause 20
  2472.  
  2473. set_flag 10
  2474.  
  2475. hud off
  2476. camera
  2477.     attached_to "hero"
  2478.     position 600 -300 -600
  2479.     pointing_at "hero"
  2480.     dolly 1
  2481.     dollyspeed 0.1%
  2482. pause 80
  2483.  
  2484.  
  2485. ;-------------------------------------------------------
  2486. ;END OF SCENARIO
  2487. ;-------------------------------------------------------
  2488.