Changeset 10256 in orxonox.OLD for branches/playability/src/world_entities/weapons/spike_thrower.cc
- Timestamp:
- Jan 17, 2007, 2:20:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/spike_thrower.cc
r10252 r10256 75 75 { 76 76 this->registerObject(this, SpikeThrower::_objectList); 77 77 /* 78 78 Animation3D* animation1 = this->getAnimation(WS_ACTIVATING, this); 79 79 Animation3D* animation2 = this->getAnimation(WS_DEACTIVATING, this); … … 82 82 animation1->addKeyFrame(Vector(0, 0, 0), Quaternion(), 0.3, ANIM_LINEAR, ANIM_CONSTANT); 83 83 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 /* 86 86 animation1->setInfinity(ANIM_INF_CONSTANT); 87 animation2->setInfinity(ANIM_INF_CONSTANT); 87 animation2->setInfinity(ANIM_INF_CONSTANT);*/ 88 88 89 89 this->setStateDuration(WS_SHOOTING, .6); … … 97 97 98 98 this->setCapability(WTYPE_ALLDIRS | WTYPE_TURRET | WTYPE_DIRECTIONAL | WTYPE_LIGHT); 99 this->setProjectileTypeC("Spike ");99 this->setProjectileTypeC("SpikeBall"); 100 100 101 101 // this->loadModel("models/guns/turret1.obj", 1.0); 102 102 103 this->setEmissionPoint( 1.684, 0.472, 0);103 this->setEmissionPoint(2, 0, 0); 104 104 this->getProjectileFactory()->prepare(50); 105 105 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"); 109 109 110 110 }
Note: See TracChangeset
for help on using the changeset viewer.