Results 1 to 5 of 5

Thread: Cod 2 bots

  1. #1
    Private
    Join Date
    Feb 2018
    Posts
    28
    Thanks
    12
    Thanked 17 Times in 16 Posts

    Cod 2 bots

    Hello, i have problem with MeatBot on Linux dedicated server(using damage99 libcod)
    Bots doesn't moving and shooting

  2. #2
    Sergeant maxdamage99's Avatar
    Join Date
    Aug 2014
    Location
    Russia
    Posts
    394
    Thanks
    74
    Thanked 91 Times in 77 Posts
    write your bots script-logic
    write shit code's

  3. #3
    Private
    Join Date
    Feb 2018
    Posts
    28
    Thanks
    12
    Thanked 17 Times in 16 Posts


    Hello how to fix bot moving? need to use the animation?

    PHP Code:
    goToNode(nodeOrg)
    {
        
    self endon("killed_player");
        
    self endon("stopmove");
      
        if(
    nodeOrg == self.botorg.origin || isDefined(self.skipmove))
        {
            
    self.skipmove undefined;
            
    self.state "idle";
            return;
        }
      
        
    dist distance(self.botorg.originnodeOrg); // Cepe7a
        
    moveTime dist/level.movespeed;
        
    target vectorNormalize(nodeOrg self.origin);
        
    angles vectorToAngles(target);
      

        
    self StopRotate();
        
    self thread DoRotateOrg(nodeOrgrandomFloat(2-(level.botskill*0.2))+0.1); 

        
    self thread mbot_playLoopSound("step_bot_run".43);
        
    self.botorg moveto(nodeOrgmoveTime00);
        
        while (
    1)
        {
            if (
    distance(self.originnodeOrg) < 32)
            {
                
    self.state "idle";
                return;
            }
            
    wait 0.1;
        }

    And have problem with spawn points

    Click image for larger version. 

Name:	spawn.png 
Views:	12 
Size:	298.2 KB 
ID:	1595

  4. #4
    Private Paho's Avatar
    Join Date
    Feb 2014
    Location
    Russia
    Posts
    86
    Thanks
    41
    Thanked 38 Times in 29 Posts
    Click image for larger version. 

Name:	shot0001.jpg 
Views:	15 
Size:	418.3 KB 
ID:	1596
    Click image for larger version. 

Name:	shot0004.jpg 
Views:	18 
Size:	393.5 KB 
ID:	1597

  5. #5
    Private
    Join Date
    Feb 2018
    Posts
    28
    Thanks
    12
    Thanked 17 Times in 16 Posts
    Click image for larger version. 

Name:	shot0007.jpg 
Views:	17 
Size:	363.1 KB 
ID:	1598

Posting Permissions

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