Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • 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 331 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Okami Amaterasuundefined Offline
    Okami Amaterasuundefined 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.

    Kalitosundefined 1 Reply Last reply
    0
    • Kalitosundefined Offline
      Kalitosundefined Offline
      Kalitos
      replied to Okami Amaterasu 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 Amaterasuundefined 1 Reply Last reply
      1
      • Okami Amaterasuundefined Offline
        Okami Amaterasuundefined Offline
        Okami Amaterasu
        replied to Kalitos on last edited by
        #3

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

        Kalitosundefined 1 Reply Last reply
        0
        • Kalitosundefined Offline
          Kalitosundefined Offline
          Kalitos
          replied to Okami Amaterasu 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

          • Login

          • Don't have an account? Register

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