Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2009, 4:19:14 AM (15 years ago)
Author:
landauf
Message:

merged weapons branch back to trunk

Location:
code/trunk
Files:
1 edited
3 copied

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/objects/weaponsystem/weaponmodes/HsW01.cc

    • Property svn:eol-style set to native
    r3052 r3053  
    5252        this->speed_ = 2500;
    5353        this->delay_ = 0;
    54         this->setMunitionName("HsW01");
     54        this->setMunitionName("LaserMunition");
    5555
    5656        this->delayTimer_.setTimer(1.0f, false, this, createExecutor(createFunctor(&HsW01::shot)));
     
    104104    {
    105105        Projectile* projectile = new Projectile(this);
    106         Model* model = new Model(projectile);
    107         model->setMeshSource("laserbeam.mesh");
    108         model->setCastShadows(false);
    109         projectile->attach(model);
    110         model->setScale(5);
     106        Model* model = new Model(projectile);
     107        model->setMeshSource("laserbeam.mesh");
     108        model->setCastShadows(false);
     109        projectile->attach(model);
     110        model->setScale(5);
    111111
    112112        projectile->setOrientation(this->getMuzzleOrientation());
Note: See TracChangeset for help on using the changeset viewer.