Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 3, 2006, 7:40:07 PM (17 years ago)
Author:
marcscha
Message:

multiple weapons, crosshair visibility → changelog

File:
1 edited

Legend:

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

    r9978 r9998  
    4444void LightBlaster::init()
    4545{
    46   //this->registerObject(this, LightBlaster::_objectList);
    47 
    48 //  this->model = (Model*)ResourceManager::getInstance()->load("models/guns/test_gun.obj", OBJ, RP_CAMPAIGN);
    4946
    5047  this->loadModel("models/guns/plasmadriver_#.obj", 1.0);
    5148 
    5249
    53   this->setStateDuration(WS_SHOOTING, 0.05);
     50  this->setStateDuration(WS_SHOOTING, 0.05);  // 20 Schuss pro Sekunde
    5451  this->setStateDuration(WS_RELOADING, 0);
    5552  this->setStateDuration(WS_ACTIVATING, .5);
    5653  this->setStateDuration(WS_DEACTIVATING, 1);
    5754
    58   this->setEnergyMax(5000);
    59   this->increaseEnergy(5000);
     55  this->setEnergyMax(500);
     56  this->increaseEnergy(500);
    6057  //this->minCharge = 2;
    6158
Note: See TracChangeset for help on using the changeset viewer.