Advertisement
Guest User

Untitled

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