Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7840


Ignore:
Timestamp:
Jan 31, 2011, 9:30:13 PM (14 years ago)
Author:
jo
Message:

Creating a console command.

Location:
code/branches/ai/src/orxonox/controllers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ai/src/orxonox/controllers/AIController.cc

    r7833 r7840  
    2626 *
    2727 */
    28 
     28//TODO: intended behaviour: when a bot has a target_ it shouldn't move away.
    2929#include "AIController.h"
    3030
  • code/branches/ai/src/orxonox/controllers/ArtificialController.cc

    r7834 r7840  
    5151    SetConsoleCommand("ArtificialController", "followme",         &ArtificialController::followme);
    5252    SetConsoleCommand("ArtificialController", "passivebehaviour", &ArtificialController::passivebehaviour);
    53     SetConsoleCommand("ArtificialController", "formationsize",    &ArtificialController::formationsize);
     53    SetConsoleCommand("ArtificialController", "botlevel",         &ArtificialController::setBotLevel);
     54   
    5455
    5556    static const unsigned int STANDARD_MAX_FORMATION_SIZE = 7;
     
    8687        this->bSetupWorked = false;
    8788        this->numberOfWeapons = 0;
    88         this->botlevel_ = 1.0f;
     89        this->botlevel_ = 10.0f;
    8990    }
    9091
Note: See TracChangeset for help on using the changeset viewer.