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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. Enhanced SpeedCola

Enhanced SpeedCola

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
3 Posts 3 Posters 308 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Demios4w4undefined Offline
    Demios4w4undefined Offline
    Demios4w4
    wrote last edited by
    #1

    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" );
        }
    }
    1 Reply Last reply
    4
    • Nice555undefined Offline
      Nice555undefined Offline
      Nice555
      wrote last edited by
      #2

      great work

      1 Reply Last reply
      0
      • GhostRider0125undefined Offline
        GhostRider0125undefined Offline
        GhostRider0125
        Banned
        wrote last edited by
        #3

        Bruh this is even more busted now😂

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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