Changeset 3053 for code/trunk/src/orxonox/objects/weaponsystem
- Timestamp:
- May 25, 2009, 4:19:14 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 1 edited
- 50 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/weapons (added) merged: 2898,2901,2912,2914-2915,2918-2924,2969,2979,2981,2983,2987,3012
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/objects/weaponsystem/Munition.cc
r3052 r3053 404 404 return (this->magazines_ >= amount); 405 405 } 406 407 return false; 406 408 } 407 409 -
code/trunk/src/orxonox/objects/weaponsystem/MuzzleFlash.cc
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/weaponsystem/MuzzleFlash.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/weaponsystem/WeaponSystem.cc
- Property svn:mergeinfo deleted
-
code/trunk/src/orxonox/objects/weaponsystem/WeaponSystem.h
- Property svn:mergeinfo deleted
-
code/trunk/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.cc
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/weaponsystem/projectiles/LightningGunProjectile.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/EnergyDrink.cc
- Property svn:eol-style set to native
r3052 r3053 52 52 this->speed_ = 2500; 53 53 this->delay_ = 0; 54 this->setMunitionName(" EnergyDrink");54 this->setMunitionName("FusionMunition"); 55 55 56 56 this->delayTimer_.setTimer(1.0f, false, this, createExecutor(createFunctor(&EnergyDrink::shot))); … … 104 104 { 105 105 Projectile* projectile = new Projectile(this); 106 107 108 109 110 106 Model* model = new Model(projectile); 107 model->setMeshSource("can.mesh"); 108 model->setCastShadows(false); 109 projectile->attach(model); 110 model->setScale(5); 111 111 112 112 projectile->setOrientation(this->getMuzzleOrientation()); -
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/EnergyDrink.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/FusionFire.cc
- Property svn:mergeinfo deleted
-
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/FusionFire.h
- Property svn:mergeinfo deleted
-
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/HsW01.cc
- Property svn:eol-style set to native
r3052 r3053 52 52 this->speed_ = 2500; 53 53 this->delay_ = 0; 54 this->setMunitionName(" HsW01");54 this->setMunitionName("LaserMunition"); 55 55 56 56 this->delayTimer_.setTimer(1.0f, false, this, createExecutor(createFunctor(&HsW01::shot))); … … 104 104 { 105 105 Projectile* projectile = new Projectile(this); 106 107 108 109 110 106 Model* model = new Model(projectile); 107 model->setMeshSource("laserbeam.mesh"); 108 model->setCastShadows(false); 109 projectile->attach(model); 110 model->setScale(5); 111 111 112 112 projectile->setOrientation(this->getMuzzleOrientation()); -
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/HsW01.h
- Property svn:eol-style set to native
-
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/LaserFire.cc
- Property svn:mergeinfo deleted
-
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/LaserFire.h
- Property svn:mergeinfo deleted
-
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/LightningGun.cc
- Property svn:eol-style set to native
r3052 r3053 53 53 this->damage_ = 100; 54 54 this->speed_ = 150; 55 55 56 56 this->setMunitionName("LaserMunition"); 57 57 } 58 58 59 59 LightningGun::~LightningGun() 60 60 { … … 65 65 LightningGunProjectile* projectile = new LightningGunProjectile(this); 66 66 projectile->setMaterial("Flares/LightningBall_"); 67 67 68 68 projectile->setOrientation(this->getMuzzleOrientation()); 69 69 projectile->setPosition(this->getMuzzlePosition()); -
code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/LightningGun.h
- Property svn:eol-style set to native
Note: See TracChangeset
for help on using the changeset viewer.