home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 3 / CD_Magazyn_EXEC_nr_3.iso / Gry / Orbit / Orbit_dat.lha / Orbit / missions / titan01.msn < prev    next >
Text File  |  2000-05-03  |  2KB  |  168 lines

  1. /*
  2.  *  Go to titan Base, get message, return
  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. /* Briefing */
  18. Briefing
  19. {
  20.     ORBIT Episode One: In Defense Of Sol\\
  21.     Mission: Special Delivery\\
  22.     An important message must be delivered by hand from
  23.     Titan Base to Earth Base.\\
  24.     Titan is a large moon of the planet Saturn.\\
  25.     Your mission is to travel to Titan, rendezvous with
  26.     Titan Base, retrieve the message, and return it
  27.     safely to Earth base.\\
  28.     Good luck!
  29. }
  30.  
  31. /* Give annoying message if he takes too long */
  32. Event
  33. {
  34.     Name annoy
  35.     Trigger Alarm
  36.     Value 120
  37.  
  38.     Action Message
  39.     Value
  40.     {
  41.         [EarthBase] Well get going, Flyboy!  We don't have all
  42.         millenium!\\Type 'b' if you've forgotten the
  43.         mission objectives.
  44.     }
  45. }
  46.  
  47. /* Disable annoying message when he gets going */
  48. Cursor { Earth }
  49. Event
  50. {
  51.     Trigger Depart
  52.     Value 100000
  53.  
  54.     Action Disable
  55.     Value annoy
  56.  
  57.     /* Enable failure return */
  58.     Action Enable
  59.     Value ReturnFailure
  60. }
  61.  
  62. /* Give a little message when approaching Titan */
  63. Cursor { Titan +10000 }
  64. Event
  65. {
  66.     Trigger Approach
  67.     Value 50000
  68.  
  69.     Action Message
  70.     Value
  71.     {
  72.         [computer] To rendezvous with Titan Base, you must come to
  73.         a complete stop within 1000 kilometers of the base.
  74.     }
  75. }
  76.  
  77. /* Start retrieving message */
  78. Event
  79. {
  80.     Trigger StopNear
  81.     Value 1000
  82.  
  83.     Action Stop
  84.  
  85.     Action Message
  86.     Value
  87.     {
  88.         [computer] Retrieving message...
  89.     }
  90.  
  91.     Action Enable
  92.     Value e1
  93. }
  94.  
  95. /* Get home */
  96. Event
  97. {
  98.     Name e1
  99.     Disabled
  100.     Trigger Alarm
  101.     Value 5
  102.  
  103.     Action Message
  104.     Value
  105.     {
  106.         [computer] Message received.  Return to Earth Base.
  107.     }
  108.  
  109.     Action Enable
  110.     Value ReturnSuccess
  111.  
  112.     Action Disable
  113.     Value ReturnFailure
  114. }
  115.  
  116. /* Success and failure events */
  117. Cursor { Earth +16000 }
  118. Event
  119. {
  120.     Name ReturnSuccess
  121.     Disabled
  122.     Trigger StopNear
  123.     Value 1000
  124.  
  125.     Action Stop
  126.  
  127.     Action Message
  128.     Value
  129.     {
  130.         Mission Successful!  Wait for next assignment.
  131.     }
  132.  
  133.     Action Enable
  134.     Value loadnext
  135. }
  136.  
  137. Event
  138. {
  139.     Name ReturnFailure
  140.     Disabled
  141.     Trigger StopNear
  142.     Value 1000
  143.  
  144.     Action Stop
  145.  
  146.     Action Message
  147.     Value
  148.     {
  149.         Mission Failed!  Wait for next assignment.
  150.     }
  151.  
  152.     Action Enable
  153.     Value loadnext
  154. }
  155.  
  156. Event
  157. {
  158.     Name loadnext
  159.     Disabled
  160.  
  161.     Trigger Alarm
  162.     Value 10.0
  163.  
  164.     Action LoadMission
  165.     Value titan02.msn
  166. }
  167.  
  168.