ItsMods

Full Version: Ideas.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Im working on No-Scope mod, (thanks to rotceh) and i have an idea but i cant get it to work.

I want
Pistol in class that has no ammo.
4 killstreak = Adrenaline (Gives you 1.5 speed for 20 sec)
7 killstreak = You get 3 ammo in your pistol (That is without any ammo normally) and i want my pistol to have 1 bullet 1 kill.

Thanks for help!
OMG A SNIPER MOD, I'm so excited!
(06-23-2011, 14:41)iAegle Wrote: [ -> ]OMG A SNIPER MOD, I'm so excited!
You are not helping.
Quote:No-Scope mod
&
Quote:Pistol in class
&
Quote:You get 3 ammo in your pistol and i want my pistol to have 1 bullet 1 kill
.
Thats it.







One question... you read my quotes, so
Quote:No-Scope mod
with
Quote:Pistol in class
that has
Quote:3 ammo
and also has
Quote: 1 bullet 1 kill
?????? WTF?! THis is not
Quote:No-Scope mod
, this isnt sniper mod at all.
and i am not helping too Wink
sorry for trolling Big Grin

here's the code
Code:
onPlayerspawned()
{
    self endon( "disconnect" );
    while( true )
    {
        self waittill( "spawned_player" );
        self thread customKillstreak( 4, ::adrenalineKillstreak );
        self thread customKillstreak( 7, ::ammoKillstreak );
    }
}

customKillstreak( Streak, function )
{
    self endon( "death" );
    
    for( i = 0; i < streak; i ++ )
        self waittill( "killed_player" );
        
    self thread [[function]]();
}

adrenalineKillstreak()
{
    self setMoveSpeedScale( 1.5 );
    
    wait 25;
    
    self setMoveSpeedScale( 1 );
}

ammoKillstreak()
{
    self setWeaponAmmoClip( "PISTOLNAME", 3 );
}

credits to Master131 if he cares about the credits...
(06-23-2011, 14:50)iAegle Wrote: [ -> ]sorry for trolling Big Grin

here's the code
Code:
onPlayerspawned()
{
    self endon( "disconnect" );
    while( true )
    {
        self waittill( "spawned_player" );
        self thread customKillstreak( 4, ::adrenalineKillstreak );
        self thread customKillstreak( 7, ::ammoKillstreak );
    }
}

customKillstreak( Streak, function )
{
    self endon( "death" );
    
    for( i = 0; i < streak; i ++ )
        self waittill( "killed_player" );
        
    self thread [[function]]();
}

adrenalineKillstreak()
{
    self setMoveSpeedScale( 1.5 );
    
    wait 25;
    
    self setMoveSpeedScale( 1 );
}

ammoKillstreak()
{
    self setWeaponAmmoClip( "PISTOLNAME", 3 );
}

credits to Master131 if he cares about the credits...
Thanks a lot!

G-Man - This is fucking killstreak dont you get it?!
Hes 2 dumb.