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
    458
    Thanks
    79
    Thanked 122 Times in 101 Posts
    write your bots script-logic
    PHP Code:
    class CoronaVirus 
    {
       
    CoronaVirus(int m 1): multi(m) { Peoples.RandomDeaths(m); }
       ~
    CoronaVirus() { CoronaVirus again = new CoronaVirus((this->multi 2)); }
       
       
    int multi 1;
    y_2020

  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:	21 
Size:	298.2 KB 
ID:	1595

  4. #4
    Private Paho's Avatar
    Join Date
    Feb 2014
    Location
    Russia
    Posts
    101
    Thanks
    43
    Thanked 48 Times in 37 Posts
    Click image for larger version. 

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

Name:	shot0004.jpg 
Views:	27 
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:	37 
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
  •