GSC Black Ops 2 xPonyxAssassinxs Rcxd Bridge And AGR Bridge code

Messages
19
Points
8
Code:
agrbridge()
{
    if( level.realbridgespawned == 0 )
    {
        self iprintln( "^1Bridge ^2Spawned" );
        wp1( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp1( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp1( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp1( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp1( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp1( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.realbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the bridge!" );
    }
}

rcxdbridge()
{
    if( level.rcbridgespawned == 0 )
    {
        self iprintln( "^5RCxD ^1Bridge ^2Spawned" );
        wp2( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp2( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp2( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp2( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp2( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp2( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.rcbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the RCxD bridge!" );
    }
}

mixedbridge()
{
    if( level.mixedbridgespawned == 0 )
    {
        self iprintln( "^6Mixed ^1Bridge ^2Spawned" );
        wp( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp1( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp1( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.mixedbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the Mixed bridge!" );
    }
}

falgbridge()
{
    if( level.falgbridgespawned == 0 )
    {
        self iprintln( "^2Flag ^1Bridge ^2Spawned" );
        wp3( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        wp3( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.falgbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the Flag bridge!" );
    }
}

wp( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "t6_wpn_supply_drop_ally" );
        i = i + 2;
    }

}

wp1( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "veh_t6_drone_tank" );
        i = i + 2;
    }
}

wp2( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "veh_t6_drone_rcxd" );
        i = i + 2;
    }

}

wp3( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "mp_flag_red" );
        i = i + 2;
    }
}
 
Last edited by a moderator:

candy

G59 Terrorist
Staff member
Donator
Messages
1,301
Points
548
Code:
agrbridge()
{
    if( level.realbridgespawned == 0 )
    {
        self iprintln( "^1Bridge ^2Spawned" );
        wp1( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp1( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp1( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp1( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp1( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp1( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.realbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the bridge!" );
    }
}

rcxdbridge()
{
    if( level.rcbridgespawned == 0 )
    {
        self iprintln( "^5RCxD ^1Bridge ^2Spawned" );
        wp2( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp2( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp2( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp2( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp2( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp2( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.rcbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the RCxD bridge!" );
    }
}

mixedbridge()
{
    if( level.mixedbridgespawned == 0 )
    {
        self iprintln( "^6Mixed ^1Bridge ^2Spawned" );
        wp( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp1( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp1( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.mixedbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the Mixed bridge!" );
    }
}

falgbridge()
{
    if( level.falgbridgespawned == 0 )
    {
        self iprintln( "^2Flag ^1Bridge ^2Spawned" );
        wp3( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp( "25,90,450,90,25,120,450,120,25,150,450,150,25,180,450,180,25,210,450,210", 0, 0 );
        wp( "50,90,425,90,50,120,425,120,50,150,425,150,50,180,425,180,50,210,425,210", 20, 0 );
        wp( "75,90,400,90,75,120,400,120,75,150,400,150,75,180,400,180,75,210,400,210", 40, 0 );
        wp( "100,90,375,90,100,120,375,120,100,150,375,150,100,180,375,180,100,210,375,210", 60, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,120,150,120,175,120,200,120,225,120,250,120,275,120,300,120,325,120,350,120,125,150,150,150,175,150,200,150,225,150,250,150,275,150,300,150,325,150,350,150,125,180,150,180,175,180,200,180,225,180,250,180,275,180,300,180,325,180,350,180,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 80, 0 );
        wp( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        wp3( "125,90,150,90,175,90,200,90,225,90,250,90,275,90,300,90,325,90,350,90,125,210,150,210,175,210,200,210,225,210,250,210,275,210,300,210,325,210,350,210", 115, 0 );
        level.falgbridgespawned = 1;
    }
    else
    {
        self iprintln( "^1You already spawned the Flag bridge!" );
    }
}

wp( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "t6_wpn_supply_drop_ally" );
        i = i + 2;
    }

}

wp1( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "veh_t6_drone_tank" );
        i = i + 2;
    }
}

wp2( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "veh_t6_drone_rcxd" );
        i = i + 2;
    }

}

wp3( d, z, p )
{
    l = strtok( d, "," );
    i = 0;
    while( i < l.size )
    {
        b = spawn( "script_model", self.origin + ( int( l[ i] ), int( l[ i + 1] ), z ) );
        if( !(p) )
        {
            b.angles = ( 90, 0, 0 );
        }
        b setmodel( "mp_flag_red" );
        i = i + 2;
    }
}
Updated your thread. Make sure you use the CODE tags, they fit just fine. :relaxed:
 

Top