Advertisement
Pr0nogo

Untitled

Aug 1st, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.35 KB | None | 0 0
  1. Trigger("P1 Raynor | P2 Magistrate"){
  2. Conditions:
  3. Always();
  4.  
  5. Actions:
  6. Comment("F1 | Alliances, mission objectives, starting resources/vision, intro A");
  7. Remove Unit("All players", "Map Revealer");
  8. Set Mission Objectives("TERRAN 10: \"THE HAMMER FALLS\"\r\n- Destroy the Ion Cannon.\r\n- Raynor and The Cartographer must survive.");
  9. Set Alliance Status("Player 3", Ally);
  10. Set Resources("P1 Raynor | P2 Magistrate", Set To, 350, ore);
  11. Set Resources("P1 Raynor | P2 Magistrate", Set To, 150, gas);
  12. Wait(500);
  13. Mute Unit Speech();
  14. Wait(250);
  15. Transmission(Don't Always Display, " RAYNOR\r\n Well, Commander, it looks like we're on our\r\n own. It's funny... It seems like yesterday\r\n Arcturus was the idealistic rebel crusader. \r\n Now he's the law, and we're the criminals.", "Jim Raynor (Marine)", "Anywhere", Subtract, 0, "staredit\\wav\\TCM00ura.wav", 11611);
  16. Transmission(Don't Always Display, " RAYNOR\r\n Damnit! I shouldn't have let her go alone.", "Jim Raynor (Marine)", "Anywhere", Subtract, 0, "staredit\\wav\\TCM01ura.wav", 3426);
  17. Wait(500);
  18. Unmute Unit Speech();
  19. Wait(2000);
  20. Mute Unit Speech();
  21. Set Switch("IntroB", set);
  22. }
  23.  
  24. //-----------------------------------------------------------------//
  25.  
  26. Trigger("P1 Raynor | P2 Magistrate"){
  27. Conditions:
  28. Switch("IntroB", set);
  29.  
  30. Actions:
  31. Comment("F1 | Intro B");
  32. Wait(250);
  33. Transmission(Don't Always Display, " ADJUTANT\r\n Receiving incoming transmission.", "Terran Command Center", "_AI]P8-TyrianProtoss", Subtract, 0, "staredit\\wav\\TCB02tad.wav", 2424);
  34. Create Unit("P1 Raynor | P2 Magistrate", "Map Revealer", 1, "_AI]P4-RedSoK");
  35. Create Unit("P1 Raynor | P2 Magistrate", "Map Revealer", 1, "_AI]P5-BrownSoK");
  36. Create Unit("P1 Raynor | P2 Magistrate", "Map Revealer", 1, "_AI]P6-WhiteSoK");
  37. Minimap Ping("_AI]P4-RedSoK");
  38. Minimap Ping("_AI]P5-BrownSoK");
  39. Minimap Ping("_AI]P6-WhiteSoK");
  40. Transmission(Don't Always Display, " DUKE\r\n Protoss commander, you are in violation of\r\n our airspace! I order you to withdraw your\r\n ships immediately!", "Norad II (Battlecruiser)", "_AI]P8-TyrianProtoss", Subtract, 0, "staredit\\wav\\P5M00udu.wav", 8560);
  41. Transmission(Don't Always Display, " ADJUTANT\r\n Commander, I have an incoming transmission\r\n from the Protoss flagship Gantrithor.", "Terran Command Center", "_AI]P8-TyrianProtoss", Subtract, 0, "staredit\\wav\\t7m20tad.wav", 5000);
  42. Transmission(Don't Always Display, " RAYNOR\r\n Oh man... Stay alert, people! These guys\r\n play hardball.", "Jim Raynor (Marine)", "Anywhere", Subtract, 0, "staredit\\wav\\t7m21ura.wav", 5357);
  43. Create Unit("P1 Raynor | P2 Magistrate", "Map Revealer", 1, "_AI]P7-UltramarineProtoss");
  44. Create Unit("P1 Raynor | P2 Magistrate", "Map Revealer", 1, "_AI]P8-TyrianProtoss");
  45. Minimap Ping("_AI]P7-UltramarineProtoss");
  46. Minimap Ping("_AI]P8-TyrianProtoss");
  47. Transmission(Don't Always Display, " TASSADAR\r\n Terran commander, I am Tassadar. Whatever\r\n leniancy I extended to you and your comrades\r\n before, may have been in error. We will burn\r\n your pathetic fleet down to the last man!", "Gantrithor (Carrier)", "_AI]P8-TyrianProtoss", Subtract, 0, "staredit\\wav\\P5M03uta.wav", 15575);
  48. Transmission(Don't Always Display, " DUKE\r\n I'm gonna have to assume that was a hostile\r\n response...", "Norad II (Battlecruiser)", "_AI]P8-TyrianProtoss", Add, 350, "staredit\\wav\\P5M04udu.wav", 4426);
  49. Play WAV("sound\\Terran\\bldg\\tplwht00.WAV", 3190);
  50. Minimap Ping("Center]Cannon");
  51. Wait(2250);
  52. Transmission(Don't Always Display, " ADJUTANT\r\n It appears that General Duke has successfully\r\n activated Tarsonis' primary defensive weapon,\r\n the Ion Cannon. The cannon must be shut down\r\n if any escape attempt is to be made.", "Terran Command Center", "_AI]P8-TyrianProtoss", Subtract, 0, "staredit\\wav\\TCM20tad.wav", 11695);
  53. Wait(500);
  54. Unmute Unit Speech();
  55. Remove Unit("All players", "Map Revealer");
  56. Set Deaths("Player 1", "Ackmed Saugatuck (Firebat)", Set To, 1);
  57. }
  58.  
  59. //-----------------------------------------------------------------//
  60.  
  61. Trigger("P1 Raynor | P2 Magistrate"){
  62. Conditions:
  63. Deaths("P1 Raynor | P2 Magistrate", "Jim Raynor (Marine)", At least, 1);
  64.  
  65. Actions:
  66. Comment("F1 | Defeat, Raynor");
  67. Wait(1000);
  68. Display Text Message(Don't Always Display, " Raynor has been killed.");
  69. Wait(3000);
  70. Defeat();
  71. }
  72.  
  73. //-----------------------------------------------------------------//
  74.  
  75. Trigger("P1 Raynor | P2 Magistrate"){
  76. Conditions:
  77. Deaths("P1 Raynor | P2 Magistrate", "Magellan (Science Vessel)", At least, 1);
  78.  
  79. Actions:
  80. Comment("F1 | Defeat, Magistrate");
  81. Wait(1000);
  82. Display Text Message(Don't Always Display, " The Cartographer has been destroyed.");
  83. Wait(3000);
  84. Defeat();
  85. }
  86.  
  87. //-----------------------------------------------------------------//
  88.  
  89. Trigger("P1 Raynor | P2 Magistrate"){
  90. Conditions:
  91. Command("All players", "Ion Cannon", At most, 0);
  92.  
  93. Actions:
  94. Comment("F1 | Victory (incomplete)");
  95. Set Invincibility("All players", "Jim Raynor (Marine)", "Anywhere", enabled);
  96. Set Invincibility("All players", "Magellan (Science Vessel)", "Anywhere", enabled);
  97. Wait(1500);
  98. Mute Unit Speech();
  99. Wait(500);
  100. Wait(500);
  101. Unmute Unit Speech();
  102. Wait(1000);
  103. Victory();
  104. }
  105.  
  106. //-----------------------------------------------------------------//
  107.  
  108. Trigger("Player 1"){
  109. Conditions:
  110. Always();
  111.  
  112. Actions:
  113. Comment("P1 | Set `SP`");
  114. Set Switch("SP", set);
  115. }
  116.  
  117. //-----------------------------------------------------------------//
  118.  
  119. Trigger("Player 2"){
  120. Conditions:
  121. Switch("SP", set);
  122.  
  123. Actions:
  124. Comment("P2 | Clear `SP`");
  125. Set Switch("SP", clear);
  126. }
  127.  
  128. //-----------------------------------------------------------------//
  129.  
  130. Trigger("Player 2"){
  131. Conditions:
  132. Command("Player 2", "Men", At least, 1);
  133.  
  134. Actions:
  135. Comment("P2 | Give second base to P2");
  136. Remove Unit("Player 2", "Men");
  137. Give Units to Player("Player 12", "Player 2", "Any unit", All, "Intro]P2Base");
  138. Give Units to Player("Player 2", "Player 12", "Mineral Field (Type 1)", All, "Anywhere");
  139. Give Units to Player("Player 2", "Player 12", "Mineral Field (Type 2)", All, "Anywhere");
  140. Give Units to Player("Player 2", "Player 12", "Mineral Field (Type 3)", All, "Anywhere");
  141. }
  142.  
  143. //-----------------------------------------------------------------//
  144.  
  145. Trigger("Player 1"){
  146. Conditions:
  147. Command("Player 2", "Men", Exactly, 0);
  148. Switch("SP", set);
  149.  
  150. Actions:
  151. Comment("P1 | Give second base to P1");
  152. Give Units to Player("Player 12", "Player 1", "Any unit", All, "Intro]P2Base");
  153. Give Units to Player("Player 1", "Player 12", "Mineral Field (Type 1)", All, "Anywhere");
  154. Give Units to Player("Player 1", "Player 12", "Mineral Field (Type 2)", All, "Anywhere");
  155. Give Units to Player("Player 1", "Player 12", "Mineral Field (Type 3)", All, "Anywhere");
  156. }
  157.  
  158. //-----------------------------------------------------------------//
  159.  
  160. Trigger("Player 4"){
  161. Conditions:
  162. Always();
  163.  
  164. Actions:
  165. Comment("P4 | Red SoK AI");
  166. ; Run AI Script At Location("PB4E", "_AI]P4-RedSoK");
  167. Run AI Script At Location("EnBk", "_Bunker]P401");
  168. Run AI Script At Location("EnBk", "_Bunker]P402");
  169. Set Resources("Current Player", Set To, 2000, ore and gas);
  170. Order("Current Player", "Terran Battlecruiser", "Patrols]BC1A", "Patrols]BC1B", patrol);
  171. Order("Current Player", "Terran Battlecruiser", "Patrols]BC2A", "Patrols]BC2B", patrol);
  172. }
  173.  
  174. //-----------------------------------------------------------------//
  175.  
  176. Trigger("Player 5"){
  177. Conditions:
  178. Always();
  179.  
  180. Actions:
  181. Comment("P5 | Brown SoK AI");
  182. ; Run AI Script At Location("Tr9L", "_AI]P5-BrownSoK");
  183. Set Resources("Current Player", Set To, 2000, ore and gas);
  184. }
  185.  
  186. //-----------------------------------------------------------------//
  187.  
  188. Trigger("Player 6"){
  189. Conditions:
  190. Always();
  191.  
  192. Actions:
  193. Comment("P6 | White SoK AI");
  194. ; Run AI Script At Location("PB3A", "_AI]P6-WhiteSoK");
  195. Set Resources("Current Player", Set To, 2000, ore and gas);
  196. }
  197.  
  198. //-----------------------------------------------------------------//
  199.  
  200. Trigger("Player 7"){
  201. Conditions:
  202. Always();
  203.  
  204. Actions:
  205. Comment("P7 | Ultramarine protoss AI");
  206. ; Run AI Script At Location("PB4B", "_AI]P7-UltramarineProtoss");
  207. Set Resources("Current Player", Set To, 2000, ore and gas);
  208. }
  209.  
  210. //-----------------------------------------------------------------//
  211.  
  212. Trigger("Player 8"){
  213. Conditions:
  214. Always();
  215.  
  216. Actions:
  217. Comment("P8 | Tyrian protoss AI");
  218. ; Run AI Script At Location("PB3F", "_AI]P8-TyrianProtoss");
  219. Set Resources("Current Player", Set To, 2000, ore and gas);
  220. }
  221.  
  222. //-----------------------------------------------------------------//
  223.  
  224. Trigger("Player 7","Player 8"){
  225. Conditions:
  226. Deaths("All players", "Alan Schezar (Goliath)", Exactly, 0);
  227. Elapsed Time(At least, 5);
  228.  
  229. Actions:
  230. Comment("P7, P8 | Hypertrigger");
  231. ; Set Deaths("Current Player", "Alan Schezar (Goliath)", Set To, 1);
  232. ; Wait(0);
  233. ; Set Deaths("Current Player", "Alan Schezar (Goliath)", Set To, 0);
  234. ; Wait(0);
  235. ; Preserve Trigger();
  236. }
  237.  
  238. //-----------------------------------------------------------------//
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement