Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6778


Ignore:
Timestamp:
Apr 26, 2010, 3:40:16 PM (15 years ago)
Author:
gnadler
Message:
 
Location:
code/branches/rocket/src
Files:
16 added
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket/src/modules/weapons/projectiles/CMakeLists.txt

    r6417 r6778  
    55  LightningGunProjectile.cc
    66  Rocket.cc
     7  SimpleRocket.cc
    78)
  • code/branches/rocket/src/modules/weapons/weaponmodes/CMakeLists.txt

    r6417 r6778  
    66  LightningGun.cc
    77  RocketFire.cc
     8  SimpleRocketFire.cc
    89)
  • code/branches/rocket/src/orxonox/controllers/AIController.cc

    r5929 r6778  
    5757
    5858        // search enemy
    59         random = rnd(maxrand);
     59      /*  random = rnd(maxrand);
    6060        if (random < 15 && (!this->target_))
    61             this->searchNewTarget();
     61            this->searchNewTarget();*/
    6262
    6363        // forget enemy
    64         random = rnd(maxrand);
    65         if (random < 5 && (this->target_))
    66             this->forgetTarget();
     64        //random = rnd(maxrand);
     65        //if (random < 5 && (this->target_))
     66        //    this->forgetTarget();
    6767
    6868        // next enemy
    69         random = rnd(maxrand);
     69  /*      random = rnd(maxrand);
    7070        if (random < 10 && (this->target_))
    71             this->searchNewTarget();
     71            this->searchNewTarget();*/
    7272
    7373        // fly somewhere
     
    8787
    8888        // shoot
    89         random = rnd(maxrand);
    90         if (random < 75 && (this->target_ && !this->bShooting_))
    91             this->bShooting_ = true;
     89        //random = rnd(maxrand);
     90        //if (random < 75 && (this->target_ && !this->bShooting_))
     91        //    this->bShooting_ = true;
    9292
    93         // stop shooting
    94         random = rnd(maxrand);
    95         if (random < 25 && (this->bShooting_))
    96             this->bShooting_ = false;
     93        //// stop shooting
     94        //random = rnd(maxrand);
     95        //if (random < 25 && (this->bShooting_))
     96        //    this->bShooting_ = false;
    9797    }
    9898
  • code/branches/rocket/src/orxonox/controllers/CMakeLists.txt

    r6417 r6778  
    88  WaypointController.cc
    99  WaypointPatrolController.cc
     10  RocketController.cc
    1011)
  • code/branches/rocket/src/orxonox/worldentities/CMakeLists.txt

    r6417 r6778  
    1212  SpawnPoint.cc
    1313  TeamSpawnPoint.cc
     14  Drone.cc
    1415)
    1516
Note: See TracChangeset for help on using the changeset viewer.