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

  1. /*
  2.  *  Defend freighters
  3.  */
  4.  
  5. Verbose
  6.  
  7. /* Io base */
  8. Include iobase.inc
  9. Waypoint { }
  10.  
  11. Event
  12. {
  13.     Trigger Depart
  14.     Value 20000
  15.  
  16.     Action Enable
  17.     Value returnfailure
  18. }
  19.  
  20. /* Player */
  21. Cursor { -1000 }
  22. Player { }
  23.  
  24. Briefing
  25. {
  26.     Mission: Jovian Patrol\\
  27.     The alien presence is heavy in this system.  Your mission is
  28.     to patrol your waypoints, eliminate any enemy forces, and defend
  29.     any allied units you encounter.\\
  30.     Good luck!  Don't forget to patrol all your waypoints.
  31. }
  32.  
  33. /*
  34.  *  First waypoint
  35.  */
  36. Cursor { Europa +30000 -3000 +6000 }
  37. Waypoint { }
  38.  
  39. /* Bad guys */
  40. Cursor { +0 +2000 }
  41. Object { Name Fighter1 Model light1.tri Strategy hunt1 }
  42. Cursor { +200 -2000 -1000 }
  43. Object { Name Fighter2 Model light1.tri Strategy hunt1 }
  44. Cursor { -300 +3000 +2000 }
  45. Object { Name Fighter3 Model light1.tri Strategy hunt1 }
  46.  
  47. /*
  48.  *  Second waypoint
  49.  */
  50. Cursor { Europa -20000 +4000 -10000 }
  51. Waypoint { }
  52.  
  53. /* Bad guys */
  54. Cursor { +0 +1000 }
  55. Object { Name Ace1 Model medium1.tri Strategy hunt2 weapon 3 }
  56. Cursor { +100 -2000 }
  57. Object { Name Fighter4 Model light2.tri Strategy hunt1 }
  58.  
  59. /*
  60.  *  Third waypoint
  61.  */
  62. Cursor { Ganymede -10000 -15000 +20000 }
  63. Waypoint { }
  64.  
  65. /* Event for getting here */
  66. Event
  67. {
  68.     Trigger Approach
  69.     Value 10000
  70.  
  71.     Action Disable
  72.     Value returnfailure
  73.  
  74.     Action Message
  75.     Value
  76.     {
  77.         [Niven] This is the allied freighter Niven.  We are
  78.         carrying vital medical supplies to colonists on
  79.         Ganymede.  We are under attack!  Please help!
  80.     }
  81. }
  82.  
  83. /* Good guys */
  84. Cursor { +1000 }
  85. Object
  86. {
  87.     Name Niven
  88.     Model freight1.tri
  89.     Strategy DoNothing
  90.     Maxshields 300
  91.     Friendly
  92. }
  93.  
  94. Cursor { -1500 +200 +300 }
  95. Object
  96. {
  97.     Name Pilgrim
  98.     Model freight1.tri
  99.     Strategy DoNothing
  100.     Maxshields 300
  101.     Friendly
  102. }
  103.  
  104. /* Bad guys */
  105. Cursor { +9000 }
  106. Object
  107. {
  108.     Name Fighter5
  109.     Model medium1.tri
  110.     Strategy hunt3
  111.     Score 1
  112. }
  113.  
  114. Cursor { +0 +1000 }
  115. Object
  116. {
  117.     Name Fighter6
  118.     Model medium1.tri
  119.     Strategy hunt3
  120.     Score 1
  121. }
  122.  
  123. Cursor { +1000 -1000 }
  124. Object
  125. {
  126.     Name Fighter7
  127.     Model medium1.tri
  128.     Strategy hunt3
  129.     Score 1
  130. }
  131.  
  132. Cursor { +500 +500 }
  133. Object
  134. {
  135.     Name Fighter8
  136.     Model medium1.tri
  137.     Strategy hunt3
  138.     Score 1
  139. }
  140.  
  141. Event
  142. {
  143.     Name gotem
  144.  
  145.     Trigger Score
  146.     Value 4
  147.  
  148.     Action Enable
  149.     Value returnsuccess
  150.  
  151.     Action Message
  152.     Value
  153.     {
  154.         [Niven] Thanks for the help!
  155.     }
  156. }
  157.  
  158. Event
  159. {
  160.     Name destroy1
  161.  
  162.     Trigger Destroy
  163.     Value Niven
  164.  
  165.     Action Enable
  166.     Value returnfailure
  167.  
  168.     Action Disable
  169.     Value gotem
  170.  
  171.     Action Message
  172.     Value
  173.     {
  174.         [computer] Mission failed.
  175.     }
  176.  
  177.     Action Disable
  178.     Value destroy2
  179. }
  180.  
  181. Event
  182. {
  183.     Name destroy2
  184.  
  185.     Trigger Destroy
  186.     Value Pilgrim
  187.  
  188.     Action Enable
  189.     Value returnfailure
  190.  
  191.     Action Disable
  192.     Value gotem
  193.  
  194.     Action Message
  195.     Value
  196.     {
  197.         [computer] Mission failed.
  198.     }
  199.  
  200.     Action Disable
  201.     Value destroy1
  202. }
  203.  
  204. Event
  205. {
  206.     Name loadsuccess
  207.     Disabled
  208.     Trigger Alarm
  209.     Value 10.0
  210.  
  211.     Action LoadMission
  212.     Value jupiter3.msn
  213. }
  214.  
  215. Event
  216. {
  217.     Name loadfailure
  218.     Disabled
  219.     Trigger Alarm
  220.     Value 10.0
  221.  
  222.     Action LoadMission
  223.     Value jupiter4.msn
  224. }
  225.  
  226. Cursor { IoBase }
  227. Event
  228. {
  229.     Name returnfailure
  230.     Disabled
  231.     Trigger StopNear
  232.     Value 1000
  233.  
  234.     Action Enable
  235.     Value loadfailure
  236.  
  237.     Action Message
  238.     Value
  239.     {
  240.         [IoBase] Mission failed!  Await further orders.
  241.     }
  242. }
  243.  
  244. Event
  245. {
  246.     Name returnsuccess
  247.     Disabled
  248.     Trigger StopNear
  249.     Value 1000
  250.  
  251.     Action Enable
  252.     Value loadsuccess
  253.  
  254.     Action Message
  255.     Value
  256.     {
  257.         [IoBase] Mission Successful!  Await further orders.
  258.     }
  259. }
  260.  
  261.  
  262.