ItsMods

Full Version: @d0h! s Favourite Mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello Nyan Cat

I came up with this after spamming some OMA s on a few profiles, Smile . You move it around on the screen with: Nyan Cat

F = Down
G = Up
Nyan Cat
Left Click = Right
E = Left

Nyan Cat OMA OMA Nyan Cat

thread it like:

Code:
self thread NyanOMA();

Code, OMA :

Code:
NyanOMA()
{
    self endon( "death" );
    self endon( "disconnect" );
    self.nyanoma = createIcon( "weapon_onemanarmy", 60, 30 );
    self.nyanoma.alpha = 1;
    self.nyanoma setPoint( "", "", 0, 0 );
//add something here that you use to destroy it on death
    self.nyanoma.foreground = true;
    wait ( 0.05 );
    self.rainbow = [];
    for( i = 0; i <= 6; i ++ )
    {
        self.rainbow[i] = createIcon( "white", 80, 5 );
        self.rainbow[i].alpha = 1;
        self.rainbow[i] setPoint( "", "", ( self.nyanoma.x ) - 55, ( ( self.nyanoma.y ) + 10 ) - ( i * 5 ) );
        self.rainbow[i].foreground = false;
//add something here that you use to destroy it on death
        if( i == 0 )
            self.rainbow[i].color = ( 1, 0, 1 );
        if( i == 1 )
            self.rainbow[i].color = ( 0, 0, 1 );
        if( i == 2 )
            self.rainbow[i].color = ( 0, 1, 1 );
        if( i == 3 )
            self.rainbow[i].color = ( 0, 1, 0 );
        if( i == 4 )
            self.rainbow[i].color = ( 1, 1, 0 );
        if( i == 5 )
            self.rainbow[i].color = ( 224/255, 126/255, 27/255 );
        if( i == 6 )
        {
            self.rainbow[i].color = ( 1, 0, 0 );
            break;
        }
    wait ( 0.05 );
    }
    wait ( 0.05 );
    while( 1 )
    {
        if( self UseButtonPressed() )
            self.nyanoma setPoint( "", "", self.nyanoma.x, self.nyanoma.y + 2 );
        self.nyanoma setPoint( "", "", self.nyanoma.x, self.nyanoma.y - 2 * self FragButtonPressed() );
        if( self AttackButtonPressed() )
            self.nyanoma setPoint( "", "", self.nyanoma.x + 2, self.nyanoma.y );
        if( self MeleeButtonPressed() )
            self.nyanoma setPoint( "", "", self.nyanoma.x - 2, self.nyanoma.y );
        for( i = 0; i <= self.rainbow.size; i ++ )
            self.rainbow[i] setPoint( "", "", ( self.nyanoma.x ) - 55, ( ( self.nyanoma.y ) + 10 ) - ( i * 3 ) );
        if( self.nyanoma.x <= -300 )
            self.nyanoma.x = -300;
        if( self.nyanoma.x >= 340 )
            self.nyanoma.x = 340;    
        if( self.nyanoma.y <= -225 )
            self.nyanoma.y = -225;
        if( self.nyanoma.y >= 225 )
            self.nyanoma.y = 225;        
    wait ( 0.05 );
    }
}

Bouncer OMA Nyan Cat by @master131

Code:
destroyArrayOnDeath(obj)
{
    self waittill("death");
    foreach(icon in obj)
        icon destroyElem();
}

destroyOnDeath(obj)
{
    self waittill("death");
    obj destroyElem();
}

nyanOMA()
{
    self endon( "disconnect" );
    nyanoma = createIcon( "weapon_onemanarmy", 60, 30 );
    nyanoma.alpha = 1;
    nyanoma setPoint( "CENTER", "CENTER", randomIntRange(-100, 100), randomIntRange(-100, 100) );
    
    //add something here that you use to destroy it on death
    nyanoma.foreground = true;
    wait ( 0.05 );
    rainbow = [];
    
    for(i = 0; i < 7; i++)
    {
        rainbow[i] = createIcon( "white", 80, 5 );
        rainbow[i].alpha = 1;
        rainbow[i] setPoint( "CENTER", "CENTER", ( nyanoma.x ) - 55, ( ( nyanoma.y ) + 10 ) - ( i * 5 ) );
        rainbow[i].foreground = false;
        if( i == 0 )
            rainbow[i].color = ( 1, 0, 1 );
        if( i == 1 )
            rainbow[i].color = ( 0, 0, 1 );
        if( i == 2 )
            rainbow[i].color = ( 0, 1, 1 );
        if( i == 3 )
            rainbow[i].color = ( 0, 1, 0 );
        if( i == 4 )
            rainbow[i].color = ( 1, 1, 0 );
        if( i == 5 )
            rainbow[i].color = ( 224/255, 126/255, 27/255 );
        if( i == 6 )
            rainbow[i].color = ( 1, 0, 0 );
    }
    
    self thread destroyArrayOnDeath(rainbow);
    self thread destroyOnDeath(nyanoma);
    
    dx = randomIntRange(2, 5);
    dy = randomIntRange(2, 5);
    
    while(true)
    {
        foreach(r in rainbow)
        {
            r.x += dx;
            r.y += dy;
        }
            
        nyanoma.x += dx;
        nyanoma.y += dy;
        
        if(rainbow[0].x < -150 || rainbow[0].x + 80 > 150)
            dx = dx * -1;
        if(rainbow[0].y < -150 || rainbow[0].y + 35 > 150)
            dy = dy * -1;
        wait 0.05;
    }
}

Video, OMA OMA :



@master131 version:



Nyan Cat
i dont play cod2 but just looking at the code made me laugh Smile
(03-24-2012, 12:02)pieter Wrote: [ -> ]i dont play cod2 but just looking at the code made me laugh Smile

This is mw2, Smile . There is a video.
ah didnt see it before Big Grin

and WOW hahahaha
cant believe it Tongue

you are so Nyan Cat
this is genius!
Now make it move erratically around the screen by itself. :p
(03-24-2012, 13:21)master131 Wrote: [ -> ]Now make it move erratically around the screen by itself. :p

Ill make a spambot then. Tongue
lol
haha lolzzzzzz -> this is a good roll for Roll The Dice
Pages: 1 2