Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6956 for code/branches


Ignore:
Timestamp:
May 21, 2010, 1:06:59 PM (15 years ago)
Author:
scheusso
Message:

further improvements

Location:
code/branches/rocket2/src/modules/weapons
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/rocket2/src/modules/weapons/RocketController.cc

    r6951 r6956  
    9494    {
    9595        this->target_ = target;
    96         COUT(0)<<"got target\n";
     96        CCOUT(4) << "got target" << endl;
    9797    }
    9898
     
    118118        //COUT(0)<<"  ";
    119119        //COUT(0)<<coord.y;
    120         this->getControllableEntity()->rotateYaw(-0.8f*sgn(coord.x)*coord.x*coord.x);
    121         this->getControllableEntity()->rotatePitch(0.8f*sgn(coord.y)*coord.y*coord.y);
     120        this->getControllableEntity()->rotateYaw(-sgn(coord.x)*coord.x*coord.x);
     121        this->getControllableEntity()->rotatePitch(sgn(coord.y)*coord.y*coord.y);
    122122//         this->getControllableEntity()->rotateYaw(10);
    123123//         this->getControllableEntity()->rotatePitch(0);
  • code/branches/rocket2/src/modules/weapons/projectiles/SimpleRocket.cc

    r6951 r6956  
    6464        if (GameMode::isMaster())
    6565       {
    66            this->setCollisionType(WorldEntity::Kinematic);
    67             this->setVelocity(0,0,100);
     66            this->setCollisionType(WorldEntity::Kinematic);
     67            //this->setVelocity(0,0,100);
    6868
    6969            Model* model = new Model(this);
  • code/branches/rocket2/src/modules/weapons/weaponmodes/SimpleRocketFire.cc

    r6951 r6956  
    4949        this->bParallelReload_ = false;
    5050        this->damage_ = 100;
    51         this->speed_ = 100;
     51        this->speed_ = 300;
    5252
    5353        this->setMunitionName("LaserMunition");
Note: See TracChangeset for help on using the changeset viewer.