Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 2:20:17 PM (17 years ago)
Author:
nicolasc
Message:

bump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/spike_thrower.cc

    r10252 r10256  
    7575{
    7676  this->registerObject(this, SpikeThrower::_objectList);
    77 
     77/*
    7878  Animation3D* animation1 = this->getAnimation(WS_ACTIVATING, this);
    7979  Animation3D* animation2 = this->getAnimation(WS_DEACTIVATING, this);
     
    8282  animation1->addKeyFrame(Vector(0, 0, 0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT);
    8383  animation2->addKeyFrame(Vector(0, 0, 0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT);
    84   animation2->addKeyFrame(Vector(0, -.5, 0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT);
    85 
     84  animation2->addKeyFrame(Vector(0, -.5, 0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT);*/
     85/*
    8686  animation1->setInfinity(ANIM_INF_CONSTANT);
    87   animation2->setInfinity(ANIM_INF_CONSTANT);
     87  animation2->setInfinity(ANIM_INF_CONSTANT);*/
    8888
    8989  this->setStateDuration(WS_SHOOTING, .6);
     
    9797
    9898  this->setCapability(WTYPE_ALLDIRS | WTYPE_TURRET | WTYPE_DIRECTIONAL | WTYPE_LIGHT);
    99   this->setProjectileTypeC("Spike");
     99  this->setProjectileTypeC("SpikeBall");
    100100
    101101//   this->loadModel("models/guns/turret1.obj", 1.0);
    102102
    103   this->setEmissionPoint(1.684, 0.472, 0);
     103  this->setEmissionPoint(2, 0, 0);
    104104  this->getProjectileFactory()->prepare(50);
    105105
    106   this->setActionSound(WA_SHOOT, "sound/explosions/explosion_1.wav");
    107   this->setActionSound(WA_ACTIVATE, "sound/vocals/missiles.wav");
    108   this->setActionSound(WA_RELOAD, "sound/vocals/reload.wav");
     106//   this->setActionSound(WA_SHOOT, "sound/explosions/explosion_1.wav");
     107//   this->setActionSound(WA_ACTIVATE, "sound/vocals/missiles.wav");
     108//   this->setActionSound(WA_RELOAD, "sound/vocals/reload.wav");
    109109
    110110}
Note: See TracChangeset for help on using the changeset viewer.