Call in a nuke on Black ops

henry winkler Jan 9, 2011

  1. he

    henry winkler Gold Member Gold Subscriber
    0/47

    Joined:
    Oct 7, 2010
    Messages:
    250
    Likes Received:
    310
    Trophy Points:
    0
    Console:
    Nintendo
    [font="arial][size="2"]http://www.youtube.com/watch?v=rSiaYhqMg-w&feature=player_embedded

    Watch in HD

    Here's the code {WILL WORK ON JTAG} not just pc,

    Code:
    self thread CallinaNuke();
    self thread notifybutton();
    
    //Created By NITRAM
    
    CallinaNuke()
    {
            self endon ("disconnect");
            nuke = loadfx( "maps/mp_maps/fx_mp_nuked_nuclear_explosion" );
            for(;;) 
            {
                    self thread NukeTimer( 10 );
                    self waittill( "meleebuttonpressed" );
                    napalmSelectorSize = getDvarIntDefault( #"scr_napalmSelectorSize", 3000 );
                    self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
                    self.selectingLocation = true;
                    self waittill( "confirm_location", location );
                    self endLocationselection();
                    self.selectingLocation = false;
                    self notify( "Nuke", location );
                    self waittill( "finished_timer" );    
                    wait 3;
                    playfx( nuke, location+( 0, 0, 200 ) );
                    radiusdamage( location+( 0, 0, 200 ), 999999999, 3000, 900, self );
            }
    }
    
    NukeTimer( time )
    {
            self waittill( "Nuke", location );
            Timer = NewHudElem();
            Timer.elemType = "timer";
            Timer.alignX = "right";
            Timer.alignY = "top";
            Timer.horzAlign = "right";
            Timer.vertAlign = "top";
            Timer.y = 20;
            Timer.x = -27;
            Timer.foreground = true;
            Timer.hideWhenInMenu = true;
            Timer.fontScale = 1.3;
            Timer.font = "default";
            Timer.alpha = 1;
            Timer.color = ( 170, 170, 170 );
            Timer.glowColor = ( 1, 0, 0 );
            Timer.glowAlpha = 25;
            Timer SetTimer( time );
            Icon = NewHudElem();
            Icon.elemType = "icon";
            Icon.alignX = "right";
            Icon.alignY = "top";
            Icon.horzAlign = "right";
            Icon.vertAlign = "top";
            Icon.foreground = false;
            Icon.hideWhenInMenu = true;
            Icon.x = -10;
            Icon SetShader ( "rank_prestige15" ,60, 60 );
            clockObject = spawn( "script_origin", ( 0, 0, 0 ) );
            clockObject hide();
            for( i = 0; i < time + 1; i++ )
            {
                    clockObject playSound( "mpl_sab_ui_suitcasebomb_timer" );
                    wait 1;
            }
            Timer destroy();
            Icon  destroy();
            self notify( "finished_timer" );
            PlaySoundAtPosition( "amb_end_nuke", location+(0,0,200) );
    }
    
    notifybutton()
    {
            self endon("disconnect");
            for(;;)
            {
                    if(self meleebuttonpressed()) self notify("meleebuttonpressed");
                    wait .05;
            }
    }
    Full credits to Nitram[/size][/font]
     

Share This Page

Close