Results 1 to 10 of 14

Thread: SPRINT Mod For MeatBot COD2

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Wow! I haven't seen this version of my sprint mod for about 10 years. I think I made this version for the "Battle for Europe" online game site in 2006 or maybe 2007. I can't remember, it was that long ago. I've made about 3 different and better versions since then.

    Anyway, for this version of the mod, you have to edit maps\mp\gametypes\_sprint.gsc:

    Code:
    onPlayerKilled()
    {
    	self endon("disconnect");
    	
    	if( isBot( self ) )
    		return;
    
    	for(;;)
    	{
    		self waittill("killed_player");
    
    		self notify("kill_monitors");
    		
    		thread CleanupKilled();
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon("disconnect");
    
    	if( isBot( self ) )
    		return;
    
    	for(;;)
    	{
    		self waittill("spawned_player");
    
    		self.is_Sprinting = false;
    		self.sprint_stamina = level.sprint_time;
    		self.old_position = self.origin;
    
    		self thread Monitor_Sprint();
    	}
    }
    
    isbot( player )
    {
      if( GetSubStr( player.name, 0, 3 ) == "bot" ) 
    	return( true ); 
     
      return( false );
    }
    That's what Izno was saying - if a bot tries to enter the code, they are rejected.
    Last edited by Tally; 19th February 2018 at 21:29.

  2. The Following 3 Users Say Thank You to Tally For This Useful Post:

    G-Stuff002 (20th February 2018),IzNoGoD (19th February 2018),kung foo man (19th February 2018)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •