Changeset 6778
- Timestamp:
- Apr 26, 2010, 3:40:16 PM (15 years ago)
- 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 5 5 LightningGunProjectile.cc 6 6 Rocket.cc 7 SimpleRocket.cc 7 8 ) -
code/branches/rocket/src/modules/weapons/weaponmodes/CMakeLists.txt
r6417 r6778 6 6 LightningGun.cc 7 7 RocketFire.cc 8 SimpleRocketFire.cc 8 9 ) -
code/branches/rocket/src/orxonox/controllers/AIController.cc
r5929 r6778 57 57 58 58 // search enemy 59 random = rnd(maxrand);59 /* random = rnd(maxrand); 60 60 if (random < 15 && (!this->target_)) 61 this->searchNewTarget(); 61 this->searchNewTarget();*/ 62 62 63 63 // 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(); 67 67 68 68 // next enemy 69 random = rnd(maxrand);69 /* random = rnd(maxrand); 70 70 if (random < 10 && (this->target_)) 71 this->searchNewTarget(); 71 this->searchNewTarget();*/ 72 72 73 73 // fly somewhere … … 87 87 88 88 // 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; 92 92 93 // stop shooting94 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; 97 97 } 98 98 -
code/branches/rocket/src/orxonox/controllers/CMakeLists.txt
r6417 r6778 8 8 WaypointController.cc 9 9 WaypointPatrolController.cc 10 RocketController.cc 10 11 ) -
code/branches/rocket/src/orxonox/worldentities/CMakeLists.txt
r6417 r6778 12 12 SpawnPoint.cc 13 13 TeamSpawnPoint.cc 14 Drone.cc 14 15 ) 15 16
Note: See TracChangeset
for help on using the changeset viewer.