Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2007, 9:53:07 AM (18 years ago)
Author:
nicolasc
Message:

some additional weapons, started weapons cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vs-enhencements/src/world_entities/weapons/rf_cannon.cc

    r10645 r10648  
    6767{
    6868
    69   this->loadModel("models/guns/rf_cannon.obj", 0.2);
     69  this->setScaling(.2);
     70
     71  this->loadModel("models/guns/rf_cannon.obj", this->getScaling());
    7072
    7173
     
    102104  }
    103105
    104   this->emissionPoint[0]->setRelCoor(Vector(1.02, 0.0, 0.15));
    105   this->emissionPoint[1]->setRelCoor(Vector(1.02, 0.09, 0.0));
    106   this->emissionPoint[2]->setRelCoor(Vector(1.02, 0.0, -0.15));
    107   this->emissionPoint[3]->setRelCoor(Vector(1.02, -0.09, 0.0));
     106  this->emissionPoint[0]->setRelCoor(Vector(4.1, 0.0, 0.75) * this->getScaling());
     107  this->emissionPoint[1]->setRelCoor(Vector(4.1, 0.45, 0.0) * this->getScaling());
     108  this->emissionPoint[2]->setRelCoor(Vector(4.1, 0.0, -0.75) * this->getScaling());
     109  this->emissionPoint[3]->setRelCoor(Vector(4.1, -0.45, 0.0) * this->getScaling());
    108110
    109111  Animation3D* animation2 = this->getAnimation(WS_ACTIVATING, this);
Note: See TracChangeset for help on using the changeset viewer.