09-21-2012, 08:30
(This post was last modified: 09-21-2012, 08:37 by pap12322221112.)
put this where int is init()
Code:
{
level thread dospawner();
then my code its big not that yet fix but you my fellow moders can look at it acturally i need help makeing the bunkerrr more stright like long ways not angel but here my code doSpawner()
{
level.bunkerrr[0] = spawnRow( -1345, 708, -30 );
level.bunkerrr[1] = spawnRow( -1236, 773, -30 );
level.bunkerrr[2] = spawnRow( -1150, 838, -30 );
level.bunkerrr[3] = spawnRow( -1123, 903, -30 );
level.bunkerrr[4] = spawnRow( -1088, 968, -30 );
level.bunkerrr[6] = spawnRow( -1228, 708, -15 );
level.bunkerrr[7] = spawnRow( -1088, 968, -15 );
level.bunkerrr[8] = spawnRow( -1228, 708, 20 );
level.bunkerrr[9] = spawnRow( -1088, 968, 20 );
level.bunkerrr[10] = spawnRow( -1228, 668, 50 );
level.bunkerrr[11] = spawnRow( -1228, 628, 80 );
level.bunkerrr[12] = spawnRow( -1228, 500, 110 );
level.bunkerrr[13] = spawnRow( -1228, 548, 140 );
level.bunkerrr[14] = spawnRow( -1228, 508, 140 );
level.bunkerrr[15] = spawnRow( -1228, 468, 140 );
level.bunkerrr[16] = spawnRow( -1228, 428, 140 );
level.bunkerrr[17] = spawnRow( -1228, 388, 140 );
level.bunkerrr[18] = spawnRow( -1228, 348, 140 );
level.bunkerrr[19] = spawnRow( -1228, 308, 140 );
level.bunkerrr[20] = spawnRow( -528, 548, 25 );
level.bunkerrr[21] = spawnRow( 1228, 308, 400 );
level.bunkerrr[13] = spawnRow( 1228, 548, 400 );
level.bunkerrr[14] = spawnRow( 1228, 508, 400 );
level.bunkerrr[15] = spawnRow( 1228, 468, 400 );
level.bunkerrr[16] = spawnRow( 1228, 428, 400 );
level.bunkerrr[17] = spawnRow( 1228, 388, 400 );
level.bunkerrr[18] = spawnRow( 1228, 348, 400 );
level.bunkerrr[19] = spawnRow( 1228, 308, 400 );
level.bunkerrr[20] = spawnRow( 1228, 408, 400 );
level.bunkerrr[21] = spawnRow( 800, 500, 403 );
level.bunkerrr[22] = spawnRow( 1500, 600, 700 );
level.bunkerrr[23] = spawnRow( 1600, 601, 704 );
level.bunkerrr[24] = spawnRow( 550, 600, 120 );
level.bunkerrr[25] = spawnRow( 597, 658, 139 );
level.bunkerrr[26] = spawnRow( 650, 703, 190 );
level.bunkerrr[27] = spawnRow( 660, 714, 209 );
level.bunkerrr[28] = spawnRow( 680, 726, 230 );
level.bunkerrr[29] = spawnRow( 700, 800, 300 );
level.bunkerrr[30] = spawnRow( 829, 869, 370 );
level.bunkerrr[31] = spawnRow( 860, 908, 406 );
level.bunkerrr[32] = spawnRow( 890, 989, 489 );
level.bunkerrr[33] = spawnRow( 890, 102, -30 );
level.bunkerrr[34] = spawnRow( 890, 199, -30 );
level.bunkerrr[35] = spawnRow( 890, 201 -30 );
level.bunkerrr[36] = spawnRow( 890, 202 -30 );
level.bunkerrr[37] = spawnRow( 908, 300, -90 );
level.bunkerrr[38] = spawnRow( 908, 301, -90 );
level.bunkerrr[40] = spawnRow( 908, 302, -90 );
level.bunkerrr[41] = spawnRow( 908, 303, -90 );
level.bunkerrr[42] = spawnRow( 908, 304, -90 );
level.bunkerrr[43] = spawnRow( 919, 402, -100 );
level.bunkerrr[44] = spawnRow( 919, 403, -100 );
level.bunkerrr[45] = spawnRow( 919, 404, -100 );
level.bunkerrr[46] = spawnRow( 920, 405, -100 );
level.bunkerrr[47] = spawnRow( 921, 406, -100 );
level.bunkerrr[48] = spawnRow( 400, 120, -700 );
level.bunkerrr[49] = spawnRow( 400, 121, -700 );
level.bunkerrr[50] = spawnRow( 400, 122, -700 );
level.bunkerrr[51] = spawnRow( 600, 293, 1209 );
level.bunkerrr[52] = spawnRow( 600, 294, 1209 );
level.bunkerrr[53] = spawnRow( 600, 295, 1209 );
level.bunkerrr[54] = spawnRow( 600, 297, 1210 );
level.bunkerrr[55] = spawnRow( 600, 298, 1211 );
level.bunkerrr[56] = spawnRow( 600, 299, 1212 );
level.bunkerrr[57] = spawnRow( 600, 300, 1213 );
level.bunkerrr[58] = spawnRow( 600, 3001, 1214 );
level.bunkerrr[59] = spawnRow( 500, 100, 400 );
level.bunkerrr[60] = spawnRow( 501, 299, 456 );
level.bunkerrr[61] = spawnRow( 678, 345, 460 );
level.bunkerrr[62] = spawnRow( 699, 499, 887 );
level.bunkerrr[63] = spawnRow( 600, 295, 900 );
level.bunkerrr[64] = spawnRow( 600, 187, 765 );
level.bunkerrr[65] = spawnRow( 600, 121, 1209 );
level.bunkerrr[66] = spawnRow( 600, 299, 656 );
level.bunkerrr[67] = spawnRow( 456, 277, 709 );
level.bunkerrr[68] = spawnRow( 567, 295, 1207 );
level.bunkerrr[69] = spawnRow( 580, 145, 1209 );
level.bunkerrr[70] = spawnRow( 423, 221, 875 );
level.bunkerrr[71] = spawnRow( 853, 255, 215 );
level.bunkerrr[72] = spawnRow( 124, 434, 878 );
level.bunkerrr[73] = spawnRow( 809, 611, 100 );
level.bunkerrr[74] = spawnRow( 423, 123, 1345 );
level.bunkerrr[75] = spawnRow( 975, 199, 301 );
level.bunkerrr[76] = spawnRow( 112, 321, 604 );
level.bunkerrr[77] = spawnRow( 119, 381, 699);
level.bunkerrr[78] = spawnRow( 187, 391, 781 );
level.bunkerrr[79] = spawnRow( 187, 391, 780);
level.bunkerrr[80] = spawnRow( 187, 391, 779 );
level.bunkerrr[81] = spawnRow( 187, 391, 778 );
level.bunkerrr[82] = spawnRow( 321, 343, 127 );
level.bunkerrr[83] = spawnRow( 100, 700, 111 );
level.bunkerrr[84] = spawnRow( 231, 345, 679);
level.bunkerrr[85] = spawnRow( 1234, 320, 822);
level.bunkerrr[86] = spawnRow( 231, 345, 679);
level.bunkerrr[87] = spawnRow( 231, 345, 679);
level.bunkerrr[88] = spawnRow( 231, 315, 699);
level.bunkerrr[89] = spawnRow( 231, 345, 659);
level.bunkerrr[90] = spawnRow( 231, 345, 679);
level.bunkerrr[91] = spawnRow( 231, 345, 679);
level.bunkerrr[92] = spawnRow( 120, 133, 989);
}
spawnRow( begin, next, height )
{
for( i = 0; i < 7; i++ )
{
crate[i] = spawn( "script_model", ( begin - ( i * 35 ), next + ( i * 14 ), height ) );
crate[i] setModel( "mp_supplydrop_boobytrapped" );
crate[i].angles = ( 0, 60, 0 );
wait 0.01;
}
}
spawnBox() //Put this "level thread spawnBox();" in Init()
{
level.mBox = spawn( "script_model", ( -1332, 800, -15 ) );
level.mBox setModel( "weapon_M60_mp_detect" );
level.mBox.angles = ( 0, 99, 0 );
level.mGun = spawn( "script_model", level.mBox.origin );
level.mGun setModel( GetWeaponModel( "claymore_mp" ) );
level.mGun.angles = level.mBox.angles + ( 0, 90, 0 );
level.mGun hide();
level.aBox = spawn( "script_model", ( -1234, 969, -15 ) );
level.aBox setModel( "mp_supplydrop_axis" );
level.aBox.angles = ( 0, 10, 0 );
level.fHS10 = spawn( "script_model", ( -1125, 943, -8 ) );
level.fHS10 setModel( GetWeaponModel( "hs10_mp" ) );
level.fHS10.angles = ( 0, 158, 0 );
level.fM16 = spawn( "script_model", ( -1304, 1015, -8 ) );
level.fM16 setModel( GetWeaponModel( "m16_mp" ) );
level.fM16.angles = ( 0, 158, 0 );
level.fM14 = spawn( "script_model", ( -1230, 747, -8 ) );
level.fM14 setModel( GetWeaponModel( "m14_mp" ) );
level.fM14.angles = ( 0, 158, 0 );
level.fEnfield = spawn( "script_model", ( -1416, 830, -8 ) );
level.fEnfield setModel( GetWeaponModel( "enfield_mp" ) );
level.fEnfield.angles = ( 0, 158, 0 );
level.fAk47 = spawn( "script_model", ( -1230, 707, 48 ) );
level.fAk47 setModel( GetWeaponModel( "ak47_mp" ) );
level.fAk47.angles = ( 0, 158, 0 );
}
doMVars() //Put this in onPlayerConnect() "player thread doMVars();"
{
level.using = 0;
level.guns = strtok( "aug|m16|spas|famas|rpk|rpg|m72_law|commando|python|ak74u|l96a1|fnfal|cz75|spectre|hk21|crossbow_explosive|knife_ballistic|m60|stoner63", "|" );
}