Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

Demios4w4undefined

Demios4w4

@Demios4w4
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Enhanced SpeedCola
    Demios4w4undefined Demios4w4

    3000 points just for reloading faster doesn't feel entirely fair, so I made a script that slightly improves SpeedCola now when you buy it, in addition to the reload speed. You drink Perks faster, aim faster, switch weapons faster, and throw grenades faster. Hope you like it 🙂

    #include maps\_utility;
    #include common_scripts\utility;
    #include maps\_zombiemode_utility;
    
    init()
    {
        level thread onPlayerConnect();
    }
    
    onPlayerConnect()
    {
        for(;;)
        {
            level waittill( "connected", player );
            player thread monitorSpeedColaPerks();
        }
    }
    
    monitorSpeedColaPerks()
    {
        self endon( "disconnect" );
    
        for(;;)
        {
            self waittill_any( "perk_acquired", "perk_lost" );
    
            if ( self HasPerk( "specialty_fastreload" ) )
            {
                if ( !self HasPerk( "specialty_fastads" ) )
                {
                    self SetPerk( "specialty_fastads" );
                }
                if ( !self HasPerk( "specialty_fastweaponswitch" ) )
                {
                    self SetPerk( "specialty_fastweaponswitch" );
                }
                if ( !self HasPerk( "specialty_fastequipmentuse" ) )
                {
                    self SetPerk( "specialty_fastequipmentuse" );
                }
            }
            else
            {
                if ( self HasPerk( "specialty_fastads" ) )
                {
                    self UnsetPerk( "specialty_fastads" );
                }
                if ( self HasPerk( "specialty_fastweaponswitch" ) )
                {
                    self UnsetPerk( "specialty_fastweaponswitch" );
                }
                if ( self HasPerk( "specialty_fastequipmentuse" ) )
                {
                    self UnsetPerk( "specialty_fastequipmentuse" );
                }
            }
        }
    }
    
    perk_give_override( perk )
    {
        self SetPerk( perk );
    
        if ( perk == "specialty_fastreload" )
        {
            self SetPerk( "specialty_fastads" );
            self SetPerk( "specialty_fastweaponswitch" );
            self SetPerk( "specialty_fastequipmentuse" );
        }
    }
    
    perk_lose_override( perk )
    {
        self UnsetPerk( perk );
    
        if ( perk == "specialty_fastreload" )
        {
            self UnsetPerk( "specialty_fastads" );
            self UnsetPerk( "specialty_fastweaponswitch" );
            self UnsetPerk( "specialty_fastequipmentuse" );
        }
    }
    BO2 Modding Releases & Resources

  • Any Weapon While Downed Mod
    Demios4w4undefined Demios4w4

    Just a little script that allows you to use any weapon while downed, just replace the mark 2 name with any weapon you want as long as it's on the map. it should override any pistol

    #include maps\_utility;
    #include common_scripts\utility;
    #include zm_laststand;
    
    init()
    {
        PrecacheItem("raygun_mark2_upgraded_zm");
        
        level.default_laststandpistol = "raygun_mark2_upgraded_zm";
        level.default_solo_laststandpistol = "raygun_mark2_upgraded_zm";
        
        level thread on_player_connect();
    }
    
    on_player_connect()
    {
        level endon("end_game");
        
        for(;;)
        {
            level waittill("connecting", player);
            player thread monitor_downed();
        }
    }
    
    monitor_downed()
    {
        self endon("disconnect");
        
        for(;;)
        {
            self waittill("player_downed");
            
            if (isDefined(level.default_laststandpistol) && self HasWeapon(level.default_laststandpistol))
            {
                self TakeWeapon(level.default_laststandpistol);
            }
            
            if (!self HasWeapon("raygun_mark2_upgraded_zm"))
            {
                self GiveWeapon("raygun_mark2_upgraded_zm");
                self SwitchToWeapon("raygun_mark2_upgraded_zm");
            }
            
            self waittill_any("player_revived", "player_died");
            
            if (self HasWeapon("raygun_mark2_upgraded_zm"))
            {
                self TakeWeapon("raygun_mark2_upgraded_zm");
            }
        }
    }
    
    BO2 Modding Releases & Resources
  • 1 / 1
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate