home *** CD-ROM | disk | FTP | other *** search
/ Freelog Special Issue 2 / Freelog_HS_3_Setp_Oct_Nov_2000_CD2.mdx / Arcade / Orbit / missions / titan02.msn < prev    next >
Text File  |  1999-08-05  |  3KB  |  207 lines

  1. /*
  2.  *  Go to titan Base, shoot some bad guys, back to Titan base
  3.  */
  4.  
  5. Verbose
  6.  
  7. /* Set up player */
  8. Cursor { Earth +15000 }
  9. Player { }
  10.  
  11. /* Set up Earth Base */
  12. Include earthbase.inc
  13.  
  14. /* Set up Titan Base */
  15. Include titanbase.inc
  16.  
  17. /* Some bad guys */
  18. Cursor { Rhea +3000 }
  19. Object
  20. {
  21.     Name Platform1
  22.     Model platform.tri
  23.     Strategy Sit1
  24.     Score 1
  25.     Hidden
  26. }
  27. Cursor { Rhea -3000 }
  28. Object
  29. {
  30.     Name Platform2
  31.     Model platform.tri
  32.     Strategy Sit1
  33.     Score 1
  34.     Hidden
  35. }
  36. Cursor { Rhea +0 +3000 }
  37. Object
  38. {
  39.     Name Platform3
  40.     Model platform.tri
  41.     Strategy Sit1
  42.     Score 1
  43.     Hidden
  44. }
  45.  
  46. /* Briefing */
  47. Briefing
  48. {
  49.     Mission: They're Here\\
  50.     The message from Titan Base contains some disturbing news:
  51.     An alien presence has been detected in the Saturn system.\\
  52.     You are being re-assigned to Titan Base.\\
  53.     Your mission is to rendezvous with Titan Base and await
  54.     further orders.\\
  55.     Good luck!
  56. }
  57.  
  58. /* Give annoying message if he takes too long */
  59. Event
  60. {
  61.     Name annoy
  62.     Trigger Alarm
  63.     Value 120
  64.  
  65.     Action Message
  66.     Value
  67.     {
  68.         [EarthBase] Well get going, Flyboy!  We don't have all
  69.         millenium!\\Type 'b' if you've forgotten the
  70.         mission objectives.
  71.     }
  72. }
  73.  
  74. /* Disable annoying message when he gets going */
  75. Cursor { Earth }
  76. Event
  77. {
  78.     Trigger Depart
  79.     Value 100000
  80.  
  81.     Action Disable
  82.     Value annoy
  83. }
  84.  
  85. Cursor { Titan +10000 }
  86.  
  87. /* Tell him what to do when he gets to the base */
  88. Event
  89. {
  90.     Trigger Approach
  91.     Value 1000
  92.  
  93.     Action Stop
  94.  
  95.     /* Unhide the targets */
  96.     Action Unhide Value Platform1
  97.     Action Unhide Value Platform2
  98.     Action Unhide Value Platform3
  99.  
  100.     Action Message
  101.     Value
  102.     {
  103.         [Titan Base] Glad you're here!  The aliens have been
  104.         detected near the moon Rhea.  Your orders are to
  105.         proceed to Rhea, eliminate any hostile forces, and
  106.         return to Titan Base.
  107.     }
  108.  
  109.     Action Enable
  110.     Value e1
  111. }
  112.  
  113. /* Enable failure when leaving, after getting assignment */
  114. Event
  115. {
  116.     Name e1
  117.     Disabled
  118.     Trigger Depart
  119.     Value 10000
  120.  
  121.     Action Enable
  122.     Value ReturnFailure
  123. }
  124.  
  125. /* When he gets them all, allow success */
  126. Event
  127. {
  128.     Trigger Score
  129.     Value 3
  130.  
  131.     Action Disable
  132.     Value ReturnFailure
  133.  
  134.     Action Enable
  135.     Value ReturnSuccess
  136.  
  137.     Action Message
  138.     Value
  139.     {
  140.         [Titan Base] Excellent work!  Now return to base.
  141.     }
  142. }
  143.  
  144. /* Success and failure events */
  145. Event
  146. {
  147.     Name ReturnSuccess
  148.     Disabled
  149.     Trigger StopNear
  150.     Value 1000
  151.  
  152.     Action Stop
  153.  
  154.     Action Message
  155.     Value
  156.     {
  157.         Mission Successful!  Wait for next assignment.
  158.     }
  159.  
  160.     Action Enable
  161.     Value loadsuccess
  162. }
  163.  
  164. Event
  165. {
  166.     Name ReturnFailure
  167.     Disabled
  168.     Trigger StopNear
  169.     Value 1000
  170.  
  171.     Action Stop
  172.  
  173.     Action Message
  174.     Value
  175.     {
  176.         Mission Failed!  Wait for next assignment.
  177.     }
  178.  
  179.     Action Enable
  180.     Value loadfailure
  181. }
  182.  
  183. Event
  184. {
  185.     Name loadsuccess
  186.     Disabled
  187.  
  188.     Trigger Alarm
  189.     Value 10.0
  190.  
  191.     Action LoadMission
  192.     Value dione01.msn
  193. }
  194.  
  195. Event
  196. {
  197.     Name loadfailure
  198.     Disabled
  199.  
  200.     Trigger Alarm
  201.     Value 10.0
  202.  
  203.     Action LoadMission
  204.     Value titan03.msn
  205. }
  206.  
  207.