Advertisement
body_guard

MapEdit.gsc

Sep 21st, 2011
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.37 KB | None | 0 0
  1. #include common_scripts\utility;
  2. #include maps\mp\_utility;
  3. #include maps\mp\gametypes\_hud_util;
  4. init()
  5. {
  6. level.doCustomMap = 0;
  7. level.doorwait = 0.3;
  8. level.elevator_model["enter"] = maps\mp\gametypes\_teams::getTeamFlagModel( "allies" );
  9. level.elevator_model["exit"] = maps\mp\gametypes\_teams::getTeamFlagModel( "axis" );
  10. precacheModel( level.elevator_model["enter"] );
  11. precacheModel( level.elevator_model["exit"] );
  12. wait 1;
  13. if(getDvar("mapname") == "mp_afghan")
  14. {
  15. /** Afghan **/ level thread Afghan();
  16. level.doCustomMap = 1;
  17. }
  18. if(getDvar("mapname") == "mp_boneyard")
  19. {
  20. /** Scrapyard **/ level thread Scrapyard();
  21. level.doCustomMap = 1;
  22. }
  23. if(getDvar("mapname") == "mp_brecourt")
  24. {
  25. /** Wasteland **/ level thread Wasteland();
  26. level.doCustomMap = 1;
  27. }
  28. if(getDvar("mapname") == "mp_checkpoint")
  29. {
  30. /** Karachi **/ level thread Karachi();
  31. level.doCustomMap = 1;
  32. }
  33. if(getDvar("mapname") == "mp_derail")
  34. {
  35. /** Derail **/ level thread Derail();
  36. level.doCustomMap = 1;
  37. }
  38. if(getDvar("mapname") == "mp_estate")
  39. {
  40. /** Estate **/ level thread Estate();
  41. level.doCustomMap = 1;
  42. }
  43. if(getDvar("mapname") == "mp_favela")
  44. {
  45. /** Favela **/ level thread Favela();
  46. level.doCustomMap = 1;
  47. }
  48. if(getDvar("mapname") == "mp_highrise")
  49. {
  50. /** HighRise **/ level thread HighRise();
  51. level.doCustomMap = 1;
  52. }
  53. if(getDvar("mapname") == "mp_nightshift")
  54. {
  55. /** Skidrow **/ level thread Skidrow();
  56. level.doCustomMap = 1;
  57. }
  58. if(getDvar("mapname") == "mp_invasion")
  59. {
  60. /** Invasion **/ level thread Invasion();
  61. level.doCustomMap = 1;
  62. }
  63. if(getDvar("mapname") == "mp_quarry")
  64. {
  65. /** Quarry **/ level thread Quarry();
  66. level.doCustomMap = 1;
  67. }
  68. if(getDvar("mapname") == "mp_rundown")
  69. {
  70. /** Rundown **/ level thread Rundown();
  71. level.doCustomMap = 1;
  72. }
  73. if(getDvar("mapname") == "mp_rust")
  74. {
  75. /** Rust **/ level thread Rust();
  76. level.doCustomMap = 1;
  77. }
  78. if(getDvar("mapname") == "mp_subbase")
  79. {
  80. /** SubBase **/ level thread SubBase();
  81. level.doCustomMap = 1;
  82. }
  83. if(getDvar("mapname") == "mp_terminal")
  84. {
  85. /** Terminal **/ level thread Terminal();
  86. level.doCustomMap = 1;
  87. }
  88. if(getDvar("mapname") == "mp_underpass")
  89. {
  90. /** Underpass **/ level thread Underpass();
  91. level.doCustomMap = 1;
  92. }
  93. if(level.doCustomMap == 1)
  94. {
  95. level.gameState = "starting";
  96. level thread CreateMapWait();
  97. }
  98. else
  99. {
  100. level.gameState = "starting";
  101. wait 15;
  102. level notify("CREATED");
  103. }
  104. }
  105. CreateMapWait()
  106. {
  107. for(i = 10;i > 0;i--)
  108. {
  109. level.TimerText destroy();
  110. level.TimerText = level createServerFontString( "objective", 1.5 );
  111. level.TimerText setPoint( "CENTER", "CENTER", 0, -100 );
  112. level.TimerText setText("^3Wait for the map to be created: " + i);
  113. foreach(player in level.players)
  114. {
  115. player freezeControls(true);
  116. player VisionSetNakedForPlayer("mpIntro", 0);
  117. }
  118. wait 1;
  119. }
  120. level notify("CREATED");
  121. foreach(player in level.players)
  122. {
  123. player freezeControls(false);
  124. player VisionSetNakedForPlayer(getDvar("mapname"), 0);
  125. }
  126. level.TimerText destroy();
  127. }
  128. CreateElevator(enter, exit, angle)
  129. {
  130. flag = spawn( "script_model", enter );
  131. flag setModel( level.elevator_model["enter"] );
  132. wait 0.01;
  133. flag = spawn( "script_model", exit );
  134. flag setModel( level.elevator_model["exit"] );
  135. wait 0.01;
  136. self thread ElevatorThink(enter, exit, angle);
  137. }
  138. CreateBlocks(pos, angle)
  139. {
  140. block = spawn("script_model", pos );
  141. block setModel("com_plasticcase_friendly");
  142. block.angles = angle;
  143. block Solid();
  144. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  145. wait 0.01;
  146. }
  147. CreateDoors(open, close, angle, size, height, hp, range)
  148. {
  149. offset = (((size / 2) - 0.5) * -1);
  150. center = spawn("script_model", open );
  151. for(j = 0;j < size;j++)
  152. {
  153. door = spawn("script_model", open + ((0, 30, 0) * offset));
  154. door setModel("com_plasticcase_enemy");
  155. door Solid();
  156. door CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  157. door EnableLinkTo();
  158. door LinkTo(center);
  159. for(h = 1;h < height;h++)
  160. {
  161. door = spawn("script_model", open + ((0, 30, 0) * offset) - ((70, 0, 0) * h));
  162. door setModel("com_plasticcase_enemy");
  163. door Solid();
  164. door CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  165. door EnableLinkTo();
  166. door LinkTo(center);
  167. }
  168. offset += 1;
  169. }
  170. center.angles = angle;
  171. center.state = "open";
  172. center.hp = hp;
  173. center.range = range;
  174. center thread DoorThink(open, close, hp);
  175. center thread DoorUse(hp);
  176. center thread ResetDoors(open, hp);
  177. wait 0.01;
  178. }
  179. CreateRamps(top, bottom)
  180. {
  181. D = Distance(top, bottom);
  182. blocks = roundUp(D/30);
  183. CX = top[0] - bottom[0];
  184. CY = top[1] - bottom[1];
  185. CZ = top[2] - bottom[2];
  186. XA = CX/blocks;
  187. YA = CY/blocks;
  188. ZA = CZ/blocks;
  189. CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
  190. Temp = VectorToAngles(top - bottom);
  191. BA = (Temp[2], Temp[1] + 90, Temp[0]);
  192. for(b = 0;b < blocks;b++)
  193. {
  194. block = spawn("script_model", (bottom + ((XA, YA, ZA) * b)));
  195. block setModel("com_plasticcase_friendly");
  196. block.angles = BA;
  197. block Solid();
  198. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  199. wait 0.01;
  200. }
  201. block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
  202. block setModel("com_plasticcase_friendly");
  203. block.angles = (BA[0], BA[1], 0);
  204. block Solid();
  205. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  206. wait 0.01;
  207. }
  208. CreateGrids(corner1, corner2, angle)
  209. {
  210. W = Distance((corner1[0], 0, 0), (corner2[0], 0, 0));
  211. L = Distance((0, corner1[1], 0), (0, corner2[1], 0));
  212. H = Distance((0, 0, corner1[2]), (0, 0, corner2[2]));
  213. CX = corner2[0] - corner1[0];
  214. CY = corner2[1] - corner1[1];
  215. CZ = corner2[2] - corner1[2];
  216. ROWS = roundUp(W/55);
  217. COLUMNS = roundUp(L/30);
  218. HEIGHT = roundUp(H/20);
  219. XA = CX/ROWS;
  220. YA = CY/COLUMNS;
  221. ZA = CZ/HEIGHT;
  222. center = spawn("script_model", corner1);
  223. for(r = 0;r <= ROWS;r++)
  224. {
  225. for(c = 0;c <= COLUMNS;c++)
  226. {
  227. for(h = 0;h <= HEIGHT;h++)
  228. {
  229. block = spawn("script_model", (corner1 + (XA * r, YA * c, ZA * h)));
  230. block setModel("com_plasticcase_friendly");
  231. block.angles = (0, 0, 0);
  232. block Solid();
  233. block LinkTo(center);
  234. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  235. wait 0.01;
  236. }
  237. }
  238. }
  239. center.angles = angle;
  240. }
  241. CreateWalls(start, end)
  242. {
  243. D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
  244. H = Distance((0, 0, start[2]), (0, 0, end[2]));
  245. blocks = roundUp(D/55);
  246. height = roundUp(H/30);
  247. CX = end[0] - start[0];
  248. CY = end[1] - start[1];
  249. CZ = end[2] - start[2];
  250. XA = (CX/blocks);
  251. YA = (CY/blocks);
  252. ZA = (CZ/height);
  253. TXA = (XA/4);
  254. TYA = (YA/4);
  255. Temp = VectorToAngles(end - start);
  256. Angle = (0, Temp[1], 90);
  257. for(h = 0;h < height;h++)
  258. {
  259. block = spawn("script_model", (start + (TXA, TYA, 10) + ((0, 0, ZA) * h)));
  260. block setModel("com_plasticcase_friendly");
  261. block.angles = Angle;
  262. block Solid();
  263. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  264. wait 0.001;
  265. for(i = 1;i < blocks;i++)
  266. {
  267. block = spawn("script_model", (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h)));
  268. block setModel("com_plasticcase_friendly");
  269. block.angles = Angle;
  270. block Solid();
  271. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  272. wait 0.001;
  273. }
  274. block = spawn("script_model", ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h)));
  275. block setModel("com_plasticcase_friendly");
  276. block.angles = Angle;
  277. block Solid();
  278. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  279. wait 0.001;
  280. }
  281. }
  282. CreateCluster(amount, pos, radius)
  283. {
  284. for(i = 0;i < amount;i++)
  285. {
  286. half = radius / 2;
  287. power = ((randomInt(radius) - half), (randomInt(radius) - half), 500);
  288. block = spawn("script_model", pos + (0, 0, 1000) );
  289. block setModel("com_plasticcase_friendly");
  290. block.angles = (90, 0, 0);
  291. block PhysicsLaunchServer((0, 0, 0), power);
  292. block Solid();
  293. block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
  294. block thread ResetCluster(pos, radius);
  295. wait 0.05;
  296. }
  297. }
  298. ElevatorThink(enter, exit, angle)
  299. {
  300. self endon("disconnect");
  301. while(1)
  302. {
  303. foreach(player in level.players)
  304. {
  305. if(Distance(enter, player.origin) <= 50)
  306. {
  307. player SetOrigin(exit);
  308. player SetPlayerAngles(angle);
  309. }
  310. }
  311. wait .25;
  312. }
  313. }
  314. DoorThink(open, close, hp)
  315. {
  316. while(1)
  317. {
  318. if(self.hp > 0 && self.state != "broken")
  319. {
  320. self waittill ( "triggeruse" , player );
  321. if(player.team == "allies")
  322. {
  323. if(self.state == "open")
  324. {
  325. self MoveTo(close, level.doorwait);
  326. wait level.doorwait;
  327. self.state = "close";
  328. continue;
  329. }
  330. if(self.state == "close")
  331. {
  332. self MoveTo(open, level.doorwait);
  333. wait level.doorwait;
  334. self.state = "open";
  335. continue;
  336. }
  337. }
  338. if(player.team == "axis")
  339. {
  340. if(self.state == "close")
  341. {
  342. self.hp--;
  343. player iPrintlnBold("DOOR HIT: " + self.hp + "/" + hp);
  344. wait 1;
  345. continue;
  346. }
  347. }
  348. }
  349. else if(self.hp == 0 && self.state != "broken")
  350. {
  351. if(self.state == "close")
  352. {
  353. self MoveTo(open, level.doorwait);
  354. }
  355. self.state = "broken";
  356. wait .5;
  357. }
  358. else if(self.hp == 0 && self.state == "broken")
  359. {
  360. self waittill ( "triggeruse" , player );
  361. if(player.team == "allies")
  362. {
  363. if(player.bounty >= (10 * hp))
  364. {
  365. player.bounty -= (10 * hp);
  366. self MoveTo(close, level.doorwait);
  367. wait level.doorwait;
  368. self.state = "close";
  369. self.hp = hp;
  370. continue;
  371. player notify("CASH");
  372. }
  373. else
  374. {
  375. player iPrintlnBold("^1Not Enough ^3Cash");
  376. }
  377. }
  378. }
  379. }
  380. }
  381. DoorUse(hp, range)
  382. {
  383. self endon("disconnect");
  384. while(1)
  385. {
  386. foreach(player in level.players)
  387. {
  388. if(Distance(self.origin, player.origin) <= self.range)
  389. {
  390. if(player.team == "allies")
  391. {
  392. if(self.state == "open")
  393. {
  394. player.hint = "Press ^3[{+activate}] ^7to ^2Close ^7the door";
  395. }
  396. if(self.state == "close")
  397. {
  398. player.hint = "Press ^3[{+activate}] ^7to ^2Open ^7the door";
  399. }
  400. if(self.state == "broken")
  401. {
  402. player.hint = "Press ^3[{+activate}] ^7to ^2Fix ^7the door - ^2" + (10 * hp);
  403. }
  404. }
  405. if(player.team == "axis")
  406. {
  407. if(self.state == "close")
  408. {
  409. player.hint = "Press ^3[{+activate}] ^7to ^2Attack ^7the door";
  410. }
  411. if(self.state == "broken")
  412. {
  413. player.hint = "^1Door is Broken";
  414. }
  415. }
  416. if(player.buttonPressed[ "+activate" ] == 1)
  417. {
  418. player.buttonPressed[ "+activate" ] = 0;
  419. self notify( "triggeruse" , player);
  420. }
  421. }
  422. }
  423. wait .045;
  424. }
  425. }
  426. ResetDoors(open, hp)
  427. {
  428. while(1)
  429. {
  430. level waittill("RESETDOORS");
  431. self.hp = hp;
  432. self MoveTo(open, level.doorwait);
  433. self.state = "open";
  434. }
  435. }
  436. ResetCluster(pos, radius)
  437. {
  438. wait 5;
  439. self RotateTo(((randomInt(36)*10), (randomInt(36)*10), (randomInt(36)*10)), 1);
  440. level waittill("RESETCLUSTER");
  441. self thread CreateCluster(1, pos, radius);
  442. self delete();
  443. }
  444. roundUp( floatVal )
  445. {
  446. if ( int( floatVal ) != floatVal ) return int( floatVal+1 );
  447. else return int( floatVal );
  448. }
  449. Afghan()
  450. {
  451. CreateRamps((2280, 1254, 142), (2548, 1168, 33));
  452. CreateDoors((1590, -238, 160), (1590, -168, 160), (90, 0, 0), 2, 2, 5, 50);
  453. CreateDoors((1938, -125, 160), (1938, -15, 160), (90, 0, 0), 4, 2, 15, 75);
  454. CreateDoors((2297, 10, 160), (2297, -100, 160), (90, 0, 0), 4, 2, 10, 75);
  455. CreateDoors((525, 1845, 162), (585, 1845, 162), (90, 90, 0), 2, 2, 5, 50);
  456. CreateDoors((-137, 1380, 226), (-137, 1505, 226), (90, 0, 0), 4, 2, 15, 75);
  457. CreateDoors((820, 1795, 165), (820, 1495, 165), (90, 0, 0), 12, 2, 40, 100);
  458. CreateDoors((2806, 893, 210), (2806, 806, 210), (90, 0, 0), 3, 2, 10, 50);
  459. }
  460. Derail()
  461. {
  462. CreateDoors((-189, 2003, 475), (-135, 2003, 475), (180, 0, 90), 2, 2, 10, 100);
  463. CreateRamps((-124, 2002, 446), (-124, 2189, 332));
  464. CreateGrids((-189, 2003, 442), (-10, 1575, 445), (0, 0, 0));
  465. CreateWalls((-189, 2003, 442), (-189, 2003, 595));
  466. CreateWalls((8, 1575, 445), (-207, 1575, 595));
  467. CreateWalls((8, 2003, 445), (8, 1575, 595));
  468. CreateWalls((-207, 1575, 442), (-207, 2003, 595));
  469. CreateWalls((-189, 2003, 520), (8, 2003, 591));
  470. CreateRamps((-53, 1620, 445), (-207, 1620, 557));
  471. CreateGrids((-189, 1673, 550), (-10, 1970, 550), (0, 0, 0));
  472. CreateElevator((90, -3590, 90) , (-124, 2226, 332), (0, -90, 0));
  473. }
  474. Estate()
  475. {
  476. CreateBlocks((-2378, 782, -130), (90, 0, 0));
  477. CreateBlocks((-2388, 823, -130), (90, 0, 0));
  478. CreateBlocks((-2398, 863, -130), (90, 0, 0));
  479. CreateBlocks((-1098, 2623, 37), (90, 0, 0));
  480. CreateBlocks((-3227, 3483, -101), (90, 0, 0));
  481. CreateBlocks((-371, 919, 245), (0, 100, 90));
  482. CreateBlocks((-383, 991, 245), (0, 100, 90));
  483. CreateBlocks((-371, 919, 275), (0, 100, 90));
  484. CreateBlocks((-383, 991, 275), (0, 100, 90));
  485. CreateBlocks((-371, 919, 305), (0, 100, 90));
  486. CreateBlocks((-383, 991, 305), (0, 100, 90));
  487. CreateBlocks((-371, 919, 335), (0, 100, 90));
  488. CreateBlocks((-383, 991, 335), (0, 100, 90));
  489. CreateBlocks((-349, 1115, 245), (0, 50, 90));
  490. CreateBlocks((-302, 1166, 245), (0, 50, 90));
  491. CreateBlocks((-349, 1115, 275), (0, 50, 90));
  492. CreateBlocks((-302, 1166, 275), (0, 50, 90));
  493. CreateBlocks((-349, 1115, 305), (0, 50, 90));
  494. CreateBlocks((-302, 1166, 305), (0, 50, 90));
  495. CreateBlocks((-349, 1115, 335), (0, 50, 90));
  496. CreateBlocks((-302, 1166, 335), (0, 50, 90));
  497. CreateBlocks((-371, 919, 395), (0, 100, 90));
  498. CreateBlocks((-383, 991, 395), (0, 100, 90));
  499. CreateBlocks((-371, 919, 425), (0, 100, 90));
  500. CreateBlocks((-383, 991, 425), (0, 100, 90));
  501. CreateBlocks((-371, 919, 455), (0, 100, 90));
  502. CreateBlocks((-383, 991, 455), (0, 100, 90));
  503. CreateBlocks((-371, 919, 485), (0, 100, 90));
  504. CreateBlocks((-383, 991, 485), (0, 100, 90));
  505. CreateBlocks((-349, 1115, 395), (0, 50, 90));
  506. CreateBlocks((-302, 1166, 395), (0, 50, 90));
  507. CreateBlocks((-349, 1115, 425), (0, 50, 90));
  508. CreateBlocks((-302, 1166, 425), (0, 50, 90));
  509. CreateBlocks((-349, 1115, 455), (0, 50, 90));
  510. CreateBlocks((-302, 1166, 455), (0, 50, 90));
  511. CreateBlocks((-349, 1115, 485), (0, 50, 90));
  512. CreateBlocks((-302, 1166, 485), (0, 50, 90));
  513. CreateBlocks((-55, 1231, 245), (0, -20, 90));
  514. CreateBlocks((8, 1217, 245), (0, -20, 90));
  515. CreateBlocks((102, 1188, 245), (0, -20, 90));
  516. CreateBlocks((162, 1168, 245), (0, -20, 90));
  517. CreateBlocks((-55, 1231, 275), (0, -20, 90));
  518. CreateBlocks((8, 1217, 275), (0, -20, 90));
  519. CreateBlocks((102, 1188, 275), (0, -20, 90));
  520. CreateBlocks((162, 1168, 275), (0, -20, 90));
  521. CreateBlocks((-3200, 998, -143), (90, 0, 0));
  522. CreateBlocks((-3200, 1028, -143), (90, 0, 0));
  523. CreateBlocks((-3200, 1058, -143), (90, 0, 0));
  524. CreateBlocks((-3200, 1088, -143), (90, 0, 0));
  525. CreateBlocks((-3200, 1118, -143), (90, 0, 0));
  526. CreateBlocks((-3181, 3124, -218), (90, 0, 0));
  527. CreateBlocks((-3211, 3124, -218), (90, 0, 0));
  528. CreateBlocks((-3241, 3124, -218), (90, 0, 0));
  529. CreateBlocks((-3181, 3124, -163), (90, 0, 0));
  530. CreateBlocks((-3211, 3124, -163), (90, 0, 0));
  531. CreateBlocks((-3241, 3124, -163), (90, 0, 0));
  532. CreateBlocks((-2622, 3676, -106), (90, 0, 0));
  533. CreateBlocks((-3741, 3245, -200), (90, 0, 0));
  534. CreateBlocks((-3821, 2170, -250), (90, 0, 0));
  535. CreateBlocks((-3791, 2170, -250), (90, 0, 0));
  536. CreateBlocks((-3761, 2170, -250), (90, 0, 0));
  537. CreateBlocks((-3821, 2170, -195), (90, 0, 0));
  538. CreateBlocks((-3791, 2170, -195), (90, 0, 0));
  539. CreateBlocks((-3761, 2170, -195), (90, 0, 0));
  540. CreateBlocks((-471, -126, 193), (0, 0, 90));
  541. CreateBlocks((-547, -104, 193), (0, 0, 90));
  542. CreateBlocks((-625, -84, 193), (0, 0, 90));
  543. CreateBlocks((-702, -61, 193), (0, 0, 90));
  544. CreateBlocks((-778, -38, 193), (0, 0, 90));
  545. CreateBlocks((-830, -13, 193), (0, 0, 90));
  546. CreateBlocks((1333, -92, 210), (0, 0, 90));
  547. CreateRamps((1025, 3563, 291), (692, 3563, 146));
  548. CreateDoors((489, 1321, 212), (409, 1341, 212), (90, 70, 0), 4, 2, 20, 75);
  549. CreateDoors((421, 861, 212), (461, 1011, 212), (90, -20, 0), 4, 2, 20, 75);
  550. CreateDoors((64, 680, 212), (184, 640, 212), (90, 75, 0), 6, 2, 30, 100);
  551. CreateDoors((706, 575, 185), (791, 545, 185), (0, -15, 0), 6, 1, 25, 75);
  552. CreateDoors((24, 477, 341), (48, 552, 341), (90, -15, 0), 3, 2, 5, 50);
  553. }
  554. Favela()
  555. {
  556. CreateDoors((-64, 277, 198), (-64, 337, 198), (90, -6, 0), 2, 2, 5, 50);
  557. CreateDoors((-438, 987, 310), (-438, 1047, 310), (90, 4, 0), 2, 2, 5, 50);
  558. CreateDoors((-625, -238, 174), (-625, -298, 174), (90, -9, 0), 2, 2, 5, 50);
  559. CreateDoors((893, 1056, 368), (833, 1056, 368), (90, 90, 0), 2, 2, 5, 50);
  560. CreateDoors((80, 450, 198), (145, 450, 198), (90, 90, 0), 2, 2, 5, 50);
  561. CreateElevator((-321, 2633, 335), (1985, 816 , 500), (0, 0, 0));
  562. CreateElevator((1993, 962, 500), (1824, -525, 728), (0, 0, 0));
  563. CreateElevator((1648, -1024, 728), (5047, -2867, 216), (0, 0, 0));
  564. CreateElevator((763, -1983, 152), (404, 1677, 595), (0, 0, 0));
  565. CreateGrids((2809, -2212, 239), (2809, -2675, 230), (0, 0, 0));
  566. CreateWalls((2809, -2212, 143), (2236, -2212, 240));
  567. CreateWalls((2809, -2212, 143), (2809, -2400, 180));
  568. CreateWalls((2809, -2212, 220), (2809, -2675, 240));
  569. Createwalls((2236, -2212, 143), (2236, -2675, 180));
  570. CreateWalls((2236, -2675, 143), (2236, -2212, 240));
  571. CreateWalls((2809, -2675, 143), (2809, -2550, 180));
  572. CreateWalls((2809, -2675, 143), (2236, -2675, 240));
  573. CreateRamps((2650, -2600, 143), (2236, -2600, 220));
  574. CreateDoors((2780, -2300, 143), (2809, -2485, 143), (90, 0, 0), 7, 2, 15, 50);
  575. }
  576. HighRise()
  577. {
  578. CreateBlocks((-2723, 5152, 3000), (90, 0, 0));
  579. CreateBlocks((-2723, 5162, 3000), (90, 0, 0));
  580. CreateBlocks((-5441.8, 12660.3, 5641.3), (0, 0, 0));
  581. CreateBlocks((-5873.09, 10514.7, 5630.07), (0, 0, 0));
  582. CreateDoors((-1550, 5875, 2967), (-1550, 5649, 2967), (0, 0, 0), 7, 1, 20, 100);
  583. CreateDoors((-1185, 5900, 2967), (-1185, 6117, 2967), (0, 0, 0), 7, 1, 20, 100);
  584. CreateElevator((-768, 6849, 2736), (-5863, 12185, 5464), (0, 0, 0));
  585. CreateElevator((-5102, 11101, 5464), (-654, 6847, 2736), (0, 0, 0));
  586. CreateRamps((-5638, 11978, 5454), (-5510, 11242, 5454));
  587. CreateRamps((-2390, 10236, 2268), (-2560, 10242, 2176));
  588. CreateRamps((-5586, 11989, 5454), (-5451, 11254, 5454));
  589. CreateRamps((-5538, 11998, 5454), (-5391, 11266, 5454));
  590. }
  591. Invasion()
  592. {
  593. CreateElevator((-2150, -2366, 268), (-2276, -1353, 573), (0, -90, 0));
  594. CreateElevator((-1413, -1333, 270), (-1558, -1485, 1064), (0, 0, 0));
  595. CreateElevator((-607, -984, 293), (-842, -1053, 878), (0, 0, 0));
  596. CreateGrids((-1400, -1850, 390), (-1359, -1455, 390), (0, 0, 0));
  597. CreateBlocks((-1468, -1470, 1044), (0, -80, 0));
  598. CreateBlocks((-1498, -1475, 1044), (0, -80, 0));
  599. CreateBlocks((-1528, -1480, 1044), (0, -80, 0));
  600. CreateBlocks((-1558, -1485, 1044), (0, -80, 0));
  601. CreateBlocks((-1588, -1490, 1044), (0, -80, 0));
  602. CreateBlocks((-1618, -1495, 1044), (0, -80, 0));
  603. CreateBlocks((-1648, -1500, 1044), (0, -80, 0));
  604. }
  605. Karachi()
  606. {
  607. CreateElevator((695, -1807, 4), (1035, -1807, 4), (0, 0, 0));
  608. CreateWalls((2754, -1715, 0), (2754, -1945, 150));
  609. CreateElevator((2703, -1737, 25), (-86, 2575, 32), (0, 90, 0));
  610. CreateElevator((-70, 4197, 1), (-1193, 3087, 32), (0, 90, 0));
  611. CreateElevator((-1186, 4728, 1), (-89, 2200, 217), (0, 270, 0));
  612. CreateElevator((-90, 1975, 217), (117, -2864, 7), (0, 90, 0));
  613. CreateElevator((-525, 520, 336), (-522, 783, 336), (0, 0, 0));
  614. CreateElevator((25, 854, 336), (25, 854, 472), (0, 180, 0));
  615. CreateElevator((-522, 783, 472), (-525, 520, 472), (0, 0, 0));
  616. CreateElevator((25, 457, 472), (25, 457, 608), (0, 180, 0));
  617. CreateElevator((-525, 520, 608), (-522, 783, 608), (0, 0, 0));
  618. CreateElevator((561, 116, 176), (568, -67, 280), (0, 0, 0));
  619. CreateBlocks((800, 206, 254), (0, 0, 0));
  620. CreateBlocks((800, 256, 254), (0, 0, 0));
  621. CreateBlocks((800, 375, 254), (0, 0, 0));
  622. CreateBlocks((513, 526, 444), (90, 90, 90));
  623. CreateBlocks((479, -831, 369), (90, 90, 0));
  624. CreateBlocks((768, -253, 582), (90, -45, 0));
  625. CreateBlocks((814, -253, 582), (90, -45, 0));
  626. CreateBlocks((860, -253, 582), (90, -45, 0));
  627. CreateBlocks((916, -253, 582), (90, -45, 0));
  628. CreateBlocks((962, -253, 582), (90, -45, 0));
  629. CreateBlocks((415, -777, 582), (0, 0, 0));
  630. CreateBlocks((360, -777, 582), (0, 0, 0));
  631. CreateBlocks((305, -777, 582), (0, 0, 0));
  632. CreateBlocks((516, -74, 564), (90, 90, 0));
  633. CreateBlocks((516, -74, 619), (90, 90, 0));
  634. CreateRamps((559, -255, 554), (559, -99, 415));
  635. }
  636. Quarry()
  637. {
  638. CreateElevator((-5308, -794, -192), (-2127, -1480, 632), (0, 120, 0));
  639. CreateElevator((-1935, -1008, 576), (-5527, 1160, 304), (0, 270, 0));
  640. CreateBlocks((-5600, 1500, 105), (0, 0, 0));
  641. CreateBlocks((-5600, 1540, 139), (0, 0, 0));
  642. CreateBlocks((-3680, 1880, 125), (90, 0, 0));
  643. CreateWalls((-2099, -844, 713), (-2099, -895, 800));
  644. CreateGrids((-2272, -1119, 620), (-2651, -1350, 620), (0, 0, 0));
  645. CreateGrids((-2350, -1090, 790), (-2580, -1350, 790), (0, 0, 0));
  646. CreateWalls((-2332, -1370, 620), (-2651, -1370, 700));
  647. CreateWalls((-2332, -1105, 620), (-2651, -1105, 700));
  648. CreateRamps((-2653, -1319, 624), (-2633, -1080, 790));
  649. CreateDoors((-2328, -1350, 650), (-2328, -1229, 650), (90, 0, 0), 9, 2, 10, 100);
  650. }
  651. Rundown()
  652. {
  653. CreateDoors((360, -1462, 202), (300, -1342, 202), (90, 25, 0), 3, 2, 10, 75);
  654. CreateDoors((460, -1420, 206), (400, -1300, 206), (90, 25, 0), 3, 2, 10, 75);
  655. CreateDoors((30, -1630, 186), (-30, -1510, 186), (90, 25, 0), 4, 2, 15, 75);
  656. CreateDoors((-280, -1482, 186), (-220, -1602, 186), (90, 25, 0), 4, 2, 15, 75);
  657. CreateBlocks((385, -1660, 40), (0, 120, 90));
  658. CreateRamps((-597, -280, 212), (-332, -522, 180));
  659. CreateRamps((726, -389, 142), (560, -373, 13));
  660. CreateRamps((2250, -1155, 306), (1905, -876, 200));
  661. CreateRamps((850, -3125, 312), (535, -3125, 189));
  662. CreateRamps((1775, 450, 144), (1775, 735, -5));
  663. CreateElevator((1986, -2364, 372), (1036, -2607, 340), (0, 180, 0));
  664. CreateElevator((935, -3022, 341), (1583, -603, 344), (0, 180, 0));
  665. CreateElevator((1980, -518, 329), (2497, 234, -125), (0, 180, 0));
  666. CreateElevator((2330, 1224, -79), (1612, -184, -127), (0, 180, 0));
  667. CreateElevator((-454, 1162, 25), (2616, -524, -127), (0, 180, 0));
  668. CreateElevator((-695, -267, 184), (2616, -524, -127), (0, 180, 0));
  669. CreateElevator((470, -39, -123), (2497, 234, -125), (0, 180, 0));
  670. CreateElevator((-395, 1772, 174), (2497, 234, -125), (0, 180, 0));
  671. CreateElevator((4234, 150, -127), (-447, -5, 60), (0, 180, 0));
  672. CreateWalls((3465, 241, -127), (3123, 241, 0));
  673. CreateWalls((3465, 241, -127), (3465, -127, 0));
  674. CreateWalls((3123, 241, -20), (3123, -127, 0));
  675. CreateWalls((3123, -127, -127), (3465, -127, 0));
  676. CreateWalls((3123, 241, -127), (3123, 130, -85));
  677. CreateWalls((3123, -127, -127), (3123, -10, -85));
  678. CreateDoors((3160, 130, -127), (3123, 50, -127), (90, 0, 0), 4, 2, 15, 75);
  679. CreateGrids((3465, 241, -10), (3505, -127, -5), (0, 0, 0));
  680. CreateGrids((3120, 241, -10), (3505, 280, -5), (0, 0, 0));
  681. CreateGrids((3120, -127, -10), (3505, -170, -5), (0, 0, 0));
  682. CreateRamps((3250, 180, -127), (3430, 180, -10));
  683. }
  684. Rust()
  685. {
  686. /* CreateElevator((511, 360, -239), (13011, -13493, -239), (0, 90, 0));
  687. CreateElevator((12879, -13220, 44), (-252, 490, -212), (0, 90, 0));
  688. CreateWalls((13151, -13534, -230), (12886, -13534, -130));
  689. CreateGrids((13033, -13334, -250), (13033, -12900, -250), (0, 0, 0));
  690. CreateRamps((12970, -12900, -250), (12970, -13196, 45));
  691. CreateGrids((13050, -13620, 45), (12888, -13220, 45), (0, 0, 0));
  692. CreateDoors((13079, -13350, 77), (12970, -13350, 77), (90, 90, 0), 8, 1, 10, 100);
  693. CreateGrids((13073, -13620, 45), (13473, -13620, 45), (0, 0, 0));
  694. CreateGrids((13473, -13620, 45), (13473, -13200, 45), (0, 0, 0));
  695. */ CreateBlocks((773, 1080, 258), (0, 90, 0));
  696. CreateRamps((745, 1570, 383), (745, 1690, 273));
  697. CreateDoors((565, 1540, 295), (653, 1540, 295), (90, 90, 0), 3, 2, 10, 60);
  698. CreateGrids((773, 1135, 258), (533, 1795, 258), (0, 0, 0));
  699. CreateGrids((695, 1795, 378), (533, 1540, 378), (0, 0, 0));
  700. CreateWalls((533, 1795, 278), (773, 1795, 448));
  701. CreateWalls((790, 1795, 278), (790, 1540, 448));
  702. CreateWalls((515, 1540, 278), (515, 1795, 448));
  703. CreateWalls((773, 1540, 278), (715, 1540, 378));
  704. CreateWalls((590, 1540, 278), (533, 1540, 378));
  705. CreateWalls((773, 1540, 398), (533, 1540, 428));
  706. CreateWalls((-3075, 876, 219), (-3075, 631, 225));
  707. }
  708. Scrapyard()
  709. {
  710. CreateElevator((-1750, 383, -127), (-2894, 906, 1368), (0, 0, 0));
  711. CreateElevator((-391, -14, 1559), (-5180, 4299, 2288), (0, 45, 0));
  712. CreateElevator((-3648, 6468, 2478), (-662, 654, 73), (0, 0, 0));
  713. CreateBlocks((-2178, 2729, 120), (90, 0, 0));
  714. CreateBlocks((-2758, 2128, 130), (90, 0, 0));
  715. CreateBlocks((420, 1636, 174), (0, 0, 0));
  716. CreateBlocks((475, 1636, 174), (0, 0, 0));
  717. CreateBlocks((530, 1636, 174), (0, 0, 0));
  718. CreateBlocks((585, 1636, 174), (0, 0, 0));
  719. CreateBlocks((640, 1636, 174), (0, 0, 0));
  720. CreateBlocks((695, 1636, 174), (0, 0, 0));
  721. CreateBlocks((750, 1636, 174), (0, 0, 0));
  722. CreateBlocks((805, 1636, 174), (0, 0, 0));
  723. CreateBlocks((860, 1636, 174), (0, 0, 0));
  724. CreateBlocks((420, 1606, 174), (0, 0, 0));
  725. CreateBlocks((475, 1606, 174), (0, 0, 0));
  726. CreateBlocks((530, 1606, 174), (0, 0, 0));
  727. CreateBlocks((585, 1606, 174), (0, 0, 0));
  728. CreateBlocks((640, 1606, 174), (0, 0, 0));
  729. CreateBlocks((695, 1606, 174), (0, 0, 0));
  730. CreateBlocks((750, 1606, 174), (0, 0, 0));
  731. CreateBlocks((805, 1606, 174), (0, 0, 0));
  732. CreateBlocks((860, 1606, 174), (0, 0, 0));
  733. CreateBlocks((420, 1576, 174), (0, 0, 0));
  734. CreateBlocks((475, 1576, 174), (0, 0, 0));
  735. CreateBlocks((530, 1576, 174), (0, 0, 0));
  736. CreateBlocks((585, 1576, 174), (0, 0, 0));
  737. CreateBlocks((640, 1576, 174), (0, 0, 0));
  738. CreateBlocks((695, 1576, 174), (0, 0, 0));
  739. CreateBlocks((750, 1576, 174), (0, 0, 0));
  740. CreateBlocks((805, 1576, 174), (0, 0, 0));
  741. CreateBlocks((860, 1576, 174), (0, 0, 0));
  742. CreateBlocks((-1541, -80, 1), (0, 90, -33.3));
  743. CreateBlocks((-1517.7, -80, 16.3), (0, 90, -33.3));
  744. CreateBlocks((-1494.4, -80, 31.6), (0, 90, -33.3));
  745. CreateBlocks((-1471.1, -80, 46.9), (0, 90, -33.3));
  746. CreateBlocks((-1447.8, -80, 62.2), (0, 90, -33.3));
  747. CreateBlocks((-1424.5, -80, 77.5), (0, 90, -33.3));
  748. CreateBlocks((-1401.2, -80, 92.8), (0, 90, -33.3));
  749. CreateBlocks((-1377.9, -80, 108.1), (0, 90, -33.3));
  750. CreateBlocks((-1354.6, -80, 123.4), (0, 90, -33.3));
  751. CreateElevator((10, 1659, -72), (860, 1606, 194), (0, 180, 0));
  752. CreateDoors((1992, 266, -130), (1992, 336, -130), (90, 0, 0), 2, 2, 5, 50);
  753. CreateDoors((1992, 710, -130), (1992, 640, -130), (90, 0, 0), 2, 2, 5, 50);
  754. CreateWalls((-2350, 2300, -55), (-2475, 2300, 100));
  755. CreateWalls((-2625, 2300, -55), (-2750, 2300, 100));
  756. CreateDoors((-2450, 2300, -47), (-2550, 2300, -47), (90, 180, 90), 4, 2, 20, 75);
  757. CreateWalls((-2750, 2300, -55), (-2750, 2700, 100));
  758. CreateWalls((-2750, 2700, -55), (-2350, 2700, 100));
  759. CreateWalls((-2350, 2700, -55), (-2350, 2300, 100));
  760. CreateElevator((-276, 1567, -76), (-1176, 2033, -63), (0, 180, 0));
  761. CreateElevator((-1176, 2222, -63), (-1758, -714, -31));
  762. CreateRamps((-2400, 2700, 50), (-2400, 2400, -70));
  763. CreateGrids((-2450, 2300, 50), (-2750, 2700, 50), (0, 0, 0));
  764. CreateWalls((-2475, 2300, 50), (-2750, 2300, 100));
  765. mgTurret = spawnTurret( "misc_turret", (-2330, 2288, 110), "pavelow_minigun_mp" );
  766. mgTurret setModel( "weapon_minigun" );
  767. mgTurret.angles = (0, 360, 360);
  768. }
  769. Skidrow()
  770. {
  771. CreateElevator((-725, -410, 136), (-910, -620, 570), (0, 0, 0));
  772. CreateElevator((-1580, -545, 3), (-2533, 1048, 116), (0, 0, 0));
  773. CreateElevator((-2541, 1295, 120), (-1992, -172, -7), (0, 0, 0));
  774. CreateRamps((-705, -830, 688), (-495, -830, 608));
  775. CreateRamps((-580, -445, 608), (-580, -375, 568));
  776. CreateRamps((1690, 325, 213), (1890, 325, 108));
  777. CreateGrids((-1540, -1687, 600), (-275, -1687, 660), (0, 0, 0));
  778. CreateGrids((1343, 983, 112), (1341, 1386, 230), (0, 0, 0));
  779. CreateGrids((-1060, -1535, 584), (-470, -1650, 584), (0, 0, 0));
  780. CreateGrids((-700, -120, 580), (-700, -120, 640), (0, 90, 0));
  781. CreateGrids((-705, -490, 580), (-705, -770, 580), (-45, 0, 0));
  782. }
  783. SubBase()
  784. {
  785. CreateWalls((1768, -4096, 0.125012), (1687, -4096, 91.7437));
  786. CreateWalls((1559, -4096, 0.125012), (1495, -4096, 91.7437));
  787. CreateDoors((1752, -4094, 8.125), (1621, -4096, 0.125), (90, 90, 0), 5, 2, 5, 50);
  788. CreateGrids((1772, -4092, 95.664), (1489, -4226, 95.4576), (0, 0, 0));
  789. CreateWalls((1476, -4098, 110.289), (1781, -4098, 111.289));
  790. CreateRamps((1635, -4245, 94.3329), (1633, -4499, 88.1657));
  791. CreateGrids((1779, -4516, 93.5231), (1489, -4663, 81.9746), (0, 0, 0));
  792. CreateRamps((1737, -4743, 0.125005), (1735, -4887, 77.9122));
  793. CreateRamps((1500, -4683, 96.0805), (1517, -4887, 79.6079));
  794. mgTurret3 = spawnTurret( "misc_turret", (1624, -4098, 137), "pavelow_minigun_mp" );
  795. mgTurret3.angles = (0, 90, 0);
  796. mgTurret3 setModel( "weapon_minigun" );
  797. CreateElevator((-234, -2196, 4.10537), (1631, -2678, 0.124995));
  798. CreateWalls((1495, -2997, 0.125008), (1580, -2997, 60));
  799. CreateWalls((1694, -2997, 0.125008), (1768, -2997, 60));
  800. CreateRamps((1472, -4499, 95.0477), (1487, -4186, 268));
  801. CreateWalls((1306, -4050, 292), (1483, -4086, 287));
  802. CreateRamps((1102, -4403, 166.125), (1085, -4200, 272));
  803. CreateElevator((917, -4124, 287), (-352, -4020, 0.125));
  804. CreateWalls((-488, -5494, 0.125005), (-215, -5494, 50));
  805. CreateRamps((-357, -5367, 0.124998), (-354, -5477, 38.6509));
  806. CreateRamps((-357, -5512, 36.9589), (-360, -5705, 0.125008));
  807. CreateWalls((-491, -5491, 51.8875), (-401, -5490, 141));
  808. CreateWalls((-306, -5493, 51.8875), (-215, -5499, 141));
  809. CreateGrids((-215, -5494, 138), (-494, -5632, 140), (0, 0, 0));
  810. CreateRamps((-215, -5934, 12.446), (-212, -5653, 127));
  811. CreateWalls((-496, -5490, 154), (-215, -5491, 154));
  812. }
  813. Terminal()
  814. {
  815. CreateElevator((1041, 5336, 192), (611, 2835, 410), (0, 90, 0));
  816. CreateElevator((2859, 4529, 192), (3045, 4480, 250), (0, 0, 0));
  817. CreateElevator((2975, 4080, 192), (2882, 4289, 55), (0, 180, 0));
  818. CreateElevator((520, 7375, 192), (-898, 5815, 460), (0, -90, 0));
  819. CreateElevator((-670, 5860, 460), (1585, 7175, 200), (0, 180, 0));
  820. CreateElevator((-895, 4300, 392), (-895, 4300, 570), (0, 90, 0));
  821. CreateWalls((-640, 4910, 390), (-640, 4685, 660));
  822. CreateWalls((-1155, 4685, 390), (-1155, 4910, 660));
  823. CreateWalls((-570, 5440, 460), (-640, 4930, 660));
  824. CreateWalls((-1155, 4930, 460), (-1155, 5945, 660));
  825. CreateWalls((-1155, 5945, 460), (-910, 5945, 660));
  826. CreateWalls((-1105, 4665, 392), (-965, 4665, 512));
  827. CreateWalls((-825, 4665, 392), (-685, 4665, 512));
  828. CreateWalls((3375, 2715, 195), (3765, 3210, 245));
  829. CreateWalls((4425, 3580, 195), (4425, 3230, 315));
  830. CreateWalls((4425, 3580, 380), (4425, 3230, 440));
  831. CreateWalls((4045, 3615, 382), (3850, 3615, 412));
  832. CreateWalls((2960, 2800, 379), (3250, 2800, 409));
  833. CreateDoors((-705, 4665, 412), (-895, 4665, 412), (90, -90, 0), 4, 2, 20, 75);
  834. CreateDoors((3860, 3305, 212), (3860, 3485, 212), (90, 0, 0), 6, 2, 15, 100);
  835. CreateRamps((3620, 2415, 369), (4015, 2705, 192));
  836. CreateGrids((4380, 2330, 360), (4380, 2980, 360), (0, 0, 0));
  837. CreateBlocks((1635, 2470, 121), (0, 0, 0));
  838. CreateBlocks((2675, 3470, 207), (90, 0, 0));
  839. }
  840. Underpass()
  841. {
  842. CreateElevator((-415, 3185, 392), (-1630, 3565, 1035), (0, 180, 0));
  843. CreateBlocks((1110, 1105, 632), (90, 0, 0));
  844. CreateBlocks((-2740, 3145, 1100), (90, 0, 0));
  845. CreateBlocks((2444, 1737, 465), (90, 0, 0));
  846. CreateWalls((-1100, 3850, 1030), (-1100, 3085, 1160));
  847. CreateWalls((-2730, 3453, 1030), (-2730, 3155, 1150));
  848. CreateWalls((-2730, 3155, 1030), (-3330, 3155, 1160));
  849. CreateWalls((-3330, 3155, 1030), (-3330, 3890, 1160));
  850. CreateWalls((-3330, 3890, 1030), (-2730, 3890, 1160));
  851. CreateWalls((-2730, 3890, 1030), (-2730, 3592, 1150));
  852. CreateWalls((-2730, 3890, 1150), (-2730, 3155, 1160));
  853. CreateDoors((-2730, 3400, 1052), (-2730, 3522.5, 1052), (90, 180, 0), 4, 2, 10, 75);
  854. CreateRamps((-3285, 3190, 1125), (-3285, 3353, 1030));
  855. CreateRamps((-3285, 3855, 1125), (-3285, 3692, 1030));
  856. CreateGrids((-2770, 3190, 1120), (-3230, 3190, 1120), (0, 0, 0));
  857. CreateGrids((-2770, 3855, 1120), (-3230, 3855, 1120), (0, 0, 0));
  858. CreateGrids((-2770, 3220, 1120), (-2770, 3825, 1120), (0, 0, 0));
  859. CreateCluster(20, (-3030, 3522.5, 1030), 250);
  860. }
  861. Wasteland()
  862. {
  863. CreateDoors((1344, -778, -33), (1344, -898, -33), (90, 0, 0), 5, 2, 15, 75);
  864. CreateDoors((684, -695, -16), (684, -825, -16), (90, 0, 0), 5, 2, 15, 75);
  865. CreateDoors((890, -120, -12), (760, -120, -12), (90, 90, 0), 5, 2, 15, 125);
  866. CreateDoors((958, -1072, -36), (958, -972, -36), (90, 0, 0), 3, 2, 10, 50);
  867. CreateDoors((1057, -648, -36), (997, -748, -36), (90, -30, 0), 3, 2, 10, 50);
  868. CreateDoors((10895, 12581, 1298), (11070, 12581, 1295), (90, 90, 0), 7, 2, 10, 50);
  869. CreateElevator((218, -618, -26), (11288, 14676, 1298), (0, 300, 0));
  870. CreateElevator((-2336, -1348, 32), (11046, 14518, 1298), (0, 270, 0));
  871. CreateElevator((-1021, 1263, 77), (11232, 14122, 1298), (0, 270, 0));
  872. CreateElevator((2836, 978, -124), (10917, 13826, 1298), (0, 270, 0));
  873. CreateElevator((2348, -1855, -13), (11046, 13421, 1298), (0, 270, 0));
  874. CreateWalls((10798, 12581, 1298), (10955, 12581, 1340));
  875. CreateWalls((11167, 12581, 1298), (11379, 12581, 1340));
  876. CreateRamps((10850, 11700, 1298), (10850, 12300, 1448));
  877. CreateRamps((11300, 11700, 1298), (11300, 12300, 1448));
  878. CreateGrids((10798, 12581, 1450), (11379, 12300, 1450), (0, 0, 0));
  879. mgTurret1 = spawnTurret( "misc_turret", (11327, 12538, 1525), "pavelow_minigun_mp" );
  880. mgTurret1.angles = (0, 90, 0);
  881. mgTurret1 setModel( "weapon_minigun" );
  882. mgTurret2 = spawnTurret( "misc_turret", (10837, 12538, 1525), "pavelow_minigun_mp" );
  883. mgTurret2.angles = (0, 90, 0);
  884. mgTurret2 setModel( "weapon_minigun" );
  885. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement