Results 1 to 4 of 4
  1. #1
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw

    Question {HELP} script compile error

    i think the problem is somewhere in here :P
    Code:
    Karachi()
    {
    CreateWalls((-381, -136, 364), (-381, -502, 424));
    CreateWalls((-168, -686, 580), (-503, -686, 610));
    CreateGrids((-532, -894, 600), (-767, -484, 600));
    CreateWalls((-797, -914, 614),(-798, -470, 630));
    CreateWalls((-789, -470, 614),(-602, -467, 630));
    CreateWalls((-602, -467, 614),(-602, -648, 630));
    CreateWalls((-602, -739, 614),(-602, -913, 630));
    CreateWalls((-602, -913, 614),(-797, -914, 630));
    CreateWalls((-797, -914, 660),(-798, -470, 750));
    CreateWalls((-789, -470, 660),(-602, -467, 750));
    CreateWalls((-602, -467, 660),(-602, -648, 750));
    CreateWalls((-602, -739, 660),(-602, -913, 750));
    CreateWalls((-602, -913, 660),(-797, -914, 750));
    CreateDoors((-602, -784, 614), (-602, -694, 614), (90,180, 0), 3, 2, 15, 75);
    CreateWalls((-602, -737, 690), (-602, -656, 750));
    CreateGrids((-532, -894, 750), (-767, -484, 750));
    CreateElevator((-607, 1623, 188), (169, -681, 600));
    CreateWalls((442, -258, 580), (442, -830, 670));
    CreateWalls((290, -775, 600), (220, -874, 690));
    CreateWalls((78, -571, 600), (78, -731, 690));
    CreateWalls((-96, -571, 600), (-96, -736, 690)); 
    }
    
    Quarry()
    {
    CreateWalls((-672, 1069, 952), (-672, 820, 1072));
    CreateWalls((-672, 820, 952), (-356, 822, 1072));
    CreateWalls((-356, 822, 952), (-356, 1068, 1072));
    CreateWalls((-356, 1068, 952), (-672, 1069, 1072));
    CreateWalls((-641, 913, 952), (-569, 910, 1072));
    CreateDoors((-557, 976, 952), (-557, 863, 952), (90,180, 0), 3, 2, 15, 75);
    CreateWalls((-557, 809, 1042), (-557, 908, 1072));
    CreateElevator((-1427, 731, 40), (-641, 866, 952));
    CreateElevator((-641, 946, 952), (-1796, -1054, 822));
    CreateElevator((-641, 1036, 952), (-4890, 611, 120));
    CreateWalls((-4387, 175, 80), (-4386, 531, 110));
    CreateWalls((-4493, 531, 80), (-4493, 175, 110));
    CreateWalls((-4387, 175, 140), (-4386, 531, 200));
    CreateWalls((-4493, 531, 140), (-4493, 175, 200));
    CreateElevator((-526, 1031, 952), (-3401, 577, 128));
    CreateWalls((-5904, -922, 100), (-5595, -915, 130));
    CreateWalls((-5595, -915, 100), (-5600, -670, 130));
    CreateWalls((-5600, -670, 100), (-5904, -670, 130));
    CreateWalls((-5904, -922, 160), (-5595, -915, 220));
    CreateWalls((-5595, -915, 160), (-5600, -670, 220));
    CreateWalls((-5600, -670, 160), (-5904, -670, 220));
    CreateElevator((-425, 1038, 952), (-5904, -891, 100));
    CreateElevator((-1663, -823, 800), (-386, 851, 952));
    CreateElevator((-5904, -700, 100), (-386, 851, 952));
    CreateElevator((-4881, 984, 124), (-386, 851, 952));
    CreateElevator((-3558, 537, 120), (-386, 851, 952));
    }
    
    Rust()
    {
    CreateWalls((1640, 782, -132), (1465, 782, -102));
    CreateWalls((1465, 782, -132), (1465, 930, -102));
    CreateWalls((1465, 1036, -132), (1640, 1036, -102));
    CreateWalls((1640, 782, -72), (1465, 782, -12));
    CreateWalls((1465, 782, -72), (1465, 930, -12));
    CreateWalls((1465, 1036, -72), (1640, 1036, -12));
    CreateDoors((1467, 892, -132), (1467, 985, -132), (90,0, 0), 3, 2, 15, 75); 
    CreateWalls((1465, 930, -42), (1465, 1036, -12));
    CreateGrids((1465, 1036, -12), (1640, 782, -12));
    CreateDoors((1651, 1589, -148), (1651, 1659, -148), (90,0, 0), 3, 2, 15, 75);
    CreateWalls((-172, 1670, -127), (91, 1670, -7));
    CreateWalls((91, 1670, -127), (91, 1369, -97));
    CreateWalls((91, 1369, -127), (-172, 1371, -97));
    CreateWalls((-172, 1545, -127), (-172, 1670, -7));
    CreateWalls((-172, 1371, -127), (-172, 1443, -97));
    CreateDoors((-172, 1570, -127), (-172, 1496, -127), (90,0, 0), 3, 2, 15, 75);
    CreateWalls((91, 1670, -67), (91, 1369, -7));
    CreateWalls((91, 1369, -67), (-172, 1371, -7));
    CreateWalls((-172, 1371, -67), (-172, 1443, -7));
    CreateWalls((-172, 1443, -37), (-172, 1545, -7));
    CreateGrids((-172, 1670, -7), (91, 1369, -7));
    }
    
    Underpass()
    {
    CreateWalls((327, 2780, 608), (604, 2779, 638));
    CreateWalls((605, 2779, 608), (618, 2359, 638));
    CreateWalls((618, 2359, 608), (318, 2362, 638));
    CreateWalls((318, 2362, 608), (327, 2780, 638));
    CreateWalls((327, 2780, 668), (604, 2779, 758));
    CreateWalls((605, 2779, 668), (618, 2359, 758));
    CreateWalls((618, 2359, 668), (318, 2362, 758));
    CreateWalls((318, 2362, 668), (327, 2780, 758));
    CreateWalls((-609, -1672, 472), (-617, -1864, 622));
    CreateWalls((-617, -1864, 472), (-1163, -1867, 622));
    CreateWalls((-1163, -1867, 472), (-1150, -1550, 622));
    CreateWalls((-1150, -1550, 472), (-613, -1579, 622));
    CreateWalls((-613, -1579, 562), (-609, -1672, 622));
    CreateElevator((2729, -1317, 395), (-186, -1443, 347));
    CreateDoors((-609, -1732, 472), (-611, -1622, 472), (90,180, 0), 3, 2, 15, 75);
    CreateWalls((-1131, -1836, 562), (-1121, -1582, 592));
    CreateWalls((-1121, -1582, 562), (-641, -1607, 592));
    CreateWalls((-641, -1607, 562), (-645, -1834, 592));
    CreateWalls((-645, -1834, 562), (-1131, -1836, 592));
    CreateElevator((-1121, -1581, 472), (-1121, -1581, 600));
    CreateElevator((160, -2064, 472), (2498, -620, 1028));
    CreateElevator((575, 2748, 608), (357, 2544, 1028));
    CreateElevator((1248, 2048, 207), (-4171, 1115, 1816));
    CreateElevator((478, 2749, 608), (-1603, 1844, 1951));
    CreateElevator((582, 2531, 608), (-242, 2579, 546));
    CreateElevator((578, 2652, 608), (2517, 933, 448));
    CreateElevator((-254, 2864, 504), (348, 2391, 608));
    CreateElevator((-2894, -400, 2136), (348, 2391, 608));
    CreateElevator((484, 2043, 1024), (348, 2391, 608));
    CreateElevator((152, 1356, 236), (354, 2391, 608));
    CreateElevator((384, 2749, 608), (2503, 2606, 608));
    CreateElevator((2523, 2241, 608), (348, 2391, 608));
    CreateWalls((1571, 2585, 588), (1264, 2765, 618));
    CreateWalls((-983, -1589, 472), (-983, -1761, 592));
    CreateWalls((-983, -1761, 512), (-983, -1865, 592));
    CreateElevator((2600, 3263, 390), (-4171, 1115, 1816));
    CreateElevator((585, 2421, 608), (368, 153, 887));
    CreateWalls((368, 153, 857), (-498, -381, 887));
    CreateWalls((-498, -381, 857), (109, -829, 887));
    CreateWalls((109, -829, 857), (368, 153, 887));
    CreateElevator((354, 2641, 608), (-1121, -1581, 600));
    }
    
    Highrise()
    }
    CreateWalls((-2380, 6164, 2912),(-2380, 5973, 2942));
    CreateWalls((-2380, 5973, 2912),(-2161, 5973, 2942));
    CreateWalls((-2161, 5973, 2912),(-2161, 6158, 2942));
    CreateWalls((-2380, 6164, 2912), (-2234, 6164, 2942));
    CreateWalls((-2380, 6164, 2972),(-2380, 5973, 3032));
    CreateWalls((-2380, 5973, 2972),(-2161, 5973, 3032));
    CreateWalls((-2161, 5973, 2972),(-2161, 6158, 3032));
    CreateWalls((-2380, 6164, 2972), (-2234, 6164, 3032));
    CreateRamps((-2195, 6164, 2890), (-2198, 6466, 2776));
    CreateWalls((-2234, 6164, 3002), (-2161, 6158, 3032));
    CreateGrids((-2161, 6158, 3012), (-2380, 5973, 3012));
    CreateDoors((-2296, 6164, 2912), (-2197, 6164, 2912), (90,90, 0), 3, 2, 15, 75);
    CreateWalls((-2816, 6871, 3216), (-2624, 6871, 3306));
    }
    
    Favela()
    {
    CreateElevator((-147, -1022, 288), (1616, 1065, 200));
    CreateDoors((1492, 1112, 200), (1492, 1070, 200), (90,180, 0), 3, 2, 15, 75);
    CreateElevator((1594, 910, 200), (471, 447, 320));
    CreateWalls((-7413, -294, 928),(-8046, -129, 988));
    CreateWalls((-8046, -129, 928),(-8291, -1065, 988));
    CreateWalls((-8291, -1065, 928),(-7674, -1238, 1078));
    CreateWalls((-7674, -1238, 928),(-7413, -294, 988));
    CreateElevator((-1335, -196, 104), (-7750, -281, 928));
    CreateRamps((-1095, 155, 2), (-1301, -34, 76));
    CreateWalls((-7555, -802, 928), (-8030, -660, 958));
    CreateWalls((-7555, -802, 988), (-8030, -660, 1078));
    CreateWalls((-7674, -1238, 928),(-7555, -802, 1078));
    CreateDoors((-8008, -668, 928), (-8100, -641, 928), (90,75, 0), 3, 2, 15, 75);
    CreateWalls((-8146, -626, 1018), (-8023, -661, 1078));
    CreateWalls((-8178, -623, 988), (-8291, -1065, 1078));
    CreateWalls((-7592, -822, 1018),(-7695, -1200, 1048));
    CreateWalls((-7695, -1200, 1018),(-8253, -1043, 1048));
    CreateWalls((-8253, -1043, 1018),(-8149, -647, 1048));
    CreateWalls((-8149, -647, 1018),(-7592, -822, 1048));
    CreateRamps((-7958, -1092, 928), (-7688, -1170, 1014));
    CreateElevator((-7648, -1029, 928), (471, 447, 320));
    CreateWalls((-884, 3029, 410),(-701, 3028, 440));
    CreateWalls((-701, 3028, 410),(-717, 2836, 440));
    CreateWalls((-717, 2836, 410),(-870, 2826, 440));
    CreateWalls((-870, 2826, 410),(-884, 3028, 440));
    CreateWalls((-884, 3029, 470),(-701, 3028, 500));
    CreateWalls((-701, 3028, 470),(-717, 2836, 500));
    CreateWalls((-717, 2836, 470),(-870, 2826, 500));
    CreateWalls((-870, 2826, 470),(-884, 3028, 500));
    CreateElevator((-1528, 1175, 184), (-733, 2997, 410));
    CreateElevator((-852, 2997, 410), (471, 447, 320));
    }
    Last edited by Blubb1337; 10-22-2010 at 12:16 PM.

  2. #2
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    place it in a code next time like this
    Code:
    U dont need to scroll the hole page down
    And did you place this code on a mapedit.gsc??

  3. #3
    pizza127's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    home
    Posts
    268
    Reputation
    10
    Thanks
    13
    My Mood
    Yeehaw
    i just made this a MapEdit.gsc file then i replaced it with the original one

  4. #4
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    Added [code] tags.



Similar Threads

  1. [Help Request] script compile error
    By _kaotic_ in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 11-03-2011, 04:05 PM
  2. [Help]Script compile error.(rules readed this time)
    By GBot! in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 11
    Last Post: 08-15-2010, 09:33 AM
  3. [HELP]Why Script Compile Error?!
    By ♪~ ᕕ(ᐛ)ᕗ in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 08-03-2010, 05:59 AM
  4. Script compile error - Unknown function (check console for details)
    By Chaojon in forum Call of Duty Modern Warfare 2 Help
    Replies: 40
    Last Post: 07-01-2010, 10:20 PM
  5. Help WarRock compile error
    By djxorwkd11 in forum C++/C Programming
    Replies: 2
    Last Post: 03-08-2010, 08:37 AM