Advertisement
Guest User

_killstreaks.gsc

a guest
May 14th, 2011
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.42 KB | None | 0 0
  1. #include maps\mp\gametypes\_hud_util;
  2. #include maps\mp\_utility;
  3. #include common_scripts\utility;
  4.  
  5. doKillstreaks()
  6. {
  7. self endon ("death");
  8.  
  9. self.startscore = self.pers["kills"];
  10.  
  11. while(1) {
  12. if(self.killcount != self.pers["kills"] - self.startscore) {
  13. self.killcount = self.pers["kills"] - self.startscore;
  14. switch(self.killcount)
  15. {
  16. case 3:
  17. self notify("newstreak");
  18. self thread extrahealth();
  19. break;
  20. case 4:
  21. self notify("newstreak");
  22. self thread norecoil();
  23. break;
  24. case 6:
  25. self notify("newstreak");
  26. self thread rage();
  27. break;
  28. case 8:
  29. self notify("newstreak");
  30. self thread artillery();
  31. break;
  32. case 20:
  33. self notify("newstreak");
  34. self thread walkingac130();
  35. break
  36. case 30:
  37. self notify("newstreak");
  38. self thread glpistols();
  39. break;
  40. case 40:
  41. self notify("newstreak");
  42. self thread sonicspeed();
  43. break;
  44. case 50:
  45. self notify("newstreak");
  46. self thread testbot();
  47. break;
  48. case 60:
  49. self notify("newstreak");
  50. self thread timecontrol();
  51. break;
  52. case 70:
  53. self notify("newstreak");
  54. self thread nukegun();
  55. break;
  56. case 80:
  57. self notify("newstreak");
  58. self thread bombstrike();
  59. break;
  60. case 90:
  61. self notify("newstreak");
  62. self thread ghost();
  63. break;
  64. case 100:
  65. self notify("newstreak");
  66. self thread ultimatekillstreak();
  67. break;
  68. }
  69. }
  70. wait 0.05;
  71. }
  72. }
  73.  
  74. extrahealth()
  75. {
  76. self.maxhealth=300;
  77. self.health = self.maxhealth;
  78. wait 0.5;
  79. self iPrintlnBold("^73 KILLSTREAK EXTRA HEALTH");
  80. wait 20;
  81. self.maxhealth=100;
  82. self.health = self.maxhealth;
  83. self iPrintlnBold("^7KILLSTREAK ENDED");
  84. }
  85.  
  86. norecoil()
  87. {
  88. self player_recoilScaleOn(0);
  89. wait 0.5;
  90. self iPrintlnBold("^74 KILLSTREAK N0 R3C01L");
  91. wait 15;
  92. self player_recoilScaleOn(1);
  93. self iPrintlnBold("^7KILLSTREAK ENDED");
  94. }
  95.  
  96. rage()
  97. {
  98. self iPrintlnBold("^76 KILLSTREAK RAGE");
  99. wait 0.5;
  100. self giveWeapon("ranger_akimbo_mp", 0, true);
  101. wait 0.5;
  102. self _setperk("specialty_scavenger");
  103. self _setperk("specialty_fastreload");
  104. self switchtoweapon( "ranger_akimbo_mp");
  105. self.moveSpeedScaler = 2.5;
  106. self.maxhealth = 500;
  107. self.health = self.maxhealth;
  108. wait 20;
  109. self takeWeapon("ranger_akimbo_mp");
  110. wait 0.5;
  111. self.moveSpeedScaler = 1;
  112. self.maxhealth = 100;
  113. self.health = self.maxhealth;
  114. self iPrintlnBold("^7KILLSTREAK ENDED");
  115. }
  116.  
  117. artillery()
  118. {
  119. self giveWeapon( "rpg_mp");
  120. wait 0.5;
  121. self setDvar( "jump_height", 1000 );
  122. self iPrintlnBold("^78 KILLSTREAK ARTILLERY JUMP NOW!");
  123. wait 5;
  124. setDvar( "g_gravity", 1 );
  125. self switchToWeapon("rpg_mp");
  126. self.maxhealth=-1;
  127. self.health = self.maxhealth;;
  128. wait 40;
  129. setDvar( "jump_height", 39 );
  130. setDvar( "g_gravity", 100 );
  131. self takeWeapon("rpg_mp");
  132. wait 10;
  133. setDvar( "g_gravity", 800 );
  134. self iPrintlnBold( "^7KILLSTREAK ENDED");
  135. }
  136.  
  137. walkingac130()
  138. {
  139. self giveWeapon( "ac130_25mm_mp");
  140. self giveWeapon( "ac130_40mm_mp");
  141. self giveWeapon( "ac130_105mm_mp");
  142. wait 0.5;
  143. self switchToWeapon("ac130_25mm_mp");
  144. self.maxhealth=1000;
  145. self.health = self.maxhealth;
  146. self.moveSpeedScaler=1.2;
  147. wait 0.5;
  148. self iPrintlnBold( "^720 KILLSTREAK WALKING AC130");
  149. wait 30;
  150. self takeWeapon("ac130_25mm_mp");
  151. self takeWeapon("ac130_40mm_mp");
  152. self takeWeapon("ac130_105mm_mp");
  153. self.maxhealth=100;
  154. self.health = self.maxhealth;
  155. self.moveSpeedScaler=1;
  156. self iPrintlnBold( "^7KILLSTREAK ENDED");
  157. }
  158.  
  159. glpistols()
  160. {
  161. self giveWeapon( "usp_akimbo_mp", 0, true);
  162. self thread maps\mp\gametypes\_superweapons::superweapon1();
  163. wait 0.5;
  164. self switchToWeapon("usp_akimbo_mp");
  165. self.maxhealth=400;
  166. self.health = self.maxhealth;
  167. self.moveSpeedScaler=1.5;
  168. wait 0.5;
  169. self iPrintlnBold( "^730 KILLSTREAK GL PISTOLS");
  170. wait 25;
  171. self takeWeapon("usp_akimbo_mp");
  172. self.maxhealth=100;
  173. self.health = self.maxhealth;
  174. self.moveSpeedScaler=1;
  175. self iPrintlnBold( "^7KILLSTREAK ENDED");
  176. }
  177.  
  178. sonicspeed()
  179. {
  180. self.maxhealth=250;
  181. self.health = self.maxhealth;
  182. self _setperk("specialty_fastreload");
  183. self.moveSpeedScaler=2.5;
  184. wait 0.5;
  185. self giveWeapon( "usp_tactical_mp");
  186. self _setperk("specialty_extendedmelee");
  187. self setDvar( "player_meleeRange", 999 );
  188. self iPrintlnBold( "^740 KILLSTREAK SONIC SPEED");
  189. wait 35;
  190. self.moveSpeedScaler=1;
  191. wait 0.5;
  192. self takeWeapon( "usp_tactical_mp");
  193. self setDvar( "player_meleeRange", 5 );
  194. self iPrintlnBold( "^7KILLSTREAK ENDED");
  195. }
  196.  
  197. testbot()
  198. {
  199. self giveWeapon( "mg4_acog_xmags_mp");
  200. self switchToWeapon("mg4_acog_xmags_mp");
  201. self.maxhealth=1000;
  202. self.health = self.maxhealth;
  203. self _setperk("specialty_scavenger");
  204. wait 0.5;
  205. self player_recoilScaleOn(0);
  206. self iPrintlnBold( "^750 KILLSTREAK TESTBOT");
  207. wait 50;
  208. self takeWeapon( "mg4_acog_xmags_mp");
  209. self.maxhealth=100;
  210. self.health = self.maxhealth;
  211. self player_recoilScaleOn(1);
  212. self iPrintlnBold( "^7KILLSTREAK ENDED");
  213. }
  214.  
  215. timecontrol()
  216. {
  217. setDvar( "timescale", 0.65 );
  218. self setDvar( "timescale", 10 );
  219. self iPrintlnBold( "^760 KILLSTREAK TIME CONTROL");
  220. wait 30;
  221. setDvar( "timescale", 10 );
  222. self iPrintlnBold( "^7KILLSTREAK ENDED");
  223. }
  224.  
  225. nukegun()
  226. {
  227. self giveWeapon( "at4_mp");
  228. self.maxhealth=-1;
  229. self.health = self.maxhealth;
  230. self thread maps\mp\gametypes\_superweapons::superweapon2();
  231. self iPrintlnBold( "^770 KILLSTREAK NUKE GUN");
  232. wait 20;
  233. self.maxhealth=100;
  234. self.health = self.maxhealth;
  235. self takeWeapon( "at4_mp");
  236. self iPrintlnBold( "^7KILLSTREAK ENDED");
  237. }
  238.  
  239. bombstrike()
  240. {
  241. self giveWeapon( "kriss_akimbo_mp");
  242. self thread maps\mp\gametypes\_superweapons::superweapon3();
  243. self setDvar( "jump_height", 1000 );
  244. self iPrintlnBold("^780 KILLSTREAK BOMBSTRIKE JUMP NOW!");
  245. wait 5;
  246. setDvar( "g_gravity", 1 );
  247. self switchToWeapon("kriss_akimbo_mp");
  248. self.maxhealth=-1;
  249. self.health = self.maxhealth;
  250. wait 35;
  251. self takeWeapon( "kriss_akimbo_mp");
  252. self.maxhealth=100;
  253. self.health = self.maxhealth;
  254. self iPrintlnBold("^7KILLSTREAK ENDED");
  255. }
  256.  
  257. ghost()
  258. {
  259. self hide();
  260. self iPrintlnBold("^790 KILLSTREAK GHOST YOURE INVISIBLE");
  261. wait 60;
  262. self show();
  263. self iPrintlnBold("^7KILLSTREAK ENDED");
  264. }
  265.  
  266. ultimatekillstreak()
  267. {
  268. self giveWeapon( "uzi_akimbo_mp");
  269. self thread maps\mp\gametypes\_superweapons::superweapon4();
  270. self setDvar( "jump_height", 1000 );
  271. self iPrintlnBold("^7100 KILLSTREAK ULTIMATE KILLSTREAK JUMP NOW!");
  272. wait 5;
  273. setDvar( "g_gravity", 1 );
  274. self switchToWeapon("uzi_akimbo_mp");
  275. self.maxhealth=-1;
  276. self.health = self.maxhealth;
  277. wait 180;
  278. self takeWeapon( "uzi_akimbo_mp");
  279. self.maxhealth=100;
  280. self.health = self.maxhealth;
  281. self iPrintlnBold("^7CONGRATULATIONS YOU MADE IT (*_*)");
  282. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement