Changeset 10484 in orxonox.OLD for branches/playability/src/world_entities/weapons
- Timestamp:
- Jan 29, 2007, 5:07:24 PM (18 years ago)
- Location:
- branches/playability/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/heavy_blaster.cc
r10479 r10484 72 72 // this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN); 73 73 74 this->loadModel("models/guns/frag cannon.obj", .4);74 this->loadModel("models/guns/frag_cannon.obj", .4); 75 75 76 76 … … 85 85 86 86 this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav"); 87 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav");87 // this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 88 88 this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav"); 89 89 90 90 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT); 91 this->setProjectileTypeC("HBolt"); // FIXME temp project type until the blaste class exist 92 // this->setProjectileTypeC("SpikeBall"); // FIXME temp project type until the blaste class exist 91 this->setProjectileTypeC("HBolt"); 93 92 this->prepareProjectiles(5); 94 93 … … 96 95 this->setSegs(2); 97 96 this->activeBarrel = 0; 98 // this->init2();99 97 100 98 -
branches/playability/src/world_entities/weapons/light_blaster.cc
r10415 r10484 43 43 delete [] this->shootAnim; 44 44 delete [] this->objComp; 45 /*46 for(int j = 0; j < this->getSegs(); j++)47 {48 delete this->shootAnim[i][j];49 delete this->objComp[i][j];50 }51 delete this->shootAnim[i];52 delete this->objComp[i];53 delete this->emissionPoint[i];54 }*/55 45 56 // this->deconstr();57 // model will be deleted from WorldEntity-destructor58 46 } 59 47 … … 66 54 { 67 55 68 this->loadModel("models/guns/gat tling.obj", 0.333);56 this->loadModel("models/guns/gatling.obj", 0.333); 69 57 70 58 … … 79 67 80 68 this->setActionSound(WA_SHOOT, "sounds/guns/laser.wav"); 81 this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav");69 // this->setActionSound(WA_ACTIVATE, "sounds/voices/lasers.wav"); 82 70 this->setActionSound(WA_RELOAD, "sounds/spawn/alien_generator.wav"); 83 71 84 72 this->setCapability(WTYPE_ALLDIRS | WTYPE_DIRECTIONAL | WTYPE_LIGHT); 85 //this->setProjectileTypeC("RailProjectile"); // FIXME temp project type until the blaste class exist 86 this->setProjectileTypeC("LBolt"); // Working; FIXME: add textures 87 // this->setProjectileTypeC("Spike"); // Working; FIXME: add textures 73 this->setProjectileTypeC("LBolt"); 88 74 this->prepareProjectiles(100); 89 75
Note: See TracChangeset
for help on using the changeset viewer.