Changeset 9998 in orxonox.OLD for branches/playability/src/world_entities/weapons/light_blaster.cc
- Timestamp:
- Dec 3, 2006, 7:40:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/light_blaster.cc
r9978 r9998 44 44 void LightBlaster::init() 45 45 { 46 //this->registerObject(this, LightBlaster::_objectList);47 48 // this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN);49 46 50 47 this->loadModel("models/guns/plasmadriver_#.obj", 1.0); 51 48 52 49 53 this->setStateDuration(WS_SHOOTING, 0.05); 50 this->setStateDuration(WS_SHOOTING, 0.05); // 20 Schuss pro Sekunde 54 51 this->setStateDuration(WS_RELOADING, 0); 55 52 this->setStateDuration(WS_ACTIVATING, .5); 56 53 this->setStateDuration(WS_DEACTIVATING, 1); 57 54 58 this->setEnergyMax(500 0);59 this->increaseEnergy(500 0);55 this->setEnergyMax(500); 56 this->increaseEnergy(500); 60 57 //this->minCharge = 2; 61 58
Note: See TracChangeset
for help on using the changeset viewer.