Skip to content
  • 0 Unread 0
  • Recent
  • Popular
  • Users
  • Donate
Collapse

Plutonium

  1. Home
  2. MW3 Modding Support & Discussion
  3. Any way to disable specific death streaks from bots? (Bot Warfare mod)

Any way to disable specific death streaks from bots? (Bot Warfare mod)

Scheduled Pinned Locked Moved MW3 Modding Support & Discussion
4 Posts 2 Posters 1.3k 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.
  • Okami Amaterasu Offline
    Okami Amaterasu Offline
    Okami Amaterasu
    wrote on last edited by
    #1

    I've been trying to find a way to disable Final Stand specifically for the bots, attempts to disable it with the in-game custom class restrictions didn't work as they just ignored the restrictions anyway, and disabling "op loadouts" option in the files also disables their use of the SMAW, which is a running gag amongst my friends (seeing people eat a rocket by a jumping bot will never get old).

    Final stand is awful since it grants i-frames as they're going down, even letting them tank a MOAB and they love having it on all their classes, so I'd like to just specifically disable that.

    Kalitos 1 Reply Last reply
    0
    • Okami Amaterasu Okami Amaterasu

      I've been trying to find a way to disable Final Stand specifically for the bots, attempts to disable it with the in-game custom class restrictions didn't work as they just ignored the restrictions anyway, and disabling "op loadouts" option in the files also disables their use of the SMAW, which is a running gag amongst my friends (seeing people eat a rocket by a jumping bot will never get old).

      Final stand is awful since it grants i-frames as they're going down, even letting them tank a MOAB and they love having it on all their classes, so I'd like to just specifically disable that.

      Kalitos Offline
      Kalitos Offline
      Kalitos
      wrote on last edited by
      #2

      Okami Amaterasu With this script, you don't restrict what you want, but it won't allow bots to get any deathstreaks.

      #include maps\mp\gametypes\_class;
      #include common_scripts\utility;
      #include maps\mp\_utility;
      #include maps\mp\gametypes\_hud_util;
      
      
      init() 
      {
      	level thread connect();
      
      }
      
      connect() 
      {
          for(;;){
              level waittill("connected", player);
      		if(IsDefined( player.pers[ "isBot" ] ) && player.pers[ "isBot" ] )
      			player thread onPlayerKilled();
          }
      }
      
      onPlayerKilled() 
      {
          self endon("disconnect");
          level endon("game_ended");
          for(;;)
          {
              self waittill("killed_player");
              self.pers["cur_death_streak"] = 0; //Stop deathstreak
          }
      }  
      
      Okami Amaterasu 1 Reply Last reply
      1
      • Kalitos Kalitos

        Okami Amaterasu With this script, you don't restrict what you want, but it won't allow bots to get any deathstreaks.

        #include maps\mp\gametypes\_class;
        #include common_scripts\utility;
        #include maps\mp\_utility;
        #include maps\mp\gametypes\_hud_util;
        
        
        init() 
        {
        	level thread connect();
        
        }
        
        connect() 
        {
            for(;;){
                level waittill("connected", player);
        		if(IsDefined( player.pers[ "isBot" ] ) && player.pers[ "isBot" ] )
        			player thread onPlayerKilled();
            }
        }
        
        onPlayerKilled() 
        {
            self endon("disconnect");
            level endon("game_ended");
            for(;;)
            {
                self waittill("killed_player");
                self.pers["cur_death_streak"] = 0; //Stop deathstreak
            }
        }  
        
        Okami Amaterasu Offline
        Okami Amaterasu Offline
        Okami Amaterasu
        wrote on last edited by
        #3

        Kalitos Oh, thanks! Though where would I put this?

        Kalitos 1 Reply Last reply
        0
        • Okami Amaterasu Okami Amaterasu

          Kalitos Oh, thanks! Though where would I put this?

          Kalitos Offline
          Kalitos Offline
          Kalitos
          wrote on last edited by Kalitos
          #4

          Okami Amaterasu https://plutonium.pw/docs/modding/loading-mods/#iw5
          Follow the link, copy the above code into a file and save it "restrict.gsc" and then copy where the link tells you. You must do it on your server

          1 Reply Last reply
          0

          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
          • Popular
          • Users
          • Donate