Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. need help with script

need help with script

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
7 Posts 3 Posters 503 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.
  • Angry Catundefined Offline
    Angry Catundefined Offline
    Angry Cat
    wrote on last edited by
    #1

    im trying to make jetgun never overheat

    1 Reply Last reply
    0
    • chicken emojiundefined Offline
      chicken emojiundefined Offline
      chicken emoji
      wrote on last edited by
      #2

      The never_overheat function is from the source code and it basically sets the overheat of the weapon to 0 every 0.05 seconds so it wont overheat when you fire the weapon

      init()
      {
      	level onplayerconnect();
      }
      
      onplayerconnect()
      {
      	for(;;)
      	{
      		level waittill( "connecting", player );
      		player thread never_overheat();
      	}
      }
      
      never_overheat()
      {
      	self endon( "disconnect" );
      	while ( 1 )
      	{
      		if ( self getcurrentweapon() == "jetgun_zm" )
      		{
      			self setweaponoverheating( 0, 0 );
      		}
      		wait 0.05;
      	}
      }
      
      1 Reply Last reply
      0
      • Angry Catundefined Offline
        Angry Catundefined Offline
        Angry Cat
        wrote on last edited by
        #3

        thx bro

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

          so does it mean that it wont break or will it be usable with no limit cuz thats too op 😅

          Angry Catundefined 1 Reply Last reply
          0
          • GhostRider0125undefined GhostRider0125

            so does it mean that it wont break or will it be usable with no limit cuz thats too op 😅

            Angry Catundefined Offline
            Angry Catundefined Offline
            Angry Cat
            wrote on last edited by
            #5

            GhostRider0125 i think it means it wont break, I will try and make it more balanced when I release my tranzit pack

            1 Reply Last reply
            1
            • GhostRider0125undefined Offline
              GhostRider0125undefined Offline
              GhostRider0125
              Banned
              wrote on last edited by
              #6

              sick😁

              Angry Catundefined 1 Reply Last reply
              0
              • GhostRider0125undefined GhostRider0125

                sick😁

                Angry Catundefined Offline
                Angry Catundefined Offline
                Angry Cat
                wrote on last edited by
                #7

                GhostRider0125 i meant to put if i release my tranzit mod because i dont really have the time lol

                1 Reply Last reply
                1

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                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
                • Unread 0
                • Recent
                • Tags
                • Popular
                • Users
                • Groups