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

  1. /*
  2.  *  Aliens attack Earth!
  3.  */
  4.  
  5. Verbose
  6.  
  7. Include marssci.inc
  8. Waypoint { }
  9.  
  10. Include earthbase.inc
  11. Waypoint { }
  12.  
  13. /* Player */
  14. Cursor { MarsSci -700 +200 }
  15. Player { }
  16.  
  17. /* Solar collector */
  18. Cursor { MarsSci +5000 +0 -5000 }
  19. Include coll1.inc
  20.  
  21. Briefing
  22. {
  23.     Mission:  Target: Earth\\
  24.     The aliens are attacking Earth!! Proceed at once to Earth
  25.     base and defend against the alien forces.
  26. }
  27.  
  28. /* This should be a tough one:  put forces on two sides of earth base */
  29. Cursor { EarthBase +0 +0 +10000 }
  30. Object
  31. {
  32.     Name Destroyer1
  33.     Model dest1.tri
  34.     MaxShields 300
  35.     Weapon 3
  36.     TurnRate 0.1
  37.     Speed 0.02
  38.     Score 1
  39.     Strategy hunt4
  40. }
  41.  
  42. Cursor { +0 +0 +3000 }
  43. Object { Name Alpha1 Model light2.tri Strategy hunt3 Score 1 }
  44. Cursor { +0 +0 -3000 }
  45. Cursor { -2000 +0 -2000 }
  46. Object { Name Alpha2 Model light2.tri Strategy hunt3 Score 1 }
  47. Cursor { +2000 +0 +2000 }
  48. Cursor { +2000 +0 -2000 }
  49. Object { Name Alpha3 Model light2.tri Strategy hunt3 Score 1 }
  50.  
  51. /* And on other side */
  52. Cursor { EarthBase +0 +0 -10000 }
  53. Object
  54. {
  55.     Name Destroyer2
  56.     Model dest1.tri
  57.     MaxShields 300
  58.     Weapon 3
  59.     TurnRate 0.1
  60.     Speed 0.02
  61.     Score 1
  62.     Strategy hunt4
  63. }
  64.  
  65. Cursor { +0 +0 +3000 }
  66. Object { Name Beta1 Model medium1.tri Strategy hunt4 Score 1 }
  67. Cursor { +0 +0 -3000 }
  68. Cursor { -2000 +0 -2000 }
  69. Object { Name Beta2 Model medium1.tri Strategy hunt4 Score 1 }
  70. Cursor { +2000 +0 +2000 }
  71. Cursor { +2000 +0 -2000 }
  72. Object { Name Beta3 Model medium1.tri Strategy hunt4 Score 1 }
  73.  
  74. /* Fail if earthbase destroyed */
  75. Event
  76. {
  77.     Trigger Destroy
  78.     Value EarthBase
  79.  
  80.     Action Enable
  81.     Value loadfailure
  82.  
  83.     Action Message
  84.     Value
  85.     {
  86.         [EarthBase] Aughh!!!
  87.     }
  88. }
  89.  
  90. /* EarthBase is in trouble */
  91. Event
  92. {
  93.     Trigger Shields
  94.     Value { EarthBase 150 }
  95.  
  96.     Action Message
  97.     Value
  98.     {
  99.         [EarthBase] We can't hold out much longer!
  100.     }
  101. }
  102.  
  103. /* Upon approach to earth base */
  104. Cursor { EarthBase }
  105. Event
  106. {
  107.     Trigger Approach
  108.     Value 40000
  109.  
  110.     Action Message
  111.     Value
  112.     {
  113.         [EarthBase] Help!  We're being attacked!
  114.     }
  115. }
  116.  
  117. Event
  118. {
  119.     Name loadsuccess
  120.     Disabled
  121.     Trigger Alarm
  122.     Value 10.0
  123.  
  124.     Action LoadMission
  125.     Value mars5.msn
  126. }
  127.  
  128. Event
  129. {
  130.     Name loadfailure
  131.     Disabled
  132.     Trigger Alarm
  133.     Value 10.0
  134.  
  135.     Action LoadMission
  136.     Value lose.msn
  137. }
  138.  
  139. Cursor { MarsSci }
  140. Event
  141. {
  142.     Name returnfailure
  143.     Disabled
  144.     Trigger StopNear
  145.     Value 1000
  146.  
  147.     Action Enable
  148.     Value loadfailure
  149.  
  150.     Action Message
  151.     Value
  152.     {
  153.         [MarsSci] Mission failed! 
  154.     }
  155.  
  156.     Action Disable
  157.     Value gotem
  158. }
  159.  
  160. Event
  161. {
  162.     Name returnsuccess
  163.     Disabled
  164.     Trigger StopNear
  165.     Value 1000
  166.  
  167.     Action Enable
  168.     Value loadsuccess
  169.  
  170.     Action Message
  171.     Value
  172.     {
  173.         [MarsSci] Mission Successful!  Await further orders.
  174.     }
  175. }
  176.  
  177. Event
  178. {
  179.     Trigger Depart
  180.     Value 10000
  181.  
  182.     Action Enable
  183.     Value returnfailure
  184. }
  185.  
  186. Event
  187. {
  188.     Name gotem
  189.  
  190.     Trigger Score
  191.     Value 8
  192.  
  193.     Action Enable
  194.     Value returnsuccess
  195.  
  196.     Action Disable
  197.     Value returnfailure
  198.  
  199.     Action Message
  200.     Value
  201.     {
  202.         [EarthBase] Thanks!  The earth is safe thanks to you!
  203.     }
  204. }
  205.  
  206.