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

  1. drag_coeff    0.01        
  2. gravity        2.2
  3. ;-------------------------------------------------------
  4. ;PHASE 1
  5. ;-------------------------------------------------------
  6.  
  7. phasestart
  8.  
  9. clear_flag 0
  10. clear_flag 1
  11. clear_flag 2
  12. clear_flag 3
  13. clear_flag 4
  14. clear_flag 5
  15. clear_flag 6
  16.  
  17. ;set_flag 0
  18. ;set_flag 1
  19. ;set_flag 2
  20. ;set_flag 3
  21. ;set_flag 4
  22. ;set_flag 5
  23.  
  24. ;create hero "rage0"
  25. ;    position 41321 8122 49574
  26. ;    forward 0 1 0 up 1 0 0
  27. ;    inert
  28. ;camera cockpit
  29. ;pause 1000
  30.  
  31. create hero "helicopter"
  32.     label "rez"
  33.     position 41321 -122 49574
  34.     forward -0.5 0 -0.8 up 0 1 0
  35.     armed_with "PURPLE LASER"    rate 2
  36.     secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
  37.     inert
  38.     task
  39.           goto 41000 -2550 49000
  40.          goto 41000 -1250 47000
  41.         goto 38000 -1450 45000
  42.           goto  32757 -934 39283
  43.           goto  32055 -822 38656
  44.          goto  32016 -522 34318
  45.         goto  33676 -822 32326
  46.         set_flag 0
  47.     end
  48.  
  49. camera cockpit
  50. dolly 0
  51.  
  52. create "laser gun"
  53.     label "rowla"
  54.     position 46951 on ground 43875
  55.     forward -0.5 0 0.8 up 0 1 0
  56.     armed_with "GREEN LASER"    rate 2
  57.  
  58. create "rack"
  59.     position 46494 on ground 44332
  60.     forward 0.5 0 0.8 up 0 1 0
  61.     armed_with "GUIDED MISSILE"    rate 64
  62.     task
  63.         attack
  64.     end
  65.  
  66. create "laser gun"
  67.     label "pearl"
  68.     position 37261 on ground 50165
  69.     forward -1 0 0 up 0 1 0
  70.     armed_with "GREEN LASER"    rate 2
  71.     task
  72.         attack
  73.     end
  74.  
  75. create "rack"
  76.     position 36803 on ground 49675
  77.     forward 0.5 0 0.8 up 0 1 0
  78.     armed_with "GUIDED MISSILE"    rate 64
  79.     task
  80.         attack
  81.     end
  82.  
  83. create "laser gun"
  84.     label "banstyle"
  85.     position 37200 on ground 42201
  86.     forward -0.8 0 -0.5 up 0 1 0
  87.     armed_with "GREEN LASER"    rate 2
  88.     task
  89.         attack
  90.     end
  91.  
  92. create "rack"
  93.     position 36780 on ground 41773
  94.     forward 0.5 0 0.8 up 0 1 0
  95.     armed_with "GUIDED MISSILE"    rate 64
  96.     task
  97.         slave_to "banstyle"
  98.     end
  99.  
  100. create "tranheli"
  101.     position 40000 -1200 36000
  102.     task
  103.         do
  104.         goto 35000 -600 42000
  105.         goto 37500 -1000 46000
  106.         goto 65000 -3400 65000
  107.         while flag 0 clear
  108.         kill
  109.     end
  110.  
  111. create "lbomber"
  112.     position 22000 -2300 40000
  113.     towards "hero"
  114.     armed_with "PLASMA BOLT 4" rate 4
  115.     task
  116.         do
  117.             goto 35000 -2300 40000
  118.             shoot group "gun" closest bomb
  119.             goto 37500 -2300 40000
  120.             shoot "hero" bomb
  121.             goto 38000 -2300 45000
  122.             shoot "adata" bomb
  123.             goto 30000 -2300 42500
  124.         while flag 0 clear
  125.         kill
  126.     end
  127.     
  128. create "lfighter"
  129.     position 20000 -3100 42200
  130.     towards "hero"
  131.     armed_with "PLASMA BOLT 3" rate 8
  132.     task
  133.             goto 31500 -3100 42200
  134.             goto 32500 -2400 42200
  135.             shoot "hero"
  136.             goto 34000 -2000 42200
  137.             shoot "hero"
  138.             goto 35500 -1600 42200
  139.             shoot "hero"
  140.             goto 38000 -1400 42200
  141.         do
  142.             goto 36000 -3100 47000
  143.             goto 40000 -3100 40000
  144.             goto 38000 -3100 36000
  145.             goto 35000 -3100 35000
  146.             goto 33000 -3100 46000
  147.                     break_task_if flag 0 set
  148.         while flag 0 clear
  149.         kill
  150.     end
  151.     
  152. create "lbomber"
  153.     label "bombview"
  154.     position 25000 -2100 39000
  155.     towards "hero"
  156.     armed_with "PLASMA BOLT 4" rate 4
  157.     task
  158.         do
  159.             goto 35000 -1900 37500
  160.             shoot "rad1" bomb
  161.             goto 40000 -1900 40000
  162.             shoot "hero" bomb
  163.             goto 36000 -1900 46000
  164.             shoot "adata" bomb
  165.             goto 32500 -1900 44000
  166.         until flag 0 set
  167.         kill
  168.     end
  169.  
  170. create "lfighter"
  171.     position 5000 -3400 30000
  172.     towards "hero"
  173.     armed_with "PLASMA BOLT 3" rate 8
  174.     task
  175.             goto 20000 -3400 40000
  176.             goto 30000 -3400 42200
  177.             goto 31000 -2400 42200
  178.             shoot "hero"
  179.             goto 32000 -2200 42200
  180.             shoot "hero"
  181.             goto 33000 -2000 42200
  182.             shoot "hero"
  183.             goto 34000 -1800 42200
  184.             shoot "hero"
  185.             goto 35000 -1600 42200
  186.             shoot "hero"
  187.             goto 38000 -1400 42200
  188.         do
  189.              goto 41000 -3400 42200
  190.             goto 40000 -3400 45000
  191.             goto 30000 -3400 40000
  192.             goto 29000 -3400 38000
  193.             goto 32500 -3400 35000
  194.                     break_task_if flag 0 set
  195.         until flag 0 set
  196.         kill
  197.     end
  198.     
  199. create "lfighter"
  200.     position 15000 -2500 40000
  201.     towards "hero"
  202.     armed_with "PLASMA BOLT 3" rate 8
  203.     task
  204.         do
  205.             goto 35000 -2500 45000
  206.             goto 39000 -2500 42000
  207.             goto 37000 -2500 38000
  208.             goto 32500 -2500 37500
  209.             goto 32500 -2500 42000
  210.                     break_task_if flag 0 set
  211.         until flag 0 set
  212.         kill
  213.     end
  214.     
  215. create "lbomber"
  216.     position 25000 -500 34500
  217.     towards "hero"
  218.     armed_with "PLASMA BOLT 4" rate 4
  219.     task
  220.              goto 37500 -700 42500
  221.             shoot "hero" bomb
  222.             goto 40000 -1000 40000
  223.             shoot "hero" bomb
  224.             goto 38500 -1500 37500
  225.             shoot "hero" bomb
  226.         do
  227.             goto 34000 -1700 39000
  228.             shoot "rad1" bomb
  229.             goto 37000 -1700 47000
  230.             shoot "adata" bomb
  231.             goto 40000 -1700 45000
  232.             shoot "adata" bomb
  233.             goto 39000 -1700 42000
  234.             shoot "hero" bomb
  235.             goto 37500 -1700 41000
  236.             shoot "rad1" bomb
  237.         until flag 0 set
  238.         kill
  239.     end
  240.  
  241. create "tranheli"
  242.     label "bobby"
  243.     position 37500 -3000 57500
  244.     task
  245.     do
  246.         goto 36000 -2500 53000
  247.         goto 34000 -2000 50000
  248.         goto 33000 -2000 47000
  249.         goto 37500 -2000 47000
  250.         goto 60000 -3000 47000
  251.     until flag 0 set
  252.     kill
  253.     end
  254.  
  255. create "tranheli"
  256.     position 40000 -4800 20000
  257.     forward -1 0 0 up 0 1 0
  258.     task
  259.         goto 35000 -4800 40000
  260.         goto 40000 -600 50000
  261.         goto 55000 -4000 40000
  262.         kill
  263.     end
  264.  
  265. create "tranheli"
  266.     position 60000 -2300 50000
  267.     forward -1 0 0 up 0 1 0
  268.     task
  269.         goto 40000 -2300 42500
  270.         goto 30000 -600 37500
  271.         goto 20000 -2500 30000
  272.         kill
  273.     end
  274.  
  275.  
  276. wait_until flag 0 set
  277.  
  278. kill group "aihuman"
  279. kill group "aliens"
  280.  
  281. ;-------------------------------------------------------
  282. ;PHASE 2
  283. ;-------------------------------------------------------
  284.  
  285. ;phasestart
  286.  
  287. set_task "rez"
  288.     position 13098 -2875 35748
  289.     forward -0.5 0 -0.8 up 0 1 0
  290.     goto 10967 -2928 34894
  291.     goto 14098 -315 32895
  292.     goto 12336 -665 30195
  293.     goto 12064 -1081 23709
  294.       set_flag 1
  295.       end
  296.  
  297. camera third_person
  298. dolly 0
  299.  
  300. create "hovertank"
  301.     label "spikee"
  302.     position 12000 on ground 35000
  303.     forward 1 0 0 up 0 1 0
  304.     armed_with "RED LASER"    rate 6
  305.     secondary_armed_with "GUIDED MISSILE" rate 64 rounds 20
  306.     task
  307.     attack
  308.     end                                                           
  309.  
  310. create "trantank"
  311.     position 21000 on ground 40500
  312.     forward -1 0 0 up 0 1 0
  313.     armed_with "RED LASER" rate 64
  314.     task
  315.         do
  316.             attack
  317.         until number_of "aliens" =0
  318.             goto 22600 on ground 43500
  319.     end
  320.  
  321. create "trantank"
  322.     position 19000 on ground 42500
  323.     forward -1 0 0 up 0 1 0
  324.     armed_with "RED LASER" rate 64
  325.     task
  326.         do
  327.             attack
  328.         until number_of "aliens" =0
  329.             goto 22000 on ground 41800
  330.     end
  331.  
  332. create "atank"
  333.     position 11000 on ground 40000
  334.     forward 1 0 0 up 0 1 0
  335.     armed_with "PLASMA BOLT 1" rate 28
  336.     task
  337.         attack
  338.     end
  339.  
  340. create "atank"
  341.     position 8000 on ground 37500
  342.     forward 1 0 0 up 0 1 0
  343.     armed_with "PLASMA BOLT 1" rate 28
  344.     task
  345.         attack
  346.     end
  347.  
  348. create "atank"
  349.     position 11000 on ground 35000
  350.     forward 1 0 0 up 0 1 0
  351.     armed_with "PLASMA BOLT 1" rate 28
  352.     task
  353.         attack
  354.     end
  355.  
  356. create "atank"
  357.     position 11000 on ground 32500
  358.     forward 1 0 0 up 0 1 0
  359.     armed_with "PLASMA BOLT 1" rate 28
  360.     task
  361.         attack
  362.     end
  363.  
  364. create "lfighter"
  365.     position 42500 -2600 9000
  366.     towards "hero"
  367.     armed_with "PLASMA BOLT 3" rate 8
  368.     task
  369.         do
  370.             goto 11500 -3000 35000
  371.             goto 7500 -3000 35000
  372.             goto 5000 -3000 38000
  373.             goto 10000 -3000 42000
  374.             attack
  375.         while flag 1 clear
  376.         kill
  377.     end
  378.  
  379. wait_until flag 1 set
  380.  
  381. kill group "aihuman"
  382. kill group "aliens"
  383.  
  384. set_task "rez"
  385.     position 36279 -1394 58077
  386.     forward 1 0 0 up 0 1 0
  387.     goto 36279 -2394 58077
  388.     goto 34839 -2071 56382
  389.     goto 35975 -1319 53604
  390.     goto 37617 -409 50236
  391.     goto 38697 -637 49048
  392.     goto 39309 -637 47115
  393.     goto 40313 -788 46533
  394.     goto 42339 -288 45401
  395.       set_flag 2
  396.       end
  397.  
  398. camera cockpit
  399. dolly 0
  400.  
  401. create "tranheli"
  402.     position 37500 -1300 57500
  403.     task
  404.         goto 34000 -1200 50000
  405.         goto 37500 -1200 47000
  406.         goto 62500 -4000 42500
  407.         kill
  408.     end
  409.  
  410. create "lbomber"
  411.     position 20000 -2500 60000
  412.     towards "hero"
  413.     armed_with "PLASMA BOLT 4" rate 4
  414.     task
  415.         do
  416.             goto 34000 -2500 52500
  417.             shoot "hero" bomb
  418.             goto 42500 -2500 45500
  419.             shoot "ecm" bomb
  420.             goto 36000 -2500 46000
  421.             shoot "hero" bomb
  422.         until flag 2 set
  423.         kill
  424.     end
  425.  
  426. create "lbomber"
  427.     position 20000 -2200 55000
  428.     towards "hero"
  429.     armed_with "PLASMA BOLT 4" rate 4
  430.     task
  431.          do
  432.             goto 33000 -2200 48000
  433.             goto 36000 -2200 46000
  434.             shoot "rad2" bomb
  435.             goto 40000 -2200 50000
  436.             shoot "ecm" bomb
  437.             goto 35000 -2200 52000
  438.             shoot "hero" bomb
  439.         until flag 2 set
  440.         kill
  441.     end
  442.  
  443. create "lbomber"
  444.     position 20000 -1900 40000
  445.     towards "hero"
  446.     armed_with "PLASMA BOLT 4" rate 4
  447.     task
  448.          do
  449.             goto 36000 -1900 45000
  450.             shoot "adata" bomb
  451.             goto 39500 -1900 47000
  452.             shoot "rad2" bomb
  453.             goto 39000 -1900 51000
  454.             shoot "hero" bomb
  455.             goto 32500 -1900 50000
  456.             shoot "hero" bomb
  457.         until flag 2 set
  458.         kill
  459.     end
  460.  
  461. create "lfighter"
  462.     position 35000 -2600 65000
  463.     towards "hero"
  464.     armed_with "PLASMA BOLT 3" rate 8
  465.     task
  466.         do
  467.             goto 29000 -2600 52000
  468.             goto 31000 -2600 49000
  469.             goto 35000 -2600 50000
  470.             goto 32500 -2600 45000
  471.             goto 38000 -2600 52500
  472.             goto 38000 -2600 56000
  473.             goto 35000 -2600 56000
  474.             goto 31000 -2600 55000
  475.                 break_task_if number_of "aliens" =2
  476.         until flag 2 set
  477.         kill
  478.     end
  479.  
  480. create "lfighter"
  481.     position 40000 -4500 65000
  482.     towards "hero"
  483.     armed_with "PLASMA BOLT 3" rate 8
  484.     task
  485.         do
  486.             goto 39000 -4500 52000
  487.             goto 41000 -4500 48000
  488.             goto 40000 -4500 45000
  489.             goto 36000 -4500 45000
  490.             goto 34000 -4500 49000
  491.             goto 35000 -4500 52000
  492.                 break_task_if number_of "aliens" =3
  493.         until flag 2 set
  494.         kill
  495.     end
  496.  
  497. create "hfighter"
  498.     position 35000 -3700 60000
  499.     towards "hero"
  500.     armed_with "PLASMA BOLT 2" rate 11
  501.     task
  502.         do
  503.         attack "hero"
  504.         break_task_if flag 2 set
  505.         until flag 2 set
  506.         kill
  507.     end
  508.  
  509. create "hfighter"
  510.     position 20000 -3300 45000
  511.     towards "hero"
  512.     armed_with "PLASMA BOLT 2" rate 11
  513.     task
  514.         do
  515.         attack "hero"
  516.                 break_task_if flag 2 set
  517.         until flag 2 set
  518.         kill
  519.     end
  520.  
  521. create "hfighter"
  522.     position 42000 -2900 65000
  523.     towards "hero"
  524.     armed_with "PLASMA BOLT 2" rate 11
  525.     task
  526.     do
  527.         attack "hero"
  528.         break_task_if flag 2 set
  529.         until flag 2 set
  530.         kill
  531.     end
  532.  
  533. create "tranheli"
  534.     position 20000 -5000 40000
  535.     task
  536.         goto 32500 -3000 46000
  537.         goto 37500 -1500 46000
  538.         goto 50000 -2500 46000
  539.         goto 60000 -3000 46000
  540.         kill
  541.     end
  542.  
  543. create "tranheli"
  544.     position 50000 -5000 30000
  545.     task
  546.         goto 35000 -5000 50000
  547.         goto 30000 -5000 65000
  548.         kill
  549.     end
  550.  
  551. create "lfighter"
  552.     position 30000 -2500 40000
  553.     towards "hero"
  554.     armed_with "PLASMA BOLT 3" rate 8
  555.     task
  556.     do
  557.         attack "hero"
  558.         break_task_if flag 2 set
  559.         until flag 2 set
  560.         kill
  561.     end
  562.  
  563. create "lfighter"
  564.     position 30000 -2500 65000
  565.     towards "hero"
  566.     armed_with "PLASMA BOLT 3" rate 8
  567.     task
  568.       do
  569.           attack "hero"
  570.         break_task_if flag 2 set
  571.         until flag 2 set
  572.         kill
  573.     end
  574.  
  575. create "bomber"
  576.     position 20000 -3200 55000
  577.     towards "hero"
  578.     armed_with "PLASMA BOLT 4" rate 4
  579.     task
  580.         do
  581.             goto 24000 -3200 51000
  582.             goto 27500 -3200 47500
  583.             goto 31000 -3200 46000
  584.             shoot "rad2" bomb
  585.             goto 33000 -3000 47000
  586.             shoot "rad2" bomb
  587.             goto 35000 -2800 48000                                                   
  588.             shoot "hero" bomb
  589.             goto 37000 -2600 49000
  590.             shoot "hero" bomb
  591.             goto 38000 -2700 49500
  592.             shoot "hero" bomb
  593.             goto 38500 -2750 49750
  594.             shoot "hero" bomb
  595.             goto 39000 -2800 50000
  596.             shoot "ecm" bomb
  597.             goto 39500 -2850 50250
  598.             shoot "replen1" bomb
  599.             goto 40000 -2900 50500
  600.             shoot "ecm"    bomb
  601.             goto 41000 -3000 51000
  602.             shoot "replen1"    bomb
  603.             goto 42500 -3200 55000
  604.             goto 41000 -3200 60000    
  605.             goto 37000 -3200 61000
  606.             goto 25000 -3200 55000
  607.         break_task_if flag 2 set
  608.         until flag 2 set
  609.         kill
  610.     end
  611.  
  612. wait_until flag 2 set
  613.  
  614. ;-------------------------------------------------------
  615. ;PHASE 6
  616. ;-------------------------------------------------------
  617. kill group "aihuman"
  618. kill group "aliens"
  619.  
  620. set_task "rez"
  621.     position 38839 -620 16036
  622.     forward 0 0 -1 up 0 1 0
  623.     goto 38839 -546 12852
  624.     goto 37689 -674 11524
  625.     goto 35899 -408 12037
  626.     goto 35713 -672 13607
  627.     goto 37690 -493 13506
  628.     goto 38097 -845 12777
  629.     goto 35152 -421 12653
  630.     goto 33367 -2231 11064
  631.       set_flag 3
  632.       end
  633.  
  634. camera third_person
  635. dolly 0
  636.  
  637. create "c-lfight"
  638.     label "cowgirl"
  639.     position 38834 -55 13184
  640.     forward 0.5 0 0.8 up 0 1 0
  641.     inert
  642.  
  643. create "facraft"
  644.     position 38800 on ground 15000
  645.     towards "hero"
  646.     armed_with "PLASMA BOLT 1" rate 28
  647.     task
  648.         attack "hero"
  649.     end
  650.  
  651. create "facraft"
  652.     position 37500 on ground 14500
  653.     towards "hero"
  654.     armed_with "PLASMA BOLT 1" rate 28
  655.     task
  656.         attack "hero"
  657.     end
  658.  
  659. create "facraft"
  660.     position 28800 on ground 15000
  661.     towards "hero"
  662.     armed_with "PLASMA BOLT 1" rate 28
  663.     task
  664.         attack "hero"
  665.     end
  666.  
  667. create "facraft"
  668.     position 27500 on ground 12500
  669.     towards "hero"
  670.     armed_with "PLASMA BOLT 1" rate 28
  671.     task
  672.         attack "hero"
  673.     end
  674.  
  675. wait_until flag 3 set
  676. ;-------------------------------------------------------
  677. ;PHASE 7
  678. ;-------------------------------------------------------
  679. kill group "aihuman"
  680. kill group "aliens"
  681.  
  682. set_task "rez"
  683.     position 36584 -340 39945
  684.     forward -0.5 0 -0.8 up 0 1 0
  685.     goto 37334 -1488 34023
  686.     goto 36567 -1128 29870
  687.     goto 37981 -1539 16818
  688.     goto 37981 -837 15325
  689.     goto 39027 -669 14707
  690.       set_flag 4
  691.       end
  692.  
  693. camera third_person
  694. dolly 0
  695.  
  696. create "hovercraft"
  697.     position 39334 on ground 13884
  698.     forward 0.8 0 0.5 up 0 1 0
  699.  
  700. create "hovercraft"
  701.     position 39734 on ground 13114
  702.     forward 0 0 1 up 0 1 0
  703.  
  704. create "hovercraft"
  705.     position 39534 on ground 12484
  706.     forward -0.5 0 0.8 up 0 1 0
  707.  
  708. create "statheli"
  709.     position 38000 -200 12000
  710.     forward 0 0 1 up 0 1 0
  711.  
  712. create "tranheli"
  713.     position 42500 -3000 50000
  714.     task
  715.         goto 39000 -3000 13000
  716.         goto 100 -3000 18000
  717.         kill
  718.     end
  719.  
  720. create "hfighter"
  721.     position -17500 -3000 500 relative toxz "hero"
  722.     towards "hero"
  723.     armed_with "PLASMA BOLT 2" rate 11
  724.     task
  725.         attack "hero"
  726.     end
  727.  
  728. create "hfighter"
  729.     position -17000 -3000 500 relative toxz "hero"
  730.     towards "hero"
  731.     armed_with "PLASMA BOLT 2" rate 11
  732.     task
  733.         attack "hero"
  734.     end
  735.  
  736. create "lbomber"
  737.     position 17000 -2500 1000 relative toxz "hero"
  738.     towards "hero"
  739.     armed_with "PLASMA BOLT 4" rate 32
  740.     task
  741.         goto 37500 -2500 12500
  742.         attack group "aihuman" bomb
  743.     end
  744.  
  745. create "lfighter"
  746.     position 19000 -3000 2500 relative toxz "hero"
  747.     towards "hero"
  748.     armed_with "PLASMA BOLT 3" rate 8
  749.     task
  750.         attack "hero"
  751.     end
  752.  
  753. create "lfighter"
  754.     position 19500 -3300 500 relative toxz "hero"
  755.     towards "hero"
  756.     armed_with "PLASMA BOLT 3" rate 8
  757.     task
  758.         attack "hero"
  759.     end
  760.  
  761. wait_until flag 4 set
  762.  
  763. ;-------------------------------------------------------
  764. ;PHASE 8
  765. ;-------------------------------------------------------
  766.  
  767. kill group "aihuman"
  768. kill group "aliens"
  769.  
  770. set_task "rez"
  771.     position 59562 -1578 14761
  772.     forward 0.708508 0.091624 -0.699729 up 0.0350493 0.985743 0.164564
  773.     goto 60800 -1578 14561
  774.     goto 57511 -1676 18851
  775.     goto 56450 -1546 18053
  776.     goto 57013 -1330 17356
  777.     goto 56667 -1512 19645
  778.     goto 56219 -1512 21523
  779.     goto 54675 -1512 22051
  780.     goto 54675 -1280 22763
  781.     goto 53673 -942 23355
  782.       set_flag 5
  783.       end
  784.  
  785. camera third_person
  786. dolly 0
  787.  
  788. create "hovercraft"
  789.     label "woof"
  790.     position 58500 on ground 15600
  791.     task
  792.         goto 58200 on ground 17500
  793.         goto 51100 on ground 25000
  794.         goto 49900 on ground 30000
  795.         goto 50100 on ground 32500
  796.         goto 50100 on ground 35000
  797.         goto 47500 on ground 46000
  798.         goto 41640 on ground 45917
  799.         goto 41640 on ground 44301
  800.         goto 39283 on ground 40644
  801.     end
  802.  
  803. create "hovercraft"
  804.     position 0 on ground -1800 relative toxz "woof"
  805.     task
  806.         goto 57900 on ground 17500
  807.         goto 51500 on ground 25000
  808.         goto 50100 on ground 30000
  809.         goto 50000 on ground 32500
  810.         goto 50100 on ground 35000
  811.         goto 47400 on ground 46000
  812.         goto 41056 on ground 45917
  813.         goto 40066 on ground 46620
  814.         goto 40142 on ground 47950
  815.     end
  816.  
  817. create "hovercraft"
  818.     position 0 on ground -3600 relative toxz "woof"
  819.     task
  820.         goto 58000 on ground 17500
  821.         goto 51300 on ground 25000
  822.         goto 50100 on ground 30000
  823.         goto 50000 on ground 32500
  824.         goto 50200 on ground 35000
  825.         goto 47400 on ground 46000
  826.         goto 41451 on ground 45917
  827.         goto 41451 on ground 43982
  828.         goto 38739 on ground 43650
  829.     end
  830.  
  831. create "hovercraft"
  832.     position 0 on ground -5400 relative toxz "woof"
  833.     task
  834.         goto 58000 on ground 17500
  835.         goto 51400 on ground 25000
  836.         goto 50000 on ground 30000
  837.         goto 50100 on ground 32500
  838.         goto 50000 on ground 35000
  839.         goto 47600 on ground 46000
  840.         goto 41056 on ground 45917
  841.         goto 40066 on ground 47000
  842.         goto 38269 on ground 47000
  843.     end
  844.  
  845. create "hovercraft"
  846.     position 0 on ground -7200 relative toxz "woof"
  847.     task
  848.         goto 58100 on ground 17500
  849.         goto 51400 on ground 25000
  850.         goto 50000 on ground 30000
  851.         goto 50000 on ground 32500
  852.         goto 50000 on ground 35000
  853.         goto 47500 on ground 46000
  854.         goto 41056 on ground 45917
  855.         goto 40066 on ground 45714
  856.     end
  857.  
  858.  
  859. create "atank"
  860.     position 60000 on ground 40000
  861.     armed_with "PLASMA BOLT 1" rate 28
  862.     task
  863.         goto 50000 on ground 30000
  864.         attack "woof"
  865.         attack
  866.     end
  867.  
  868. create "atank"
  869.     position 60000 on ground 45000
  870.     towards "hero"
  871.     armed_with "PLASMA BOLT 1" rate 28
  872.     task
  873.         goto 52000 on ground 30000
  874.         attack "woof"
  875.         attack
  876.     end
  877.  
  878. create "lfighter"
  879.     position 30000 -2800 20000
  880.     towards "hero"
  881.     armed_with "PLASMA BOLT 3" rate 8
  882.     task
  883.         goto 50000 -2800 20000
  884.         attack "woof"
  885.         attack
  886.     end
  887.  
  888. create "lfighter"
  889.     position 29000 -3300 15000
  890.     towards "hero"
  891.     armed_with "PLASMA BOLT 3" rate 8
  892.     task
  893.         goto 55000 -3300 15000
  894.         attack "woof"
  895.         attack
  896.     end
  897.  
  898. create "lfighter"
  899.     position 0 -2800 20000 relative toxz "hero"
  900.     towards "hero"
  901.     armed_with "PLASMA BOLT 3" rate 8
  902.     task
  903.         goto 50000 -2800 30000
  904.         attack "woof"
  905.         attack
  906.     end
  907.  
  908. create "lfighter"
  909.     position 0 -3300 15000 relative toxz "hero"
  910.     towards "hero"
  911.     armed_with "PLASMA BOLT 3" rate 8
  912.     task
  913.         goto 55000 -3300 25000
  914.         attack "woof"
  915.         attack
  916.     end
  917.  
  918. wait_until flag 5 set
  919.  
  920. ;-------------------------------------------------------
  921. ;PHASE 10
  922. ;-------------------------------------------------------
  923.  
  924. kill group "aihuman"
  925. kill group "aliens"
  926.  
  927. set_task "rez"
  928.     position 63599 -2882 49000
  929.     forward -0.330782 0.0462739 -0.942572 up 0.142917 0.989733 -0.00156555
  930.     goto 62872 -2701 46926
  931.     goto 61078 -2392 46454
  932.     goto 59815 -2434 45736
  933.     goto 58794 -2396 44580
  934.     goto 54392 -2398 42480
  935.     goto 53145 -2474 41243
  936.       set_flag 6
  937.       end
  938.  
  939. camera third_person
  940. dolly 0
  941.  
  942. create "tranheli"
  943.     position 50000 -2000 25000
  944.     task
  945.         goto 50000 -600 35000
  946.         goto 47500 -800 45000
  947.         goto 45000 -1400 50000
  948.         goto 40000 -2500 52500
  949.         goto 20000 -2500 52500
  950.         kill
  951.     end
  952.  
  953. create "bomber"
  954.     position 65000 -2500 47500
  955.     towards "hero"
  956.     armed_with "PLASMA BOLT 4" rate 4
  957.     task
  958.         do
  959.             goto 48000 -2500 42000
  960.             shoot "hero" bomb
  961.             goto 45000 -2400 42500
  962.             shoot group "powerstn" closest bomb
  963.             goto 40900 -2300 45000
  964.             shoot group "powerstn" closest bomb
  965.             goto 40800 -2100 46000
  966.             shoot "hero" bomb
  967.             goto 40700 -1900 47000
  968.             shoot "hero" bomb
  969.             goto 40600 -1700 48000
  970.             shoot group "powerstn" closest bomb
  971.             goto 40500 -1600 49000
  972.             shoot "hero" bomb
  973.             goto 40400 -1700 50000
  974.             shoot "ecm" bomb
  975.             goto 40300 -1900 51000
  976.             shoot "hero" bomb
  977.             goto 40200 -2100 52000
  978.             shoot "replen1" bomb
  979.             goto 40100 -2300 53000
  980.             shoot "replen1" bomb
  981.             goto 40000 -2400 54000
  982.             goto 42500 -2500 57000
  983.             goto 47500 -2500 58000
  984.             goto 51000 -2500 56000
  985.             goto 52000 -2500 47000
  986.             goto 51000 -2500 44000
  987.             shoot "hero" bomb
  988.         until "hero" destroyed
  989.     end
  990.  
  991. create "tranheli"
  992.     position 30000 -4000 30000
  993.     task
  994.         goto 60000 -4000 60000
  995.     end
  996.  
  997. create "hfighter"
  998.     position 65000 -3800 55000
  999.     towards "hero"
  1000.     armed_with "PLASMA BOLT 2" rate 11
  1001.     task
  1002.         do
  1003.             goto 50000 -3800 50000
  1004.             goto 47500 -3800 50500
  1005.             goto 45500 -3800 43000
  1006.             goto 50500 -3800 41000
  1007.                 break_task_if number_of "aliens" =1
  1008.         while number_of "aliens" >1
  1009.             attack "hero"
  1010.     end
  1011.  
  1012. create "hfighter"
  1013.     position 65000 -3400 45000
  1014.     towards "hero"
  1015.     armed_with "PLASMA BOLT 2" rate 11
  1016.     task
  1017.         do
  1018.             goto 52000 -3400 39000
  1019.             goto 49000 -3400 51000
  1020.             goto 45000 -3400 50500
  1021.             goto 47500 -3400 37500
  1022.                 break_task_if number_of "aliens" =2
  1023.         while number_of "aliens" >2
  1024.             attack "hero"
  1025.     end
  1026.  
  1027. create "hfighter"
  1028.     position 65000 -3000 50000
  1029.     towards "hero"
  1030.     armed_with "PLASMA BOLT 2" rate 11
  1031.     task
  1032.         do
  1033.             goto 52000 -3000 45000
  1034.             goto 48000 -3000 41000
  1035.             goto 44000 -3000 46000
  1036.             goto 45000 -3000 50000
  1037.                 break_task_if number_of "aliens" =3
  1038.         while number_of "aliens" >3
  1039.             attack "hero"
  1040.     end
  1041.  
  1042.  
  1043. create "tranheli"
  1044.     position 60000 -3000 60000
  1045.     task
  1046.         goto 47500 -3000 47500
  1047.         goto 40000 -1500 46000
  1048.         goto 35000 -1500 46000
  1049.         goto 25000 -3500 46000
  1050.     end
  1051.  
  1052. create "bomber"
  1053.     position 64000 -2700 34000
  1054.     towards "hero"
  1055.     armed_with "PLASMA BOLT 4" rate 4
  1056.     task
  1057.         do
  1058.             goto 46000 -2300 44500
  1059.             shoot "hero" bomb
  1060.             goto 44500 -2200 45500
  1061.             shoot group "powerstn" closest bomb
  1062.             goto 40000 -2100 45500
  1063.             shoot group "powerstn" closest bomb
  1064.             goto 37500 -1900 43000
  1065.             shoot "adata" bomb
  1066.             goto 38000 -1800 39500
  1067.             shoot "rad1" bomb
  1068.             goto 40000 -1900 37500
  1069.             shoot group "powerstn" closest bomb
  1070.             goto 45000 -2100 38000
  1071.             shoot group "powerstn" closest bomb
  1072.             goto 47000 -2200 40500
  1073.             shoot "hero" bomb
  1074.         until "hero" destroyed   
  1075.     end
  1076.  
  1077. create "hfighter"
  1078.     position 60000 -3700 50000
  1079.     towards "hero"
  1080.     armed_with "PLASMA BOLT 2" rate 11
  1081.     task
  1082.         do
  1083.             goto 48000 -3700 49000
  1084.             goto 46000 -3700 47500
  1085.             goto 45500 -3700 43000
  1086.             goto 47500 -3700 40000
  1087.             goto 50000 -3700 40500
  1088.             goto 51000 -3700 47500
  1089.                  break_task_if number_of "aliens" =2
  1090.         while number_of "aliens" >2
  1091.             attack "hero"    
  1092.     end
  1093.  
  1094. create "hfighter"
  1095.     position 60000 -4600 35000
  1096.     towards "hero"
  1097.     armed_with "PLASMA BOLT 2" rate 11
  1098.     task
  1099.             goto 50000 -3500 40000
  1100.             goto 49000 -3000 41000
  1101.             shoot "hero"
  1102.             goto 48000 -2700 42000
  1103.             shoot "hero"
  1104.             goto 47000 -2400 43000
  1105.             shoot "hero"
  1106.             goto 46000 -2200 44000
  1107.             goto 45000 -2000 45000
  1108.         do
  1109.             goto 42000 -4600 50000
  1110.             goto 44000 -4600 52000
  1111.             goto 52500 -4600 49500
  1112.             goto 53000 -4600 46000
  1113.             goto 51000 -4600 44000
  1114.             goto 42500 -4600 46000
  1115.                  break_task_if number_of "aliens" =2
  1116.         while number_of "aliens" >2
  1117.             attack "hero"    
  1118.     end
  1119.  
  1120. create "tranheli"
  1121.     position 50000 -1000 35000
  1122.     task
  1123.         goto 46000 -1000 45000
  1124.         goto 42500 -1500 50000
  1125.         goto 30000 -2500 55000
  1126.     end
  1127.  
  1128. wait_until flag 6 set
  1129.  
  1130. ;-------------------------------------------------------
  1131. ;END OF SCENARIO
  1132. ;-------------------------------------------------------
  1133.